NovaRain
552a2a185e
Refactored code in Arrays.cpp and fixed save_array() script function.
2019-09-24 16:50:50 +08:00
NovaRain
52290b09d2
Removed duplicate code from intface_redraw_ engine function
...
Minor edits to code/documents.
2019-09-14 08:56:05 +08:00
NovaRain
a6a8e2e42f
Backported HEROWIN, DIALOGVIEW, COUNTERWIN game mode flags from 4.x
...
Updated UI hotkeys example mod.
2019-09-13 08:09:07 +08:00
NovaRain
9693c0d439
Added "register_hook_proc_spec" script function
...
Updated documents to address the new function.
2019-09-12 22:23:02 +08:00
NovaRain
aa22575ec9
Backported optimization for global/hook scripts execution from 4.x
2019-09-11 13:18:20 +08:00
NovaRain
62f890d287
Removed the dependency of Body_Torso from Body_Uncalled hit modifier
...
Re-added BodyHit_Torso to ddraw.ini.
Reverted set_bodypart_hit_modifier function to pre-3.7.4 behavior.
2019-09-07 20:16:50 +08:00
NovaRain
20cb24b385
Fixed some args in HOOK_BARTERPRICE hook when trading with PM
...
And added a new argument to indicate trading with a party member.
Refactored register_hook/register_hook_proc with _WRAP_OPCODE.
2019-08-27 22:31:10 +08:00
NovaRain
071581effc
Replaced 'Take All' hotkey mod with UI hotkeys mod
...
Minor edits to code/documents.
2019-08-26 21:53:11 +08:00
NovaRain
99bc47e3f8
Minor edits to Message.cpp and define_extra.h.
2019-08-17 20:56:48 +08:00
NovaRain
07ff16af75
Added an additional 'Energy Weapon' flag to ext flags in weapon protos
...
* it forces the weapon to use EW skill regardless of its damage type.
Placed an object with PID 0x5000004 (corpse blood) to the lower z-layer
of the tile.
2019-08-16 15:17:59 +08:00
NovaRain
81ba15d451
Rewrote the code of force_encounter functions
...
Added a new flag to force_encounter_with_flags.
2019-08-12 21:12:28 +08:00
NovaRain
c0f9f142c4
Added a tweak for weapon perk modifier to AIBestWeaponFix
...
Minor edits to code/documents.
Updated version number.
2019-08-09 11:59:45 +08:00
NovaRain
5ccd1534f4
Added "metarule_exist" script function.
...
Limited the maximum number of extra game msg files to 4096 (from 4.x).
Code edit to Message.cpp and ScriptUtils.hpp.
2019-06-14 23:32:01 +08:00
NovaRain
6db496e66c
Code edits to Perks.cpp/PerksOp.hpp/ScriptExtender.cpp.
2019-05-27 12:10:34 +08:00
NovaRain
2c7548f164
Fixed getting perks/traits from the real dude_obj while controlling other NPCs.
...
Added "real_dude_obj" script function and updated documents.
2019-05-22 12:59:27 +08:00
NovaRain
5353ab0ad6
Backported the code of four hookscripts from 4.x.
...
* FINDTARGET, BARTERPRICE, WITHINPERCEPTION, and INVENTORYMOVE. For
unifying the behavior of common hooks between 3.8 and 4.x.
Added the example script of WITHINPERCEPTION from 4.x.
Updated gl_highlighting_lite.
2019-05-14 11:42:21 +08:00
NovaRain
f7fa62a078
Refactored the code in Tiles.cpp.
...
Removed the font check in create_message_window script function.
2019-05-11 10:04:47 +08:00
NovaRain
2059a3da8c
Backported 3 script functions from 4.1:
...
* dialog_obj, loot_obj, and npc_engine_level_up.
2019-05-08 21:04:18 +08:00
NovaRain
3c255085ed
Replaced ASM code in various opcodes with macros (from Mr.Stalin)
...
Unified the directory separator in documents.
Updated version number.
2019-04-30 10:38:39 +08:00
NovaRain
7500e6b637
Updated set_unique_id defines in sfall.h.
2019-04-24 20:26:26 +08:00
NovaRain
854adc2afc
Reverted some changes in previous commit.
...
* Now weapons with knockback modifiers applied still stack with others
in the inventory.
2019-04-17 10:34:13 +08:00
NovaRain
0c8794661c
Further implementation of unique ID.
...
* weapons with knockback modifiers applied will have a special ID
(negative value) that work as a temporary UID for the current game
session.
Added checks on object types to functions in Combat module.
Added the second argument to set_unique_id script function.
2019-04-16 20:53:41 +08:00
NovaRain
6791b15af1
Added "set_unique_id" script function.
...
Minor edit to Perks.cpp.
Added DevXP config to project files.
2019-04-14 07:35:52 +08:00
NovaRain
ff4f5d7e73
Updated proto offsets in define_extra.h.
...
Minor edit to HookScripts.cpp.
2019-04-10 09:50:59 +08:00
NovaRain
564c48354a
Backported the code of AmmoCost hook from 4.x.
...
* Mainly for fixing the issues with CheckWeaponAmmoCost. Because it's
easier to backport the whole set of code than working on the old
implementation. Shouldn't affect the performance much.
Also backported the CheckWeaponAmmoCost code from 4.x.
Updated hookscripts.txt to reflect the change.
Now the debug editor starts at the center of the screen.
2019-04-09 09:53:56 +08:00