NovaRain
ff1c87f0c5
Updated gl_compute_damage example script from 4.x
...
* with script-based YAAM implementation.
Sync header changes with develop branch.
Changed AttackSubType enum "GUNS" to "RANGED".
(to be in line with define_extra.h, the naming is from RE/CE.)
2023-05-15 12:16:23 +08:00
NovaRain
66c0ed8cb2
Updated some defines
...
- ATKMODE defines removed to avoid confusion - these are really two 4-bit fields, not bit flags!
2023-05-14 08:24:02 +08:00
NovaRain
f3bbfbfa28
Sync header changes with develop branch
2023-05-08 17:30:09 +08:00
NovaRain
736c2cb6fe
Backported "item_make_explosive" script function
...
Updated documents for the function.
Removed deprecated "register" keyword.
2023-03-10 21:08:05 +08:00
NovaRain
67b46cd4a6
Backported three more hooks from 4.1:
...
* USESKILLON, ONEXPLOSION, SETLIGHTING.
Backported PartyMemberSkillFix option from 4.1.
Updated documents.
2022-12-01 08:41:05 +08:00
NovaRain
bb13e3f219
Backported 5 game hooks from 4.1/4.2:
...
* SNEAK, STDPROCEDURE, STDPROCEDURE_END, TARGETOBJECT, ENCOUNTER.
Updated documents and example mods.
2022-11-29 14:27:10 +08:00
NovaRain
7ecdfe362f
Backported three game hooks from 4.1:
...
* USEANIMOBJ, EXPLOSIVETIMER, DESCRIPTIONOBJ
Updated documents and example mods
2022-11-27 09:27:46 +08:00
NovaRain
4f34217625
Backported game hooks from 4.0.x
...
* COMBATTURN is not implemented.
Updated documents.
2022-11-26 09:57:01 +08:00
NovaRain
f94cadf767
Backported rest related script functions from 4.x
...
* set_rest_heal_time, set_rest_mode, get/set_can_rest_on_map
2022-09-20 09:14:08 +08:00
NovaRain
aea263eddd
Backported "dialog_message" script function
...
Updated documents for the function.
2022-08-19 09:12:48 +08:00
NovaRain
d8fafa85a9
Added support for editor.msg to message_str_game
...
Edits to header files.
2022-08-09 08:14:04 +08:00
NovaRain
e70005dbd5
Added "get_terrain_name" script function
...
Updated documents for the function.
Minor edits to other code.
2022-06-14 21:09:31 +08:00
NovaRain
0ab0a592b4
Reverted the previous commit and added "obj_is_openable" function
...
* the previous commit conflicts with BIS document.
2021-10-08 09:41:25 +08:00
NovaRain
5c1cccae8f
Backported "set_scr_name" script function from 4.x
...
Updated documents for the function.
Changed some make_pair to bare pair for map insertion.
2021-10-05 22:04:12 +08:00
NovaRain
4ed512855e
Added a fix to display the color index 255 of the palette correctly
...
* in DX9 mode when using the hi-res patch
Some minor code corrections.
2021-09-12 14:41:08 +08:00
NovaRain
806cc765bb
Added an additional '"Can't Use" flag to misc flags in item objects
...
* it makes the weapon object unusable in combat.
Updated gl_npcarmor script.
Edits to header files and hookscripts.md.
2021-09-03 21:30:12 +08:00
NovaRain
6b34303268
Code edits to ExtraSaveSlots.cpp
...
* the page numbering is now 0-indexed, to better align with the macros.
Re-numbered save slot control metarules.
2021-08-13 10:58:55 +08:00
NovaRain
cc29d548fe
Changed the implementation of AutoQuickSave
...
* now it sets the number of pages used for quick saving.
Added related macros for controlling the save slot with scripts.
2021-08-12 15:24:13 +08:00
NovaRain
043d790a75
Removed "proto_exists" function in previous commit
...
Added macro for checking pid.
2021-05-26 08:48:06 +08:00
NovaRain
989feb1c65
Added "proto_exists" script function
...
Updated gl_auto_closebox example script.
2021-05-25 12:58:03 +08:00
NovaRain
e441d405b5
Added "set_quest_failure_value" script function
2021-03-24 21:22:18 +08:00
NovaRain
21b88c3cf0
Backported HOOK_ADJUSTFID from 4.2
2021-01-29 23:03:26 +08:00
NovaRain
cf90437b71
Backported HOOK_GAMEMODECHANGE from 4.2
...
Backported SPECIAL game mode flag from 4.2
2021-01-10 21:45:50 +08:00
NovaRain
43a2fc93cc
Modified some of the mechanics of "interface_overlay" function
...
Changed "intface_redraw" with one argument to redraw the specified
interface window.
2020-12-25 14:51:31 +08:00
NovaRain
26a2338038
Added "interface_overlay" script function
...
* for creating an additional overlay on the top of the interface window.
(document WIP)
2020-12-23 11:58:29 +08:00