Releases: sfall-team/sfall
Releases · sfall-team/sfall
sfall 4.2.2
Changelog:
- Fixed
GAMEMODECHANGE
hook being triggered in dialog even when the game mode is not changed - Fixed the return value of
charcode
script function for characters in the extended ASCII character set - Fixed the return value of
get_script
script function - Fixed and improved the functionality of
substr
script function - Restored and fixed RemoveWindowRounding option that was removed in 4.1.2
- Improved the functionality of
inventory_redraw
script function - Changed the way IniConfigFolder works. Now the game will search for ini files relative to the specified directory
- Changed the debug message about a missing critter art file to also be displayed in the game
- Code refactoring for various script functions
- Added a fix to prevent the player from moving when clicking on a script-created window and prevent the mouse cursor from being toggled when hovering over a 'hidden' window
- Added a fix to prevent crashes when DebugMode is enabled and there is a
%
character in the printed message - Added an option to load a global shader file at game startup and added an example global shader file to the modders pack
- Added support for executing the
timed_event_p_proc
procedure in global scripts - Added
SPECIAL
flag to the game mode functions (when switching from dialog mode to barter mode, or a party member joins/leaves in the dialog screen) - Added a new argument to
HOOK_GAMEMODECHANGE
hook script - New game hook:
HOOK_STDPROCEDURE_END
, as an extension toHOOK_STDPROCEDURE
hook script - New script functions:
add_g_timer_event
,remove_timer_event
,reg_anim_callback
,get_sfall_arg_at
,hide/show_window
,set_window_flag
,get_text_width
,string_compare
,string_format
,objects_in_radius
,tile_by_position
- New hook script:
hs_targetobject
sfall 3.8.22
Changelog:
- Fixed and improved the functionality of
substr
script function - Restored and fixed RemoveWindowRounding option that was removed in 3.8.12
- Improved the functionality of
inventory_redraw
script function - Changed the return value of
get_script
script function from -1 to 0 for unscripted objects - Changed the debug message about a missing critter art file to also be displayed in the game
- Code refactoring for various script functions
- Added a fix to prevent the player from moving when clicking on a script-created window and prevent the mouse cursor from being toggled when hovering over a 'hidden' window
- Added a fix to prevent crashes when DebugMode is enabled and there is a
%
character in the printed message - Added an option to load a global shader file at game startup and added an example global shader file to the modders pack
- Added an option to highlight lootable corpses as well as items
- Added support for executing the
timed_event_p_proc
procedure in global scripts - Backported script functions from 4.1:
draw_image
,draw_image_scaled
- New script functions:
add_g_timer_event
,remove_timer_event
,reg_anim_callback
,get_sfall_arg_at
,hide/show_window
,set_window_flag
,get_text_width
,string_compare
,string_format
,objects_in_radius
,tile_by_position
sfall 4.2.1.1
sfall 4.2.1
Changelog:
- Fixed a bug in
save_array
script function that could corruptsfallgv.sav
when saving a new array under the same key - Fixed a crash bug in PremadePaths when a name exceeds 11 characters
- Fixed
move_obj_inven_to_obj/drop_obj
script functions not removing the equipped armor properly for the player and party members - Fixed
inven_unwield
script function not updating the active item button on the interface bar for the player - Fixed
art_change_fid_num
script function not setting player's FID correctly when the hero appearance mod is enabled - Fixed
critter_add/rm_trait
script functions ignoring the 'amount' argument. Note: pass negative amount values tocritter_rm_trait
to remove all ranks of the perk (vanilla behavior) - Fixed the xp bonus set by
set_swiftlearner_mod
script function not being reset on game load - Fixed the player name while controlling other critters
- Fixed NPC combat control mod not removing the inherited perks from controlled critters properly
- Improved the display of the car fuel gauge on the world map interface
- Improved the hero appearance mod to search for files in .dat files and folders simultaneously
- Improved
HOOK_INVENWIELD
hook script to run for the player and NPCs when removing equipped items, and added a new argument to it - Expanded
set_critter_stat
script function to allow changing the base stats ofSTAT_unused
andSTAT_dmg_*
for the player, andSTAT_unused
for other critters - Changed AllowUnsafeScripting to not require sfall debugging mode
- Removed NPCStage6Fix and CorpseLineOfFireFix from
ddraw.ini
because there is little reason to turn them off - Added a fix to prevent the player from equipping a weapon when the current appearance has no animation for it
- Added a fix to use 'English' as the fallback language directory for loading msg files
- Added a fix for party member's equipped weapon being placed in the incorrect item slot after leveling up
- Added a new value to AIBestWeaponFix to change the priority multiplier for having weapon perk to 3x (the original is 5x)
- Added a new flag to MainMenuFontColour to only change the font color of the Fallout/sfall version text
- Added optional options to enable modification sections for perks and traits to the perks ini file
- Added support for displaying AP cost up to 19 on the active item button on the interface bar
- Added a check for valid objects to
get/set_object_data
script functions - Added a debug message about a missing critter art file to DebugMode
- New script functions:
unwield_slot
,add_trait
,get_inven_ap_cost
- Updated NPC armor appearance mod and added an alternative
npcarmor.ini
for vanilla Fallout 2 (in the modders pack)
sfall 3.8.21
Changelog:
- Fixed a bug in
save_array
script function that could corruptsfallgv.sav
when saving a new array under the same key - Fixed a crash bug in PremadePaths when a name exceeds 11 characters
- Fixed potential crashes in
list_next/end
script functions - Fixed
move_obj_inven_to_obj/drop_obj
script functions not removing the equipped armor properly for the player and party members - Fixed
inven_unwield
script function not updating the active item button on the interface bar for the player - Fixed
art_change_fid_num
script function not setting player's FID correctly when the hero appearance mod is enabled - Fixed
critter_add/rm_trait
script functions ignoring the 'amount' argument. Note: pass negative amount values tocritter_rm_trait
to remove all ranks of the perk (vanilla behavior) - Fixed the xp bonus set by
set_swiftlearner_mod
script function not being reset on game load - Fixed the player name while controlling other critters
- Improved the display of the car fuel gauge on the world map interface
- Improved the hero appearance mod to search for files in .dat files and folders simultaneously
- Improved
HOOK_INVENWIELD
hook script to run for the player and NPCs when removing equipped items, and added a new argument to it - Expanded
set_critter_stat
script function to allow changing the base stats ofSTAT_unused
andSTAT_dmg_*
for the player, andSTAT_unused
for other critters - Changed AllowUnsafeScripting to not require sfall debugging mode
- Removed NPCStage6Fix and CorpseLineOfFireFix from
ddraw.ini
because there is little reason to turn them off - Added a fix to prevent the player from equipping a weapon when the current appearance has no animation for it
- Added a fix to use 'English' as the fallback language directory for loading msg files
- Added a fix for party member's equipped weapon being placed in the incorrect item slot after leveling up
- Added a new value to AIBestWeaponFix to change the priority multiplier for having weapon perk to 3x (the original is 5x)
- Added a new flag to MainMenuFontColour to only change the font color of the Fallout/sfall version text
- Added an option to set the number of additional notification boxes to the interface
- Added optional options to enable modification sections for perks and traits to the perks ini file
- Added support for displaying AP cost up to 19 on the active item button on the interface bar. This requires an extended
MVENUM.frm
file (included in the modders pack) in theart\intrface\
directory - Added a check for valid objects to
get/set_object_data
script functions - Added a debug message about a missing critter art file to DebugMode
- The number of simultaneously displayed notification boxes now depends on the game resolution
- Backported script functions from 4.0/4.1:
set_unjam_locks_time
,set_iface_tag_text
,add_iface_tag
- New script functions:
unwield_slot
,add_trait
,get_inven_ap_cost
sfall 4.2
Changelog:
- Fixed a bug in XPTable that prevented the player from reaching the highest specified level
- Fixed
create_message_window
script function to prevent it from creating multiple message windows - Fixed
obj_art_fid
script function returning incorrect player's FID when the hero appearance mod mod is enabled - Fixed a crash bug in
message_str_game
script function when passing a negative fileId value - Fixed MainMenuFontColour not changing the font color of the copyright text on the main menu
- Fixed a hero appearance mod mod issue that caused the incorrect FRM to be displayed when opening bag/backpack in the inventory
- Fixed some arguments in
BARTERPRICE
hook when trading with a party member - Fixed a crash bug introduced in 4.1.8 when calling
game_time_advance
in themap_exit_p_proc
procedure with active explosives on the map - Fixed some of sfall features that depend on the hi-res patch not working properly in some cases
- Fixed a bug introduced in 4.1.8 that broke the AllowLargeTiles option
- Fixed the AP cost display issue in NPC combat control mod
- Improved the functionality of
add_extra_msg_file
script function to use 'English' as the fallback language directory for loading msg files - Changed the
DAM_BACKWASH
flag to be set for the attacker before calculating combat damage when taking self-damage from explosions - Changed CorpseLineOfFireFix to be enabled by default
- Removed the dependency of Body_Torso from Body_Uncalled hit modifier, and re-added BodyHit_Torso to
ddraw.ini
. Now you can useset_bodypart_hit_modifier
script function to set them individually - Replaced the 'Take All' hotkey mod with an extended UI hotkeys mod in the modders pack
- Added a fix to prevent the car from being lost when entering a location via the Town/World button and then leaving on foot
- Added a fix for items on the ground being obscured by a pool of blood after the corpse is removed
- Added a fix for player's position if the entrance tile is blocked when entering a map
- Added a fix for the player stuck at 'climbing' frame after ladder climbing animation
- Added an option to change the path and filename of the critical table file
- Added an option to change the font color of the button text on the main menu
- Added an option to override the path location of all ini files used by scripts
- Added an option to change some of Fallout 2 engine functions to Fallout 1 behavior
- Added support for the new 'Energy Weapon' flag to weapon protos. This flag forces the weapon to use Energy Weapons skill regardless of its damage type
- Added options for tweaking some engine perks to the perks ini file
- Added a new flag to
force_encounter_with_flags
script function - Added
COUNTERWIN
flag to the game mode functions (when moving multiple items or setting a timer) - Added a new argument to
HOOK_ADJUSTFID
hook script - Added a new argument to
HOOK_BARTERPRICE
hook script - Added a compute damage example script to the modders pack
- Slightly increased the width of the car fuel gauge on the world map interface
- New script function:
register_hook_proc_spec
- New hook script:
hs_stdprocedure
sfall 3.8.20
Changelog:
- Backported
HEROWIN
andDIALOGVIEW
(when reviewing the current conversation) game mode flags from 4.1 - Fixed
create_message_window
script function to prevent it from creating multiple message windows - Fixed
obj_art_fid
script function returning incorrect player's FID when the hero appearance mod is enabled - Fixed a crash bug in
message_str_game
script function when passing a negative fileId value - Fixed MainMenuFontColour not changing the font color of the copyright text on the main menu
- Fixed some arguments in
BARTERPRICE
hook when trading with a party member - Fixed a crash bug introduced in 3.8.18 when calling
game_time_advance
in themap_exit_p_proc
procedure with active explosives on the map - Fixed some of sfall features that depend on the hi-res patch not working properly in some cases
- Fixed a bug introduced in 3.8.18 that broke the AllowLargeTiles option
- Changed the
DAM_BACKWASH
flag to be set for the attacker before calculating combat damage when taking self-damage from explosions - Changed CorpseLineOfFireFix to be enabled by default
- Removed the dependency of Body_Torso from Body_Uncalled hit modifier, and re-added BodyHit_Torso to
ddraw.ini
. Now you can useset_bodypart_hit_modifier
script function to set them individually - Replaced the 'Take All' hotkey mod with an extended UI hotkeys mod in the modders pack
- Added a fix to prevent the car from being lost when entering a location via the Town/World button and then leaving on foot
- Added a fix for items on the ground being obscured by a pool of blood after the corpse is removed
- Added a fix for player's position if the entrance tile is blocked when entering a map
- Added a fix for the player stuck at 'climbing' frame after ladder climbing animation
- Added an option to change the path and filename of the critical table file
- Added an option to change the font color of the button text on the main menu
- Added an option to change some of Fallout 2 engine functions to Fallout 1 behavior
- Added support for the new 'Energy Weapon' flag to weapon protos. This flag forces the weapon to use Energy Weapons skill regardless of its damage type
- Added options for tweaking some engine perks to the perks ini file
- Added a new flag to
force_encounter_with_flags
script function - Added
COUNTERWIN
flag to the game mode functions (when moving multiple items or setting a timer) - Added a new argument to
HOOK_BARTERPRICE
hook script - Added a compute damage example script to the modders pack
- Slightly increased the width of the car fuel gauge on the world map interface
- New script function:
register_hook_proc_spec
sfall 4.1.9.1
Hotfix release for sfall 4.1.9.
Changelog:
- Fixed the error handling for loading
sfallgv.sav
to improve backward compatibility with older saved games - Fixed
key_pressed
script function not working inHOOK_KEYPRESS
hook script - Fixed a bug in NPC combat control that caused perks picked in combat to disappear after switching control to other critters
- Fixed a bug in NPC combat control that caused player's selected attack mode not to be saved
- Fixed the map elevation check in
get/set_can_rest_on_map
script functions - Improved the functionality of
add_extra_msg_file
script function to allow automatically assigning numbers to msg files - Changed DebugMode and HideObjIsNullMsg to not require sfall debugging mode
- Added an option to NPC combat control mod to let you set a list of perks to be inherited from the player
sfall 3.8.19.1
Hotfix release for sfall 3.8.19.
Changelog:
- Fixed the error handling for loading
sfallgv.sav
to improve backward compatibility with older saved games - Changed NPC combat control to keep player's Awareness perk while controlling other critters
- Changed DebugMode and HideObjIsNullMsg to not require sfall debugging mode
sfall 4.1.9
Changelog:
- Fixed some scrolling bugs in WorldMapSlots option
- Fixed fade in/out of the screen in DX9 mode (partially)
- Fixed
get/set_critter_base/extra_stat
script functions not accepting a pointer to the player - Fixed
set_dude_obj
script function not accepting a null argument - Fixed a crash bug in
COMBATTURN
hook when loading a game saved in combat mode while controlling other critters - Fixed a bug in NPC combat control mod that caused the last controlled critter to get player's combat xp
- Fixed the last procedure in a script being unable to be called through a variable containing its name as a string
- Fixed a bug introduced in 4.1.8 that caused the
DAM_KNOCKED_DOWN
flag not to be reset for knocked out party members when leaving a map - Improved NPC combat control to keep the selected attack mode of the controlled critter
- Improved the functionality of the debug editor (in the modders pack)
- Improved the fix for 'NPC turns into a container' bug
- Changed DataLoadOrderPatch to be enabled by default
- Changed ItemCounterDefaultMax to not set the counter to maximum when in the barter screen
- Added a fix for the broken 'reserve movement' function
- Added a fix for the up/down button images on the world map interface
- Added a fix for the position of the destination marker for small/medium location circles when using the location list
- Added a fix for player's movement in combat being interrupted when trying to use objects with Bonus Move APs available
- Added a fix for the incorrect coordinates for small/medium location circles that the engine uses to highlight their sub-tiles
- Added a fix for visited tiles on the world map being darkened again when a location is added next to them
- Added a fix for Scout perk being taken into account when setting the visibility of locations with
mark_area_known
script function - Added a fix for combat not ending automatically when there are no hostile critters
- Added a fix for critters/items on a map having duplicate object IDs
- Added a fix for knocked down critters not playing stand up animation when the combat ends
- Added a fix for dead NPCs reloading their weapons when the combat ends
- Added an option to use the expanded world map interface (requires hi-res patch v4.1.8)
- Added an option to allow setting a directory for the game to automatically search and load custom .dat files
- Added an option to expand the number of action points displayed on the interface bar (requires the hi-res patch v4.1.8)
- Added an option to change the base value of the duration of the knockout effect
- Added a check for the
DAM_KNOCKED_OUT
flag towield_obj_critter/inven_unwield
script functions - Added a new value to SkipOpeningMovies to also skip the splash screen
- Added a new 'combat ends normally' event to
HOOK_COMBATTURN
hook script - Added a
sfall.dat
resource file, which contains the required files for various features - New script functions:
metarule_exist
,add_extra_msg_file