Added ObjCanHearObjFix to ddraw.ini.

Added extra comment for CarChargingFix to ddraw.ini.
Edited the description of DisplayName in sfall-mods.ini because of the new BoxBarCount option.
Minor edits to hookscripts.txt.
This commit is contained in:
NovaRain
2018-08-19 00:33:10 +08:00
parent 032e1d13f3
commit 3062533492
4 changed files with 19 additions and 13 deletions
+4 -4
View File
@@ -401,7 +401,7 @@ This is fired after the default calculation is made.
Critter arg1 - Watcher object
Obj arg2 - Target object
int arg3 - Result of vanilla function: 1 - within perception range, 0 - otherwise
int arg4 - The type of the called hook: 1 - from the script function obj_can_see_obj, 2 - from the script function obj_can_hear_obj (need option CanHearObjFix enabled), 0 for all other cases
int arg4 - Type of hook: 1 - when being called from obj_can_see_obj script function, 2 when being called from obj_can_hear_obj script function (need to set ObjCanHearObjFix=1 in ddraw.ini), 0 for all other cases
int ret1 - overrides the returned result of the function: 0 - not in range (can't see), 1 - in range (will see if not blocked), 2 - forced detection (will see regardless, only used in obj_can_see_obj scripting function which is called by every critter in the game)
@@ -523,7 +523,7 @@ int ret1 - overrides the animation code (pass -1 if you want to skip the ani
-------------------------------------------
HOOK_EXPLOSIVETIMER (hs_explosivetimer)
HOOK_EXPLOSIVETIMER (hs_explosivetimer.int)
Runs after setting the explosive timer. You can override the result.
@@ -536,10 +536,10 @@ int ret2 - overrides the result of engine calculation: 0/1 - failure, 2/3 -
-------------------------------------------
HOOK_DESCRIPTIONOBJ (hs_descriptionobj)
HOOK_DESCRIPTIONOBJ (hs_descriptionobj.int)
Runs when using the examine action icon to display item description. You can override the description of the item.
An example usage would be to add additional parameters to the description.
An example usage would be to add an additional description to the item based on player's stats/skills.
Obj arg1 - the item