phobos2077
|
203dcdf6be
|
Refactor adjust_fid function, make it compatible with NPC control, Hero Appearance and NPC Armor appearance mods
|
2017-04-01 00:20:00 +07:00 |
|
phobos2077
|
34500d9dd5
|
Replace adjust_fid engine function with C++ implementation
|
2017-03-31 20:55:45 +07:00 |
|
phobos2077
|
cbe987df25
|
First prototype of armor appearance mod (hook-based)
- Add test version of gl_npcarmor script with config file for FO2 RP
- Add some useful scripting headers
- Add new scripting functions to sfall.h
|
2017-03-30 01:20:44 +07:00 |
|
NovaRain
|
7dcef6f4b2
|
Replaced some address hacks with simplified ones (e.g. using jumps in stead of multiple NOPs), to be in line with the changes in 3.8 branch (commit 16be32d284)
|
2017-03-28 10:11:38 +08:00 |
|
phobos2077
|
5dadba6e56
|
Better solution for NPC inventory FID: skip reading from proto, use existing art instead (partially fixes incompatibility with armor appearance mod);
Fixed conflict with HeroAppearance mod (assumed adjust_fid was always called for "real" Dude)
|
2017-03-28 02:49:55 +07:00 |
|
phobos2077
|
b592d6bdbe
|
PartyControl: added fix for displaying proper NPC art in inventory screens (not taking armor into account - like vanilla game); removed redundant SetInventoryCheck function; minor refactoring (not compatible with current scripted implementation of NPC armor appearance mod)
|
2017-03-28 01:26:40 +07:00 |
|
phobos2077
|
0fe6c2a426
|
Fixed crash after barter
|
2017-03-27 23:42:34 +07:00 |
|
phobos2077
|
32564d64d1
|
Added scripting functions for reading INI sections
|
2017-03-27 04:07:16 +07:00 |
|
phobos2077
|
897f1ab323
|
Fixed bug and added description for new scripting function #17
|
2017-03-27 00:58:06 +07:00 |
|
phobos2077
|
4e3168e2e3
|
Added function set_dude_obj to take control of any critter at any time [EXPERIMENTAL] #17
|
2017-03-27 00:18:27 +07:00 |
|
phobos2077
|
8a65172927
|
Minor refactoring of PartyControl
|
2017-03-27 00:17:37 +07:00 |
|
phobos2077
|
778230dde1
|
Added item_weight script function;
Return -1 on metarule argument validation error (to match normal opcodes) #63
|
2017-03-26 23:16:35 +07:00 |
|
phobos2077
|
6a78206c2e
|
Added SafeWriteBatch function for writing the same value to a list of addresses;
Rewrite AnimationsAtOnceLimit: get rid of redundant loops and unsafe heap allocations
|
2017-03-26 22:06:27 +07:00 |
|
phobos2077
|
c519fb6fb6
|
Replaced all usages of MakeCall with 3 arguments with either MakeJump or MakeCall (2 arguments) - code readability.
|
2017-03-26 20:10:44 +07:00 |
|
phobos2077
|
96fa2668cc
|
Reduce duplication in HookScripts's hooking code using HookCalls; Added function MakeJump to improve code readability
|
2017-03-26 20:00:49 +07:00 |
|
phobos2077
|
c32dc7664e
|
Added new modes for get_game_mod to match Crafty's; implemented HookCalls function to reduce code duplication #66
|
2017-03-26 19:41:04 +07:00 |
|
NovaRain
|
945f4696d7
|
Fixed anim_set_end_hack() only gets called when applying AnimationsAtOnceLimit patch. It should be always called regardless of AnimationsAtOnceLimit setting.
|
2017-03-23 20:46:14 +08:00 |
|
phobos2077
|
f2243f2874
|
Added definitions for AnimationSet structures (based on Crafty's work); refactor Proto struct definitions, added a couple of static asserts for safety
|
2017-03-23 01:57:06 +07:00 |
|
phobos2077
|
52e24a4dd4
|
Added a hack from Crafty that allows to use reg_anim_animate() inside combat_p_proc without game hanging in eternal loop #75
|
2017-03-23 01:13:49 +07:00 |
|
NovaRain
|
1644ca437c
|
Fixed vanilla to-hit calculation being broken by the previous TOHIT hook commit.
|
2017-03-20 13:56:03 +08:00 |
|
NovaRain
|
4482630f9a
|
Updated credits.
Unified the wording of some log entries.
|
2017-03-19 08:32:47 +08:00 |
|
phobos2077
|
7bbe84feef
|
Fixed TOHIT hook issues: added 3 missing hook arguments, fixed incorrect attack type argument being passed to vanilla function, thus potentially breaking vanilla to hit calculations, even when not using any scripts at all
|
2017-03-18 21:45:28 +07:00 |
|
phobos2077
|
c83fe0690b
|
Merge branch 'develop' of https://github.com/phobos2077/sfall into develop
|
2017-03-18 20:26:11 +07:00 |
|
phobos2077
|
76e32e1bef
|
InputFuncs: added OnMouseClick delegate, moved debug editor related code into new module;
HookScripts: added check for map being loaded in MouseClick hook, minor renaming.
|
2017-03-18 20:23:34 +07:00 |
|
NovaRain
|
92c599e1a2
|
Fixed incorrect "\r\r\n" being printed in sfall-log.txt.
Simplified Jet Antidote fix.
Changed sprintf with _snprintf_s for SimplePatch to prevent warning C4995 when compiling with v140_xp toolset.
|
2017-03-18 21:12:28 +08:00 |
|