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
    Then maybe it is disabled over city locations? The only "none" zones I have are where you find green circles. And there the force_encounter() doesn't work.
     
  2. Mr.Stalin

    Mr.Stalin Agent of Enclave Modder

    Oct 29, 2015
    in the sub tiles where the city is located there will be no encounters, which is logical.
     
  3. Lexx

    Lexx Background Radiant
    Moderator

    Apr 24, 2005
    Btw. can we force special encounters? You know, with the red flash etc. Would be fancy. Right now there are no special encounters in the Fo1 port, and I'm thinking about ways to implement them.
     
  4. Mr.Stalin

    Mr.Stalin Agent of Enclave Modder

    Oct 29, 2015
    Notepad + worldmap.txt = special encounters :)
     
  5. Lexx

    Lexx Background Radiant
    Moderator

    Apr 24, 2005
    Sadly that doesn't work with the way our encounter system works. It depends on worldmap.txt being empty. As soon as anything gets added to the list, it will be chosen, simply because it's the only one being there. This is why I'd like to script that as well, circumventing the worldmap.txt file.

    I mean, I could just run with force_encounter() again, but that means skipping the fancy blinking icon.


    Shit's done.
     
    Last edited: Aug 13, 2019
  6. Ardent

    Ardent A Smooth-Skin
    Modder

    Jul 24, 2009
    Hey guys :)

    So, I updated sfall to 4.1.9.1, along with the modderspack, and now I get the following error when I compile a script:

    upload_2019-8-24_23-19-51.png

    Any ideas what it is / how to fix it / how I can get around it? Currently, my scripts aren't compiling.

    Below are the contents of the "Details" section:
    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.

    ************** Exception Text **************
    System.FormatException: Input string was not in a correct format.
    at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
    at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
    at ScriptEditor.CodeTranslation.Compiler.Compile(String infile, String& output, List`1 errors, Boolean preprocessOnly)
    at ScriptEditor.TextEditor.Compile(TabInfo tab, String& msg, Boolean showMessages, Boolean preprocess)
    at ScriptEditor.TextEditor.compileToolStripMenuItem1_Click(Object sender, EventArgs e)
    at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
    at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
    at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
    at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
    at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
    at System.Windows.Forms.ToolStripMenuItem.ProcessCmdKey(Message& m, Keys keyData)
    at System.Windows.Forms.ToolStripManager.ProcessShortcut(Message& m, Keys shortcut)
    at System.Windows.Forms.ToolStripManager.ProcessCmdKey(Message& m, Keys keyData)
    at System.Windows.Forms.ContainerControl.ProcessCmdKey(Message& msg, Keys keyData)
    at System.Windows.Forms.Form.ProcessCmdKey(Message& msg, Keys keyData)
    at System.Windows.Forms.Control.ProcessCmdKey(Message& msg, Keys keyData)
    at System.Windows.Forms.Control.ProcessCmdKey(Message& msg, Keys keyData)
    at System.Windows.Forms.ContainerControl.ProcessCmdKey(Message& msg, Keys keyData)
    at System.Windows.Forms.Control.ProcessCmdKey(Message& msg, Keys keyData)
    at System.Windows.Forms.Control.ProcessCmdKey(Message& msg, Keys keyData)
    at System.Windows.Forms.ContainerControl.ProcessCmdKey(Message& msg, Keys keyData)
    at System.Windows.Forms.Control.ProcessCmdKey(Message& msg, Keys keyData)
    at System.Windows.Forms.Control.ProcessCmdKey(Message& msg, Keys keyData)
    at System.Windows.Forms.Control.ProcessCmdKey(Message& msg, Keys keyData)
    at System.Windows.Forms.Control.ProcessCmdKey(Message& msg, Keys keyData)
    at System.Windows.Forms.ContainerControl.ProcessCmdKey(Message& msg, Keys keyData)
    at System.Windows.Forms.Control.ProcessCmdKey(Message& msg, Keys keyData)
    at System.Windows.Forms.Control.ProcessCmdKey(Message& msg, Keys keyData)
    at System.Windows.Forms.Control.ProcessCmdKey(Message& msg, Keys keyData)
    at System.Windows.Forms.Control.PreProcessMessage(Message& msg)
    at System.Windows.Forms.Control.PreProcessControlMessageInternal(Control target, Message& msg)
    at System.Windows.Forms.Application.ThreadContext.PreTranslateMessage(MSG& msg)


    ************** Loaded Assemblies **************
    mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.8762 (QFE.050727-8700)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
    ----------------------------------------
    ScriptEditor
    Assembly Version: 3.5.4.5
    Win32 Version: 3.5.4.5
    CodeBase: file:///B:/Game%20Making/Mutants%20Rising/MR/trunk/Sfall_script_editor/Script%20editor/ScriptEditor.exe
    ----------------------------------------
    System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5491 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    ----------------------------------------
    System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.8770 (QFE.050727-8700)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5495 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    ----------------------------------------
    System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5494 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
    ----------------------------------------
    ICSharpCode.TextEditor
    Assembly Version: 3.2.1.6466
    Win32 Version: 3.2.1.6466
    CodeBase: file:///B:/Game%20Making/Mutants%20Rising/MR/trunk/Sfall_script_editor/Script%20editor/ICSharpCode.TextEditor.DLL
    ----------------------------------------
    System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5483 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    ----------------------------------------

    ************** JIT Debugging **************
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.

    For example:

    <configuration>
    <system.windows.forms jitDebugging="true" />
    </configuration>

    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the computer
    rather than be handled by this dialog box.

    Thanks a bunch!
     
  7. Lexx

    Lexx Background Radiant
    Moderator

    Apr 24, 2005
    I think this was related to... actually I have forgotten what it was related to. But if you use the new script editor, it should compile correctly again.

    /Edit: I think as soon as there is some syntax error or it can't find a define, the above mentioned error appears. Not 100% sure anymore now, though.
     
  8. Ardent

    Ardent A Smooth-Skin
    Modder

    Jul 24, 2009
    Oooh, shiny! Thank you very much!
     
  9. NovaRain

    NovaRain Casual Modder Modder

    Mar 10, 2007
    sfall 4.2 and 3.8.20 are released on SourceForge, along with their respective modders packs.
    Note: Cublik2k's F2wedit has already supported setting the new 'Energy Weapon' flag for weapon protos.
     
    Last edited: Sep 15, 2019
    • [Rad] [Rad] x 3