NovaRain
e389bb0dc5
Fixed bugs in the hero appearance mod:
...
* gender was not reset properly when creating a new character (#309 )
* the player was missing some fire/electrical death animations (#310 )
2020-06-14 09:25:57 +08:00
NovaRain
94296b40d8
Moved static addresses into respective funcs in Stats.cpp
2020-06-13 00:24:13 +08:00
NovaRain
fab5aa2f2f
Fixed Auto Doors example script mod
...
Cosmetic changes to the text descriptions in Perks.ini.
2020-06-13 00:14:44 +08:00
NovaRain
703073e255
Increased the max width of the player name on the char screen ( #305 )
...
Updated version number.
2020-06-04 06:38:48 +08:00
NovaRain
d888161128
Some bug fixes regarding multihex critters in shoot blocking
2020-05-24 11:30:32 +08:00
NovaRain
b263b69fa3
Renamed all script opcode handlers with op_ prefix
...
Renamed all metarule functions with mf_ prefix.
2020-05-20 11:30:25 +08:00
NovaRain
6bb56b0f95
Minor code fixes in AI.cpp:
...
* Fixed NPCs being unable to select a burst attack mode if the line of
fire was blocked.
* Changed the return point of combat_ai_hook_FleeFix to run
ai_check_drugs_ first.
Changed the debug message about missing art file for critters to be
displayed in game only when in sfall debugging mode.
2020-05-19 09:48:46 +08:00
NovaRain
c89a18522d
Fixed ai_move_away_ engine function
...
Some minor fixes.
2020-05-10 09:56:11 +08:00
NovaRain
c7ccb7f2c2
Edited the msg for SkipLoadingGameSettings a bit
...
Added a few more defines.
2020-05-08 10:44:37 +08:00
NovaRain
b25ca683f3
Cosmetic changes to the code:
...
Use double underscore for stdcall and "asm" keyword.
2020-05-07 12:27:53 +08:00
NovaRain
e28b3a5796
Minor code edits to Combat.cpp
...
Added some function defines.
2020-05-07 12:13:28 +08:00
NovaRain
a9c74501df
Added checking AP cost to ai_pick_hit_mode_ engine function
2020-05-07 09:47:57 +08:00
NovaRain
b03b93d6fc
Added a tweak for finding new targets for PMs
...
* before they would "forget" their current target when trying to find
new ones (only 3), now the current target is included as one of
potential targets.
Tweaked the code of MultiHexPathingFix.
2020-05-05 12:13:11 +08:00
NovaRain
1f696b9f12
Added internal implementation of engine functions with hooks:
...
* item_w_mp_cost_ with CALCAPCOST
* is_within_perception_ with WITHINPERCEPTION
2020-05-01 10:27:05 +08:00
NovaRain
3d2d1cdf2a
Added combat rating check to "Snipe" distance preference fix
2020-05-01 08:00:49 +08:00
NovaRain
42347ac062
Added a fix to reduce friendly fire in burst attacks (experimental)
2020-04-30 16:01:57 +08:00
NovaRain
007b415740
Changed the priority of files in AutoSearchPath
...
* now they have higher priority than the PatchFileXX options.
Minor code edits/fixes.
2020-04-30 10:13:44 +08:00
NovaRain
35d2491bcb
Added a fix for AI behavior for "Snipe" distance preference
...
Added a check for for the weapon range and the distance to the target
when AI is choosing weapon attack modes.
2020-04-28 10:55:56 +08:00
NovaRain
ece76ee726
Changed the fix for AI target selection in commit f731de7
...
* NPCs will reload the weapon in the same turn (and attack if have
enough AP left) if weapon is empty while selecting targets.
Misc code edits.
2020-04-27 14:25:40 +08:00
NovaRain
d6f4a23527
Fixed AllowDShowSound=2 not working
...
Limited NumSoundBuffers to the max of 32.
Fixed replacing Body_Torso with Body_Uncalled (from commit 7e31713 )
Corrected the code in the previous commit.
2020-04-23 12:33:00 +08:00
NovaRain
045ad2f5d7
Added a tweak to the miss message in combat
...
* if the main target has Flat flag set, remove the message about hitting
another object.
Minor code edits to DebugEditor.cpp & MiscPatches.cpp.
2020-04-22 11:32:03 +08:00
NovaRain
13703f1a3b
Improved the fix for placing PID_CORPSE_BLOOD obj on the lower layer
...
(didn't work correctly after re-entering the map.)
Fixed CorpseDeleteTime not setting the timer correctly.
2020-04-21 10:54:35 +08:00
NovaRain
58bb77d79f
Fixed GvarID option behavior in Drugs.ini
...
Reverted incorrect code change of SpeedPatch.cpp in previous commit.
Some code edits to Explosions.cpp and Perks.cpp.
2020-04-19 09:58:47 +08:00
NovaRain
229371e4ab
Added use_item_on_dude macro to sfall.h
...
Various code edits:
* Implemented more HookCalls/MakeCalls/SafeWriteBatch in code.
* Moved return/jump address consts into their respective functions.
* Changed for-loop with iterators to use pre-increment.
2020-04-18 21:19:22 +08:00
NovaRain
1884e279c7
Fixed ReloadWeaponKey for using any non-weapon item ( #84 )
2020-04-18 10:44:17 +08:00