From 9f6ca9d55da31e2fb798cbfb351270345b013760 Mon Sep 17 00:00:00 2001 From: NovaRain Date: Mon, 3 Jul 2023 15:39:56 +0800 Subject: [PATCH] Updated some documents --- README.md | 4 ++-- artifacts/mods/gl_highlighting.ssl | 6 +++--- artifacts/mods/readme.txt | 3 +++ artifacts/scripting/compiler/sslc_readme.md | 1 + artifacts/scripting/sfall function notes.md | 2 +- 5 files changed, 10 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 716129ec..962c389a 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ Original description: A set of engine modifications for the classic game Fallout - Download `sfall_*.7z` from the [release archive](https://sourceforge.net/projects/sfall/files/). -- Extract `ddraw.dll`, `ddraw.ini`, `sfall-mods.ini`, `sfall.dat`, and `data` folder to Fallout's base directory (i.e. the one that contains `fallout2.exe`). +- Extract `ddraw.dll`, `ddraw.ini`, `sfall.dat`, and the `mods` folder to Fallout's base directory (i.e. the one that contains `fallout2.exe`). Also, remove `gl_highlighting.int` and `gl_partycontrol.int` from Fallout's `data\scripts\` directory if you have them. - __Important Note:__\ If you are using a mod that already included sfall (e.g. killap's [Unofficial Patch](https://github.com/BGforgeNet/Fallout2_Unofficial_Patch) or [Restoration Project](https://github.com/BGforgeNet/Fallout2_Restoration_Project)), then that mod has probably included a custom modified `ddraw.ini`. In that case, overwriting it with sfall's vanilla `ddraw.ini` will be likely break your game. Instead, only overwrite `ddraw.dll`, and keep the mod's existing copy of `ddraw.ini`. (Or, if you know what you're doing, you can merge them together by hand.) @@ -30,7 +30,7 @@ Original description: A set of engine modifications for the classic game Fallout ## Uninstallation -Delete `ddraw.dll`, `ddraw.ini`, `sfall-mods.ini`, and `sfall.dat` from your Fallout directory. Also, delete `gl_highlighting.int` and `gl_partycontrol.int` from Fallout's `data\scripts\` directory. +Delete `ddraw.dll`, `ddraw.ini`, and `sfall.dat` from your Fallout directory, and delete `sfall-mods.ini` from the `mods` folder. ## Usage diff --git a/artifacts/mods/gl_highlighting.ssl b/artifacts/mods/gl_highlighting.ssl index 096f0421..d71c824c 100644 --- a/artifacts/mods/gl_highlighting.ssl +++ b/artifacts/mods/gl_highlighting.ssl @@ -1,11 +1,11 @@ /** - Item Highlight mod + Item Highlighting mod Previously was part of sfall itself, now a separate mod. Features: - - highlighting items, containers (optional) and lootable corpses (optional) on the ground - - highlighting critters using the same rules as combat mode highlighting (optional) + - highlights items, containers (optional) and lootable corpses (optional) on the ground + - highlights critters using the same rules as combat mode highlighting (optional) - configurable hotkey is used to trigger highlight - hotkey can be pressed and held to continuously update highlighted objects based on current position - only objects in direct line-of-sight of player are highlighted (optional) diff --git a/artifacts/mods/readme.txt b/artifacts/mods/readme.txt index ce09d696..b4723949 100644 --- a/artifacts/mods/readme.txt +++ b/artifacts/mods/readme.txt @@ -1,2 +1,5 @@ To install each mod, copy *.int file into your \data\scripts\ folder. For gl_npcarmor.int, you also need to copy npcarmor.ini to your Fallout directory. + +gl_highlighting.int and gl_partycontrol.int are already included in sfall.dat. +You don't usually need to install them separately. diff --git a/artifacts/scripting/compiler/sslc_readme.md b/artifacts/scripting/compiler/sslc_readme.md index c549efe3..4ea0ab45 100644 --- a/artifacts/scripting/compiler/sslc_readme.md +++ b/artifacts/scripting/compiler/sslc_readme.md @@ -356,6 +356,7 @@ There are several changes in this version of sslc which may result in problems f - fixed optimizer not treating `call string_variable` as variable use - fixed unused arguments in a procedure being removed incorrectly by the optimizer - fixed unused string literals in an optimized-out procedure not being removed by the optimizer +- fixed `get_array` syntax not working for exported variables **sfall 4.2.9:** - added support for additional universal opcodes `sfall_func7` and `sfall_func8` diff --git a/artifacts/scripting/sfall function notes.md b/artifacts/scripting/sfall function notes.md index 51a4e231..55ff82f8 100644 --- a/artifacts/scripting/sfall function notes.md +++ b/artifacts/scripting/sfall function notes.md @@ -930,7 +930,7 @@ sfall_funcX metarule functions ---- #### string_format -`string sfall_func2("string_format", string format, any val1)` +`string sfall_func2("string_format", string format, any val1)`\ `string sfall_funcX("string_format", string format, any val1, any val2, ...)` - Formats given values using standard syntax of C `printf` function (google "printf" for format details). However, it is limited to formatting up to 7 values - The format string is limited to 1024 characters