NovaRain
bc2dabc461
Removed redundant function from NPC combat control and tidied up a bit.
2018-07-11 10:03:03 +08:00
NovaRain
08b5e3a769
Improved the functionality of NPC combat control mod ( #179 )
...
* centers the screen on controlled critter.
* removes roof tiles to show controlled critter properly.
* additional options to display the name of controller critter.
2018-07-10 12:05:15 +08:00
NovaRain
09c9c5cce0
Added the description of HOOK_EXPLOSIVETIMER to hookscripts.txt.
...
Edited the example script.
Updated version number.
2018-07-10 06:09:23 +08:00
Mr.Stalin and NovaRain
b4b1698345
Added new HOOK_EXPLOSIVETIMER ( #175 )
2018-07-10 06:00:04 +08:00
NovaRain
2a20209bb8
Added "inventory_redraw" script function (from Mr.Stalin)
2018-07-08 00:30:26 +08:00
NovaRain
84c7ac0536
Added InjectAllGameHooks to [Debugging] section in ddraw.ini.
2018-07-05 21:52:53 +08:00
Mr.Stalin
46f8820ecf
Refactoring some hooks.
2018-07-04 21:55:52 +03:00
NovaRain
5d4b8fdd7b
Added info for new HOOK_AMMOCOST arguments to hookscripts.txt.
2018-07-03 09:38:07 +08:00
Mr.Stalin and NovaRain
44603174dd
Refactoring combat hooks ( #174 )
...
* Fixed and improved the functionality of HOOK_AMMOCOST when CheckWeaponAmmoCost is enabled.
* Fixed the instant death critical fix not working if there's no script using HOOK_COMBATDAMAGE, due to the new hooks injection implementation.
2018-07-03 09:34:47 +08:00
Mr.Stalin
d37fbd8390
Implementation detect conflict address for debug mode ( #10 ).
2018-07-02 20:19:21 +03:00
NovaRain
2f22a1e982
Edited the description of HOOK_USEANIMOBJ in hookscripts.txt.
...
Removed obsoleted WIN2K preprocessor define.
Updated version number.
2018-06-25 22:12:42 +08:00
NovaRain and GitHub
3f03cf3c18
Merge pull request #171 from FakelsHub/devHook/UseObjectMap
...
* Added new HOOK_USEANIMOBJ.
* Moved some hooks code from MiscHs.cpp to ObjectHs.cpp.
2018-06-25 22:04:18 +08:00
NovaRain
1b3b5dc523
Fixed premature assignment of arguments before the beginning of the hooks in InventoryHs.cpp. ( #173 )
...
(cherry picked from commit fff48407c3 )
Updated version number.
v4.0.6
2018-06-24 12:36:01 +08:00
Mr.Stalin and NovaRain
fff48407c3
Fix of premature assignment of arguments before the beginning of the hook. ( #173 )
2018-06-24 09:56:29 +08:00
Mr.Stalin
841e741e91
Fixed calls BeginHook() procedures.
2018-06-24 00:24:27 +03:00
Mr.Stalin
d4a501d813
Hook is renamed to HOOK_USEANIMOBJ.
2018-06-20 21:21:46 +03:00
Mr.Stalin and NovaRain
5e056f1743
Fixed the drop event for Hook_InventoryMove when dropping an active explosive item on the ground. ( #170 )
...
When an armed explosive is dropped from the inventory, the dropped_explosive engine variable is set. If the drop is canceled by scripting, the variable will still be set to 1 without the fix.
2018-06-20 22:26:05 +08:00
Mr.Stalin
35a94b5418
Refactoring: Moving some hooks code from MiscHs.cpp to ObjectHs.cpp
2018-06-19 21:48:18 +03:00
Mr.Stalin
7eaef76f6f
Added new script hook HOOK_USEOBJECTMAP.
2018-06-19 21:40:27 +03:00
Mr.Stalin and NovaRain
30002664ef
Implemented an injection system for hook scripts. ( #168 )
...
* Before the code of hooks was always executed even if there's no corresponding hook script, just passing through and doing nothing. Now the code of a hook only gets injected into the game when the corresponding hook script exists.
2018-06-19 14:31:35 +08:00
NovaRain
c2f7e38a43
Added KeepWeaponSelectMode option to ddraw.ini.
2018-06-19 06:03:36 +08:00
Mr.Stalin and NovaRain
8a5674f2d9
Added the option to keep the selected attack mode for the weapon when the weapon moves to another slot of the hand. ( #166 )
2018-06-19 06:01:43 +08:00
NovaRain
8c2483a289
Merge branch 'develop'
v4.0.5
2018-06-12 21:01:12 +08:00
NovaRain
e14ac89463
Added more info to the comments of various keys in [Input] section of ddraw.ini.
2018-06-12 20:52:03 +08:00
Mr.Stalin and NovaRain
d5a38eb3aa
Fix for inventory moving hook - an item drop into container when it is in the slot of the hands. ( #167 )
2018-06-12 12:13:42 +08:00