NovaRain
bbe9a2d26d
Added "get_text_width" and "string_compare" script functions
...
Rewrote set_dm/df_model, set_movie_path functions with WRAP_OPCODE.
2019-11-23 20:32:57 +08:00
NovaRain
3348d8b716
Backported "draw_image" and "draw_image_scaled" functions from 4.1
2019-11-19 20:51:22 +08:00
NovaRain
04ebbaa182
Added three new script window functions:
...
"show_window", "hide_window", "set_window_flag"
Updated documents.
2019-11-17 08:40:18 +08:00
NovaRain
3c5dc6853a
Added "get_sfall_arg_at" script function
...
Improved the functionality of "inventory_redraw" function.
2019-11-16 22:54:09 +08:00
NovaRain
a70a776e46
Tweaked/fixed reg_anim_callback function
2019-11-15 10:01:39 +08:00
NovaRain
83c3d6b1a8
Added "reg_anim_callback" script function(opcode)
...
Updated documents.
2019-11-14 13:02:10 +08:00
NovaRain
6a566087ca
Implemented executing timed_event_p_proc in sfall global scripts
...
Added "add_g_timer_event" and "remove_timer_event" script functions
for timed_event_p_proc in global scripts.
Fixed the check on the 'hidden' flag for previous commit.
2019-11-11 10:01:38 +08:00
NovaRain
ee711d8f81
Added "get_inven_ap_cost" script function
2019-11-02 10:26:28 +08:00
NovaRain
d26a06872a
Backported the advanced BarBoxes features from 4.x:
...
* Added BoxBarCount option.
* Added "set_iface_tag_text" and "add_iface_tag" script functions.
* Now number of simultaneously displayed boxes depends on game res.
* Updated documents.
2019-11-01 21:14:03 +08:00
NovaRain
3ef6056a77
Added "add_trait" script function
...
Replaced some C-style casting with pre-defined ptr_* variables.
2019-10-20 19:31:08 +08:00
NovaRain
37acec7115
Added "unwield_slot" script function
...
Re-fixed obj_art_fid for player's FID (commit 36523d8 )
2019-10-08 10:56:49 +08:00
NovaRain
5cfd5f99e3
Moved object unique id code from ScriptExtender to new Objects.cpp/h
...
Backported set_unjam_locks_time function from 4.0.
2019-10-07 09:36:46 +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
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
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
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
20746abba2
Fixed range for object ID.
...
Minor edits to documents.
2019-03-16 08:53:20 +08:00
NovaRain
2ce1c0f36e
Fixed inconsistent return value of get_npc_level.
...
Some edits to documents.
2019-02-25 12:32:56 +08:00
NovaRain
76f2301b6c
Minor edits to speed tweak and documents.
2019-02-10 09:56:28 +08:00
NovaRain
8e0ccc576c
Fixed pickup_obj/drop_obj/use_obj script functions (from Mr.Stalin)
...
Fixed a crash when calling use_obj/use_obj_on_obj functions without using set_self in global scripts.
2019-01-25 00:31:23 +08:00
NovaRain
9765396b08
Fixed set_self function for use_obj_on_obj, attack, attack_complex vanilla functions (from Mr.Stalin) ( #214 )
2019-01-22 09:47:19 +08:00