diff --git a/artifacts/scripting/README.txt b/artifacts/scripting/README.txt index 9831d690..8c766d99 100644 --- a/artifacts/scripting/README.txt +++ b/artifacts/scripting/README.txt @@ -3,13 +3,23 @@ This folder contains documentation about sfall scripting extensions. headers\ - folder contains sfall headers that you should #include in your scripts sfall.h - main sfall header, always include it define_extra.h - some additional preprocessor constants for vanilla engine stuff (proto offsets, etc.) - dik.h - DX scancodes constants for use with key_pressed function and HOOK_KEYPRESS - + define_lite.h - a lite version of official define.h + dik.h - DX scancodes constants for use with key_pressed function and HOOK_KEYPRESS + lib.arrays.h - procedures that will help you use arrays in their full: + - use them as stacks, sets + - easily compare, copy, slice, cut, add arrays + - display array contents (for debugging) + - save/load two-dimensional arrays to savegame in one command (e.g. arrays of objects) + lib.inven.h - fallout items manipulation functions + lib.math.h - a few simple functions for calculations + lib.strings.h - search in strings, join, repeat, etc. + lib.misc.h - misc stuff + sfall function notes.txt - incomplete reference for new opcodes sfall opcode list.txt - list of all sfall opcodes (w/o descriptions) hookscripts.txt - detailed manual for using hook scripts to modify engine behavior arrays.txt - manual for sfall arrays - -If you are/will be using sfall Script Editor, don't forget to check out new compiler documentation in ScriptEditor\docs\sslc_readme.txt, + +If you are/will be using sfall Script Editor, don't forget to check out new compiler documentation in ScriptEditor\docs\sslc_readme.txt, there are numerious new syntax features and extensions to SSL (Star-Trek Scripting language). - + diff --git a/artifacts/scripting/sfall function notes.txt b/artifacts/scripting/sfall function notes.txt index 98135206..cae7ec0f 100644 --- a/artifacts/scripting/sfall function notes.txt +++ b/artifacts/scripting/sfall function notes.txt @@ -54,7 +54,7 @@ show_iface_tag, hide_iface_tag and is_iface_tag_active relate to the boxes that get/set_bodypart_hit_modifier alter the hit percentage modifiers for aiming at specific bodyparts. Valid bodypart id's are from 0 to 8. Changes are not saved, and will reset to the defaults (or to the values specified in ddraw.ini if they exist) at each reload. -(re)set/get_critical_table are used for modifying the critical table. For details see 'http://Falloutmods.wikia.com/wiki/Critical_hit_tables'. Changes are not saved, and will reset to the defaults, (or to the contents of CriticalOverrides.ini, if it exists,) at each game reload. These function also require OverrideCriticalTable to be set to 1 in ddraw.ini. (Disabled by default, because it noticably increases loading times.) +(re)set/get_critical_table are used for modifying the critical table. For details see 'http://falloutmods.wikia.com/wiki/Critical_hit_tables'. Changes are not saved, and will reset to the defaults, (or to the contents of CriticalOverrides.ini, if it exists,) at each game reload. These function also require OverrideCriticalTable to be set to 1 in ddraw.ini. (Disabled by default, because it noticably increases loading times.) get/set_unspent_ap_bonus alter the AC bonus you receive per unused action point at the end of your turn in combat. To allow for fractional values, the value given if divided by 4. (Hence the default value is 4 and not 1.) get/set_unspent_ap_perk_bonus are similar, but effect the extra AC granted by the h2h evade perk. (The default value of this is also 4, equivalent to doubling the original bonus.)