Fallout 2 mod FO2 Engine Tweaks (Sfall)

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

  1. Lexx

    Lexx Background Radiant
    Moderator

    Apr 24, 2005
    Not sure if I understand this right, but wouldn't that have been possible already before with just doing a PID check in script and then doing some script magic on said critter?

    Does that make all automaps visible or only up to 160?
     
  2. NovaRain

    NovaRain Casual Modder Modder

    Mar 10, 2007
    In earlier versions, calling set_critter_base/extra_stat on a critter would effect all other critters sharing the same PID on the map (e.g. guards of the Slaver's Guild in the Den). Now they only effect the specified critter.

    Still only up to 160, but now it's possible to use all 160 maps. There is a hardcoded list in the engine that only certain map numbers are visible in Pipboy's Automaps: 003-051, 054-058, 061-067, 078, 079, 092, 093, 109, 126, 128-140, 147, 148. Total: 82 of 160 maps (000-159)

    Now adding a line "automap=yes/no" in the section of a map number marks it visible or not.
    A tricky thing is, if one of maps of a location is visible in Automaps, all other maps will be visible as well. For example, if you set up a town "Testville" with map numbers 051-053, you will see automaps of all three maps when selecting Testville in the list, even if you didn't set automap=yes for map 052 & 053.

    Also the maximum locations for the Automaps list is capped at 20, since for now the page is not scrollable.
     
    Last edited: Apr 24, 2019
  3. Mr.Stalin

    Mr.Stalin Agent of Enclave Modder

    Oct 29, 2015
    Moreover, if you entrance to 53 map, then you will not see 53 and 52 maps in pip-boy, so it is better to always set 'yes'
     
    • [Rad] [Rad] x 1
  4. Mr.Stalin

    Mr.Stalin Agent of Enclave Modder

    Oct 29, 2015
    In fact, this fix for npc stats, and not a change in the functions.
     
  5. Nirran

    Nirran Vault Senior Citizen
    Modder

    Apr 15, 2007
    is the ddraw.ini that comes with newest sfall zips complete?as in it lists all settable variables for that current sfall?
     
  6. NovaRain

    NovaRain Casual Modder Modder

    Mar 10, 2007
    The ddraw.ini should have all options unless we missed something.
     
  7. Nirran

    Nirran Vault Senior Citizen
    Modder

    Apr 15, 2007
    thxn nova,exactlywhat i was after
     
  8. Nirran

    Nirran Vault Senior Citizen
    Modder

    Apr 15, 2007
    trying to chase a bug,regarding party control,i have 4.1.7 installed the glpartycontrol.int in /scripts and this in sfall-mods.ini

    Code:
    [CombatControl]
    ;Allows you to directly control other critters in combat
    ;Set to 0 to disable
    ;Set to 1 to control all critters in combat
    ;Set to 2 to control all party members
    ;If you want to control only specific critters, uncomment the PIDList line and set a comma delimited list of PIDs
    Mode=1
    ;PIDList=62,89,97,107,160,161
    
    ;Choose a notification box to display the name of the controlled critter above the interface bar
    ;Must be between 5 and (4 + the value of BoxBarCount in ddraw.ini)
    ;For sfall 4.1.6+ the number for the notification box is set automatically, so just use any value
    ;Set to 0 to disable
    DisplayName=1
    
    ;Set the color of display name, available colors:
    ;0 - green
    ;1 - red
    ;2 - white
    ;3 - yellow
    ;4 - dark yellow
    ;5 - blue
    ;6 - purple
    ;7 - dull pink
    DisplayNameColor=3
    nothing happening in game,reg combat routine,can only contorll dude
     
  9. NovaRain

    NovaRain Casual Modder Modder

    Mar 10, 2007
    I can control all critters in combat as it should be with the same settings. Are you sure your text editor didn't add BOM to sfall-mods.ini? For example Windows notepad will do that automatically and breaks the mods.
     
    Last edited: May 7, 2019
  10. Nirran

    Nirran Vault Senior Citizen
    Modder

    Apr 15, 2007
    got it working thnx

    edit : what is BOM?

    edit : does sfall have a rdraw charracter screen function>?or is this it
    Code:
    #define intface_redraw                                  sfall_func0("intface_redraw")
     
    Last edited: May 7, 2019
  11. gustarballs1983

    gustarballs1983 Look, Ma! Two Heads!

    Oct 28, 2009
    @NovaRain
    I second Nirran's question.. what BOM stands for?
    I guess it ain't "Band of Might" as in "ahh.. Fresh Meat!" iteration 3

    I always edited all of the game's .ini files with windows notepad and did not notice anything broken that wasn't a bug anyway...
     
  12. NovaRain

    NovaRain Casual Modder Modder

    Mar 10, 2007
    Byte order mark.
    I've seen some cases that Notepad added BOM and the script couldn't read ini settings correctly.
     
    Last edited: May 16, 2019 at 12:54 AM
  13. gustarballs1983

    gustarballs1983 Look, Ma! Two Heads!

    Oct 28, 2009
    NVM.. what i said earlier..

    It might be the case that i don't use code page 1252. I'm on 1250. My localized windows version had notepad customized to accept my localized diacritic signs and underwent several bugfixes/changes by local programers from local M$ departament. Notepad stayed like this since like win 95 v3.11 . At least I'm sure notepad accepts my county's diacritic signs although not most of the others. For example russian letters are rendered as *gibberish* under our localized notepad, and I'm forced to use notepad++ to read Rusian text from a .txt file. Some German diacritic sings are also readable in our version of notepad.
     
    Last edited: May 16, 2019 at 9:35 AM