phobos2077
|
fef690c2c2
|
Merge branch 'feature/armor-appearance' into develop
|
2017-04-01 02:21:58 +07:00 |
|
phobos2077
|
5bbdcbd2db
|
Added final version of NPC armor appearance script, compatible with both HeroAppearance mod and set_dude_obj (NPC control) function #82
|
2017-04-01 02:21:12 +07:00 |
|
phobos2077
|
24e9dde577
|
Add missing code for real_dude_obj
|
2017-04-01 02:15:09 +07:00 |
|
phobos2077
|
029419db3d
|
Added real_dude_obj scripting function, useful for checking if currently controlling NPC or "real" character
|
2017-04-01 02:14:27 +07:00 |
|
phobos2077
|
6e0fe881df
|
Added new hook script for controlling FID of character figure on inventory screen
|
2017-04-01 02:12:20 +07:00 |
|
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 |
|