mirror of
https://github.com/fallout2-ce/fallout2-ce.git
synced 2026-07-27 16:47:11 -07:00
* Implement sfall `signal_close_game` Used by Et tu, but might be useful for LLMs too to quit the game after running a test case. Also added enum for `_user_wants_to_quit`, and did minor reformatting of SFALL_COMPATIBILITY.md
Testing sFall scripting features
Basic info
This folder contains scripts which can be used for sFall opcodes.
Building
Get latest compile.exe from modders pack or from repository and run it this way:
compile.exe -q -p -l -O2 -d -s -n -I<sfall_headers_id> <script_name.ssl>
(sfall headers can be found in modderspack)
Build script using sFall Script Editor
-
Get "Fallout sFall Script Editor v4.1.7.RC1", for example from https://nuclear-grot.ucoz.net/forum/12-20-1
-
Run script editor, add "sfall_headers" into "Location folder of headers files" in the options
-
Open any script here and compile it
-
This shoud create compiled script <file.int>
Build script using VSCode extension
- Install VSCode Extension
Run test script
-
Move compiled
.intfile into game folder asscripts/gl_<script_name>.int -
Run game, check that game displays message about tests