Fallout 2 mod FO2 Engine Tweaks (Sfall)

Discussion in 'Fallout General Modding' started by Dude101, Jul 30, 2007.

  1. Nirran

    Nirran Vault Senior Citizen

    Apr 15, 2007
    with files from 4.1 modder pack,floor2 is not recognized,am i doing something wrong?

    edit : same with compiler from modderspack_4.0.8
    Last edited: Sep 18, 2018
  2. NovaRain

    NovaRain Casual Modder Modder

    Mar 10, 2007
    You need to include sfall.h. All new script functions since 3.8 use sfall_funcX implantation, so it's necessary to include the header.
  3. Nirran

    Nirran Vault Senior Citizen

    Apr 15, 2007
    ah ok thnx

    edit : ok it compiles now,however it still calculates to -1 from actual amnt gained
    edit 2 : thnx again for the fix Nova

    edit 3: can someone please exactly state what each of these do?

    HOOK_BARTERPRICE (hs_barterprice.int)
    Runs whenever the value of goods being purchased is calculated
    critter arg1 - the critter doing the bartering (either dude_obj or inven_dude)
    critter arg2 - the critter being bartered with
    int     arg3 - the default value of the goods
    critter arg4 - table of requested goods (being bought from NPC)
    int     arg5 - the amount of actual caps in the barter stack (as opposed to goods)
    int     arg6 - the value of all goods being traded before skill modifications
    critter arg7 - table of offered goods (being sold to NPC)
    int     arg8 - the total cost of the goods offered by the player
    int     arg9 - set 1 if the "offers" button was pressed (not for a party member), otherwise 0
    int     ret1 - the modified value of all of the goods
    im specificaly curious about

    critter arg7 - table of offered goods (being sold to NPC)
    int     arg8 - the total cost of the goods offered by the player
    is 7 dude ptr?
    is 8 dudes value of table?with gold or with out gold?
    Last edited: Oct 1, 2018
  4. burn

    burn Where'd That 6th Toe Come From?

    Apr 22, 2012
    What's PCOMBAT, as opposed to COMBAT?
  5. NovaRain

    NovaRain Casual Modder Modder

    Mar 10, 2007
    It's for player's combat turn only.

    No, arg7 is the object pointer of the barter table on player's side.
    arg8 is with caps.
    Last edited: Oct 1, 2018
  6. NovaRain

    NovaRain Casual Modder Modder

    Mar 10, 2007
    sfall 4.1.1 is released on SourceForge, along with the modders pack.
    EDIT: reword an entry on changelog.
    Last edited: Oct 2, 2018
  7. Lexx

    Lexx Background Radiant

    Apr 24, 2005
    >Added an option to allow windows created by vanilla script function to be placed on top of inventory/loot/automap interfaces
    Holy shit. This also works for the PipBoy? If so, creating the Fo1 timer notes is easily possible then.
  8. NovaRain

    NovaRain Casual Modder Modder

    Mar 10, 2007
    Windows created from vanilla CreateWin function can already be placed on top of Pipboy interface.
    Last edited: Oct 2, 2018
  9. Lexx

    Lexx Background Radiant

    Apr 24, 2005
    Welll yeah, that always worked, but as soon as you've clicked anywhere else on the interface, your own window moved "behind" it.

    /Edit: What about the interface at the bottom of the screen? If this works there as well, I can remove like 50% of my button script.
  10. NovaRain

    NovaRain Casual Modder Modder

    Mar 10, 2007
    You can use the new "create_win", which creates windows with "MoveOnTop" flag set by default.
  11. Nirran

    Nirran Vault Senior Citizen

    Apr 15, 2007

    edit : i want to make dudes items for trade worth .25 what the table has on it(caps seperate),but isnt any ret with dudes value,is it possible?
    Last edited: Oct 1, 2018
  12. NovaRain

    NovaRain Casual Modder Modder

    Mar 10, 2007
    You might try using obj_is_carrying_obj_pid to get the amount of caps on player's table:
    player_caps := obj_is_carrying_obj_pid(arg7, PID_BOTTLE_CAPS);
    player_caps := player_caps * 3;
    if arg7 == dude_obj then begin
        set_sfall_return((arg8 + player_caps) / 4);
  13. Nirran

    Nirran Vault Senior Citizen

    Apr 15, 2007

    seems barter price hook has multiple set_sfall_returns,only one listed in the txt file,can u please list them all?
  14. NovaRain

    NovaRain Casual Modder Modder

    Mar 10, 2007
    Be sure to get the newest modders pack.
  15. Nirran

    Nirran Vault Senior Citizen

    Apr 15, 2007
    alrighty thnx Nova

    edit :
    int     ret1 - the modified value of all of the goods (pass -1 if you just want to modify offered goods)
    int     ret2 - the modified value of all offered goods
    that is exactly what i was looking for thnx much fro all the work all of u have done developing sfall
    Last edited: Oct 2, 2018
  16. Mr.Stalin

    Mr.Stalin Agent of Enclave Modder

    Oct 29, 2015
    >Added a fix for AI not picking up the requested object from the ground when there are different objects with the same ID
    Remark: The object was picked up, but could not immediately be used.
    Last edited: Oct 5, 2018
  17. NovaRain

    NovaRain Casual Modder Modder

    Mar 10, 2007
    Oh, ok. So it should be changed to:
    Last edited: Oct 6, 2018
    • [Rad] [Rad] x 1
  18. Ondramus

    Ondramus First time out of the vault

    Sep 26, 2010
    Hi Nova,

    I just did a fresh install of Fallout 2 + RP 2.3.3 + sfall 4.1.1. (Windows 10 64bit) and I get a crash ("the memory could not be read from") in Kaga encounter (1st around Klamath) + in the Den (around the "begger" + around Bobby) each time. Everything works OK with sfall from RP (3.3). It looks like it might be script related. Could you please verify that?

    ;sfall configuration settings

    ;Change to 1 if you want to use command line args to tell sfall to use another ini file.

    ;Uncomment and point to a file to get alternate translations for some sfall messages

    ;Ensure that the RP ddraw.ini file is being used
    ;Sets the number of allowed simultaneous sound effects
    ;Set to 0 to leave the default unchanged (i.e. 4)

    ;Set to 1 to allow attaching sound files to combat float messages

    ;Set to 1 to automatically search for alternative formats (mp3/wma/wav) when Fallout tries to play an acm
    ;Set to 2 to play alternative music files even if original acm files are not present in the music folder
    ;This does not effect the play_sfall_sound and stop_sfall_sound script functions

    ;Set to 1 to override the music path used by default if not present in the cfg
    ;Set to 2 to overwrite all occurances of the music path

    ;Set to 0 to disable everything in this section

    ;The speeds corresponding to each slot in percent. (i.e. 100 is normal speed)

    ;The initial speed at game startup

    ;Set to 0 for 8 bit fullscreen
    ;Set to 4 for DX9 fullscreen
    ;Set to 5 for DX9 windowed
    ;A DX9 mode is required for any graphics related script extender functions to work (i.e. fullscreen shaders)
    ;Modes 1, 2 and 3 are no longer supported

    ;If using a DX9 mode, this changes the resolution
    ;The graphics are simply stretched to fit the new window; this does _not_ let you see more of the map
    ;If set to 0, use Fallout's native resolution

    ;Set to 1 to do the palette conversion on the GPU
    ;Set to 2 to do the palette conversion on the CPU
    ;Set to 0 to pick automatically
    ;GPU is faster, but requires v2.0 pixel shader support

    ;Set to 1 to allow using 32 bit graphics for talking heads
    ;Requires graphics mode 4 or 5, and GPUBlt set to 1

    ;Set to 1 to automatically search for alternative avi video files when Fallout tries to play the game movies
    ;Requires graphics mode 4 or 5

    ;Fade effect time length percentage modifier
    ;Default is 100. Larger values make it slower, smaller values make it faster

    ;Set to 1 to enable the mouse scroll wheel to scroll through inventory, barter, and loot screens

    ;The mouse Z position is divided by this modifier to calculate the number of inventory
    ;slots to scroll. My mouse moves 120 pixel in the z direction for one click of the mouse
    ;wheel, but this may vary depending on your mouse manufacturer and windows settings.
    ;Set to 0 to only ever scroll 1 click

    ;Adjusts mouse sensitivity to some percentage of normal.
    ;Negative values are valid if you want your mouse axis reversed for some reason

    ;DX scancode of a key to press when the middle mouse button is clicked
    ;The default of 0x30 toggles between your two weapons
    ;Set to 0 to disable

    ;Set to 1 to reverse the left and right mouse buttons

    ;Set these to 1 if you want Fallout to access the keyboard or mouse in background mode
    ;Try these if you get the 'Failure initializing input devices' error


    ;The modifier key you have to hold down to change any speed settings
    ;Set to 0 if you don't want to use a modifier key, or a DX scancode otherwise
    ;Set to -1 for either ctrl key, -2 for either alt key or -3 for either shift key

    ;A key to press to toggle the speed tweak on or off
    ;Specify 0 if you don't want a toggle key, or a DX scancode otherwise

    ;The keys corresponding to the 10 speed slots
    ;Set to 0 to disable a slot, otherwise specify the DX scancode of the key you want to use

    ;A key to hold down to move the window around when using graphics mode 5
    ;Set to 0 if you don't want to use a modifier key, or a DX scancode otherwise
    ;Set to -1 for either ctrl key, -2 for either alt key or -3 for either shift key

    ;A key to press to reload your currently equipped weapon
    ;Set to 0 if you don't want a reload key, or a DX scancode otherwise

    ;A key to hold down to let you move/drop a whole stack of items at once without the 'Move Items' window
    ;Set to 0 if you don't want to use a modifier key, or a DX scancode otherwise

    ;A key to press to open a debug game editor (requires FalloutClient.exe from the modders pack)
    ;Set to 0 to disable, or a DX scancode otherwise


    ;Time limit in years. Must be between -3 and 13
    ;Set to 0 if you want to die the instant you leave arroyo
    ;Set to -1 to remove the time limit, and automatically reset the date back to 2241 each time you would have reached it
    ;Set to -2 to remove the time limit without resetting the date. The game will lock up on 8th of March 2255
    ;Set to -3 to remove the time limit, automatically reset the date, but override Fallout's GetDate function to return the correct year

    ;World map travel time percentage modifier
    ;Modifies how fast in game time passes while you're moving around the map screen without affecting encounter rate
    ;100 is normal speed, 0 stops time from passing

    ;Set to 1 to enable functions relating to overriding the file system

    ;Set to 1 to use the Fallout 1 code to control world map speed

    ;Controls the world map speed if WorldMapFPSPatch is 1. Higher values cause slower movement

    ;Set to 1 to enable Ray's patch to make world map encounter rate independent of your travel speed
    ;Higher values of WorldMapEncounterRate cause a slower encounter rate

    ;The number of slots available in the locations list panel of the world map
    ;Set to 0 to leave unchanged. 17 is default.
    ;Setting this greater than 17 requires a replacement background FRM, or you'll get glitched graphics

    ;To start a new game somewhere other than artemple.map, uncomment the next line and set it to the map you want to load

    ;To change the 'FALLOUT II v1.02d' version string on the main menu, uncomment the next line
    ;You can use up to 2 %d's in this if you want to include Fallout's version number somewhere
    VersionString=FALLOUT II 1.02.31 RP 2.3.3

    ;To use a config file other than fallout2.cfg, uncomment the next line and add the name of your new file

    ;To use a patch file other than patch000.dat, uncomment the next line and add your new file name
    ;If you want to check for multiple patch files, you can include a %d in the file name (sprintf syntax)
    ;By default, only the first patch file found will be used.
    ;If you want to load multiple patch files (up to 1000) at once, uncomment the MultiPatches line and set it to 1

    ;Set to 1 to use the modified data load order for the engine to find game data
    ;Original: patchXXX.dat > critter_patches > critter_dat > f2_res_patches > f2_res_dat > master_patches > master_dat
    ;Modified: master_patches > critter_patches > patchXXX.dat > critter_dat > f2_res_patches > f2_res_dat > master_dat

    ;Set to 1 to enable loading alternative dialog msg files from text/language/dialog_female/ for female PC
    ;Set to 2 to also load subtitle files from text/language/cuts_female/ for female PC

    ;To change the default and starting player models, uncomment the next four lines.
    ;The default models can also be changed ingame via script

    ;To change the various ingame movies, modify the next 17 lines
    ;Most of these can also be changed ingame via script.

    ;To change the starting year, month or day, uncomment the next 3 lines
    ;Both StartMonth and StartDay are 0-indexed

    ;To change the limit of the distance away from the player to which you're allowed to scroll the local maps, uncomment the next two lines
    ;Defaults are 0x1E0 in the x direction and 0x190 in the y direction.
    ;Not compatible with the res patch!

    ;To add additional perks to the game, uncomment the next line and set it to point to a file containing perk information

    ;Set to 1 if you want the pipboy to be available at the start of the game
    ;Set to 2 to make the pipboy available by only skipping the vault suit movie check

    ;Set to 1 to double the number of available kill types
    ;If you use this, you need to provide the extra descriptions in proto.msg (entries from 1450 to 1487 are names and 1488 to 1525 are descriptions)
    ;Changing this option mid game will not invalidate old save games, but the player's kill counters will be completely screwed.
    ;Setting this to 1 may cause problems if the player kills more than 32767 of any one critter type
    ;Additional kill types must have their new critical tables set! (See the OverrideCriticalTable option)

    ;Choose the damage formula used to calculate combat damage.
    ;Don't set this to anything other than 0 unless another mod you're using explicitly tells you to!
    ;0 - Fallout default
    ;1 - Glovz's Damage Fix
    ;2 - Glovz's Damage Fix with Damage Multiplier tweak
    ;5 - Haenlomal's Yet Another Ammo Mod.

    ;Prevents you from using 0 to escape from dialogue at any time.

    ;Prevents you from using number keys to enter unvisited areas on a town map

    ;Set to 1 to disable the horrigan encounter

    ;Set to 1 to disable the random element in NPC levelling.
    ;This will cause all NPC party members to automatically level up as soon as the player reaches the requirements

    ;Change the initial starting location and world map viewport
    ;Leave at -1 for default

    ;Set to 1 to force Fallout not to use multiple processor cores even if they are available

    ;Set to 1 to override the art_chache_size setting in fallout2.cfg

    ;Prevents you from saving in combat except at the start of your turn to avoid a few bugs
    ;Note that even with this option enabled, it is still not advisable to save in combat at all.
    ;Set to 2 to block all saving in combat

    ;Point at an ini file containing elevator data

    ;Uncomment and set a comma delimited list of numbers to use a custom xp table.
    ;Player's level is capped once the highest specified level is reached

    ;Set to 1 to enable additional weapon animation codes from o-t
    ;The 4 byte value at 0x39 of weapon protos may range from 0 to 15 rather than 0 to 10
    ;Since the letters 'n' and 'r' are in use for other animations, an animation code of 11 corrisponds to 's' and 15 to 't'

    ;Uncomment these lines to modify the default modifiers for aimed shots at specific bodyparts

    ;Set to 1 to use a CriticalOverrides.ini file to override the default critical table
    ;Set to 2 to use the default critical with bug fixes (doesn't require an ini)
    ;Set to 3 to use a new format CriticalOverrides.ini file, with preadded bug fixes
    ;If the ExtraKillTypes option is enabled, this should be set to 3, with containing entries for any new types
    ;Must be non-zero to use the edit/get/reset_critical script functions

    ;Set to 1 to get notification of karma changes in the notification window

    ;Set to 1 to always reload messages, rather than only at map load

    ;Set to 1 to force the player to play the idle animation when reloading their weapon

    ;Set to 1 to prevent corpses from blocking line of fire

    ;Set a number of milliseconds to idle each input loop
    ;Set to -1 to disable
    ;Set to 0 to idle only if other processes are waiting for processor time
    ;Set to 1 (or some higher number if needed, the maximum is 127) to prevent 100% CPU use

    ;Set to 1 if using the hero appearance mod

    ;Set to 1 to skip the 3 opening movies

    ;Causes NPCs who complete their combat turn with ap left over will try and find other ways to spend it.
    ;Only NPCs with ap left equal to or greater than the value given here will be considered.
    ;Set to 0 to disable

    ;Set to 1 to fix NPCs not checking weapon perks properly when searching for the best weapon
    ;Note that enabling this option can significantly affect the weapon choice of some NPCs in combat

    ;Allows the use of tiles over 80*36 in size. sfall will just split and resave them at startup
    ;Set to 1 to check all tiles on started (slow)
    ;Set to 2 if you provide a XLtiles.lst file in art/tiles/ containing a list of the tile ids that need checking

    ;Set to 1 to boost the maximum number of tile FRMs from 4096 to 16383

    ;Change the Skilldex cursor FRM numbers
    ;Default is 293 for all skills

    ;Remove window position rounding

    ;Set to 1 to add scroll buttons to the pipboy quest list, and remove the quests per area limit
    ;Set to 2 to use a different set of scroll buttons

    ;To change the location of quest list scroll buttons, uncomment the next two lines
    ;Defaults are 140 for the X-axis and 334 for the Y-axis

    ;Uncomment these lines to control the premade characters offered when starting a new game
    ;Multiple options should be separated by commas, and there must be the same number of entries in both lines

    ;Use this line to modify the list of cities and their associated global variables used for city reputations
    ;Syntax is 'city id:global id', with each city/global pair separated by a comma.

    ;Set this to a valid path to save a copy of the console contents

    ;Set to 1 to add additional pages of save slots

    ;To use more than one save slot for quick saving (F6 key) without picking a slot beforehand, set the next two lines
    ;AutoQuickSave sets how many save slots on a page you want to use for quick saving (valid range: 1..10)
    ;AutoQuickSavePage is the page number to use (valid range: 1..1000) if ExtraSaveSlots is enabled
    ;The quick saves will be rotated from the first slot on the page to the n-th slot
    ;Set to 0 to disable. AutoQuickSave will use page 1 if AutoQuickSavePage is disabled

    ;Set to 1 to speed up the HP/AC counter animations
    ;Set to 2 to update the HP/AC counters instantly

    ;These lines allow you to control the karma FRMs displayed on the character screen
    ;Number of KarmaPoints should be 1 less than number of KarmaFRMs

    ;Set to 1 to allow science and repair to be used on the player, or 2 for all critters. (Rather than only brahmin/robots)

    ;Modify this value to change the player's speed of rotation on the inventory and character screens
    ;Default is 166

    ;Modify the number of the extra interface boxes available to modders. (Default is 5, and the maximum is 95)

    ;Uncomment to set the text colour of the extra interface boxes
    ;The line must contain the same number of digits as the value of BoxBarCount, each either a 0 for green or 1 for red

    ;Set to 1 to fix the bug that caused bonus HtH damage to not be applied correctly.

    ;Set to 1 to display additional points of damage from Bonus HtH/Ranged Damage perks in the inventory

    ;Set to 1 to display the range of the second attack mode in the inventory when you switch weapon modes in active item slots

    ;Modify the maximum number of animations allowed to run on a map. (Default is 32, and the maximum is 127)

    ;Set to 1 to remove the limits that stop the player rolling critical successes/misses in the first few days of game time

    ;Set to 1 to enable party members with level 6 protos to reach level 6

    ;Change the colour of the font used on the main menu for the Fallout/sfall version number
    ;It's the last byte ('3c' by default) that picks the colour used. The first byte supplies additional flags

    ;Two alternate fixes to the interaction between HtH attacks and the fast shot trait
    ;0 - Fallout 2 original behaviour
    ;1 - Haenlomal's fix, called shots are enabled for HtH attacks
    ;2 - Restoring the -1 AP bonus for HtH attacks (i.e. Fallout 1 behaviour)

    ;Allows you to edit the skill tables
    ;Point the next line at an ini file containing the replacement skill data

    ;Set to 1 to boost the maximum number of script names from 1450 to 10000

    ;To change the relationship between SPECIAL stats and derived stats, uncomment the next line
    ;See the Stats.ini in the modders pack for an example file

    ;These options modify the checks to see if a critter can carry an additional item, changing which items are counted towards the weight limit and adding an additional size check
    ;Set the mode to 0 to disable the size check, 1 to apply to the PC only, 2 to apply to the PC and party members, or 3 to apply to all critters
    ;Only the PC uses CritterInvSizeLimit. Other critters will use the unused stat (STAT_unused = 10) or have the size limit of 100 if the stat is not set
    ;Add 4 to the mode to limit the weight check to used items only
    ;You can use line number 542/543 in proto.msg and line number 35 in inventry.msg to set up custom messages for item size

    ;Some bit flags to alter behaviour of the motion sensor
    ;1 - Allow sensor use on automap when motion sensor is in pack rather than hands
    ;2 - Motion sensor doesn't require charges

    ;Set to non-0 to adjust the maximum encounter table size
    ;Default is 40, and the maximum is 127

    ;Set to 1 to disable the pipboy alarm button

    ;Uncomment the next four lines to move the main menu buttons and credit text (the 'Copyright(c)' line on the main menu)

    ;Prevents you from using super stims on a critter who is at full health.

    ;Change the AP cost for accessing inventory in combat, and the related effect of Quick Pockets perk

    ;Set to 1 to allow objects seeing through other objects with their ShootThru flag set

    ;Set to 1 to fix the broken obj_can_hear_obj script function

    ;Set to 1 to fix the mood argument of start_gdialog script function to be available for talking heads
    ;If the argument value is -1, the mood will be determined by the local variable 0 of the script (vanilla behavior)

    ;Set to 1 to enable the balanced bullet distribution formula for burst attacks

    ;These options modify the bullet distribution of burst attacks if ComputeSprayMod is 1
    ;All the bullets are divided into three groups: central, left and right
    ;These three groups will then travel along three parallel tracks, trying to hit targets on the way
    ;CenterMult/Div set the ratio of how many bullets go to the central group, and remaining bullets are divided equally to left and right sides
    ;TargetMult/Div set the ratio of how many bullets in the central group will attack the primary target directly
    ;Multipliers are capped at divisor values

    ;Set to 1 to make explosions and projectiles emit light

    ;Uncomment these lines to change explosives damage. DmgMax can be set to 9999 at max, and DmgMin is capped at DmgMax

    ;Uncomment these lines to change the timers of how many days after the game starts Hakunin dream sequences will occur

    ;Set to 1 to enable the new arrays behavior
    ;Set to 0 for backward compatibility with pre-3.4 scripts

    ;Set to 1 to add proper checks if there is enough ammo to use weapons that use multiple ammo per shot

    ;To add additional books to the game, uncomment the next line and point to a file containing book information
    ;See the Books.ini in the modders pack for an example file

    ;Controls the speed of combat panel animations (lower - faster; valid range: 0..65535)
    ;Controls the speed of dialog panel animations (lower - faster; valid range: 0..255)
    ;Controls the speed of pipboy alarm clock animations (lower - faster; valid range: 0..127)

    ;Set to 1 to stack empty identical weapons, no matter what type of ammo was loaded before

    ;Changes the way weapon reloading works when you drag ammo onto a weapon in the inventory
    ;Set to -1 to disable (vanilla behavior with the 'Move Items' window)
    ;Set to 0 to use all the ammo boxes to reload
    ;Set to 1 or more to reserve the specified amount of ammo boxes and use all the rest to reload
    ;If the amount of ammo boxes in the inventory is less than or equal to the reserve, only one box will be used

    ;Set to 1 to change the counter in the 'Move Items' window to start at the maximum number of items

    ;Allows 9 options (lines of text) to be displayed correctly in a dialog window

    ;Set to 1 to leave the music playing in dialogue with talking heads

    ;Set to 1 to prevent the player from running while sneaking without Silent Running perk

    ;Set to 1 to fix the bug that unable to sell used geiger counters or stealth boys

    ;Set to 1 to fix the issue with being able to charge the car by using cells on other scenary/critters
    ;Set to 0 if another mod you're using has custom vehicles

    ;Set to 1 to skip weapon equip/unequip animations when performing various actions

    ;To add additional game msg files, uncomment the next line and set a comma delimited list of filenames without .msg extension
    ;By default, the files will have consecutive numbers assigned beginning with 0
    ;You can use the syntax 'filename:number' to manually assign numbers to specific msg files, with each pair separated by a comma
    ;If a file after the specified pair does not have a number assigned, it will have the next consecutive number from the last pair
    ;You need to use the message_str_game script function to get messages from the files

    ;Set to 1 to display numbered dialogue options

    ;Set to 1 to use Fallout's normal text font instead of DOS-like font on the world map

    ;Set to 1 to keep the selected attack mode when moving the weapon between active item slots

    ;Set to 1 to display full item description for weapon/ammo in barter screen

    ;Set to 1 to display experience points with the bonus from Swift Learner perk when gained from non-scripted situations

    ;Set to 1 to prevent the inventory/loot/automap interfaces from being placed on top of other script-created windows

    ;Set to 1 to display sfall built-in credits at the bottom of credits.txt contents instead of at the top

    ;Comma-separated list of masked paths to load global scripts from
    ;Only use single slash \ as directory separator
    ;Paths outside of scripts folder are supported

    ;Extra sfall configuration settings that can be used by modders
    ;This section is not effected by the 'UseCommandLine' option. It will always be read from the main ini

    ;Set to 1 to enable sfall debugging mode

    ;Fallout 2 Debug Patch
    ;Set to 1 to enable debugging output to screen or 2 to create a debug.log file
    ;While you don't need to create an environment variable, you do still need to set the appropriate lines in fallout2.cfg

    ;Change to 1 to skip the compatibility mode check

    ;Set to 1 to skip the executable file size check
    ;Does not require enabling sfall debugging mode

    ;If you're testing changes to the Fallout exe, you can override the CRC that sfall looks for here
    ;You can use several hex values, separated by commas
    ;Does not require enabling sfall debugging mode

    ;Set to 1 to stop Fallout from deleting non readonly protos at startup
    ;Has pretty nasty side effects when saving/reloading, so don't use for regular gameplay

    ;Set to 1 to give scripts direct access to Fallout's address space, and to make arbitrary calls into Fallout's code

    ;Set to 1 to force sfall to inject all hooks code into the game, even if corresponding hook scripts don't exist

    ;These options control what output is saved in the debug log (sfall-log.txt)

    ;Prints messages duing sfall initialization
    ;Prints messages relating to hook scripts
    ;Prints messages relating to scripting
    ;Prints messages relating to the critical table

    Thank you in advance.
  19. NovaRain

    NovaRain Casual Modder Modder

    Mar 10, 2007
    Is the error message you got:
    It seems the crash is from some NPCs force-started dialog, try disabling StartGDialogFix.
    Last edited: Oct 9, 2018
  20. Ondramus

    Ondramus First time out of the vault

    Sep 26, 2010
    That was it - disabling StartGDialogFix fixes the crashes.
    Thank you very much.