diff --git a/artifacts/example_mods/AutoDoors/gl_autodoors.ssl b/artifacts/example_mods/AutoDoors/gl_autodoors.ssl index f8188a72..37d2bf5e 100644 --- a/artifacts/example_mods/AutoDoors/gl_autodoors.ssl +++ b/artifacts/example_mods/AutoDoors/gl_autodoors.ssl @@ -7,10 +7,13 @@ Auto Doors mod v1.2 for Fallout 2 by Mr.Stalin Requires sfall 3.7b or higher -NOTE: this script requires compiler from sfall modderspack with -s option (short circuit evaluation) +NOTE: this script requires compiler from sfall modderspack with -s option +(short circuit evaluation) */ +#pragma sce + /* Include Files */ #include "..\headers\define.h" //#include "..\headers\command.h" diff --git a/artifacts/example_mods/ItemHighlight_Lite/gl_highlighting_lite.int b/artifacts/example_mods/ItemHighlight_38x/gl_highlighting_38x.int similarity index 100% rename from artifacts/example_mods/ItemHighlight_Lite/gl_highlighting_lite.int rename to artifacts/example_mods/ItemHighlight_38x/gl_highlighting_38x.int diff --git a/artifacts/example_mods/ItemHighlight_Lite/gl_highlighting_lite.ssl b/artifacts/example_mods/ItemHighlight_38x/gl_highlighting_38x.ssl similarity index 97% rename from artifacts/example_mods/ItemHighlight_Lite/gl_highlighting_lite.ssl rename to artifacts/example_mods/ItemHighlight_38x/gl_highlighting_38x.ssl index 9497037e..fdee2a3a 100644 --- a/artifacts/example_mods/ItemHighlight_Lite/gl_highlighting_lite.ssl +++ b/artifacts/example_mods/ItemHighlight_38x/gl_highlighting_38x.ssl @@ -1,8 +1,8 @@ /** - Item Highlighting mod (Lite version) + Item Highlighting mod (sfall 3.8.x version) - A cut-down version of the mod included in sfall 4.x, offering more features than the built-in function. + A script-based alternative to the built-in function, with more features and flexibility. Features: - highlights items, containers (optional) and lootable corpses (optional) on the ground - highlights critters using the same rules as combat mode highlighting (optional) @@ -21,6 +21,8 @@ **/ +#pragma sce + #include "main.h" //#include "..\..\..\!SRC\headers\define.h" diff --git a/artifacts/example_mods/ItemHighlight_Lite/main.h b/artifacts/example_mods/ItemHighlight_38x/main.h similarity index 100% rename from artifacts/example_mods/ItemHighlight_Lite/main.h rename to artifacts/example_mods/ItemHighlight_38x/main.h diff --git a/artifacts/example_mods/ItemHighlight_Lite/readme.txt b/artifacts/example_mods/ItemHighlight_38x/readme.txt similarity index 54% rename from artifacts/example_mods/ItemHighlight_Lite/readme.txt rename to artifacts/example_mods/ItemHighlight_38x/readme.txt index eb3760d8..0b41ea7c 100644 --- a/artifacts/example_mods/ItemHighlight_Lite/readme.txt +++ b/artifacts/example_mods/ItemHighlight_38x/readme.txt @@ -1,7 +1,7 @@ -Item Highlighting mod (Lite version) for sfall 3.8.x ----------------------------------------------------- +Item Highlighting mod for sfall 3.8.x +------------------------------------- -A cut-down version of the mod included in sfall 4.x, offers more features than the built-in function. +A script-based alternative to the built-in function, with more features and flexibility. Features: - highlights items, containers (optional) and lootable corpses (optional) on the ground - configurable hotkey is used to trigger highlight @@ -12,10 +12,10 @@ Features: Requires sfall 3.8.12 or higher. -To use, copy gl_highlighting_lite.int to your scripts folder and sfall-mods.ini to the mods folder in the same directory as sfall. -Create the mods folder if it does not exist. Also, you should disable the built-in function in ddraw.ini (ToggleItemHighlightsKey=0). +To use, copy gl_highlighting_38x.int to your scripts folder and sfall-mods.ini to the "mods" folder in the same directory as sfall. +Create the "mods" folder if it does not exist. Also, you should disable the built-in function in ddraw.ini (ToggleItemHighlightsKey=0). -Note that due to the lack of newer game hooks in sfall 3.8.x, there are some minor visual glitches in the lite version: +Note that due to the lack of some game hooks in earlier sfall 3.8.x, there are some minor visual glitches in the mod: - items will be kept highlighted when entering combat while holding the highlight key (fixed in 3.8.40+). - when you pick up items while holding the highlight key, they will be kept highlighted if you drop them on the ground (fixed in 3.8.18+). Both glitches can bo solved by pressing and releasing the highlight key again. diff --git a/artifacts/example_mods/ItemHighlight_Lite/sfall-mods.ini b/artifacts/example_mods/ItemHighlight_38x/sfall-mods.ini similarity index 100% rename from artifacts/example_mods/ItemHighlight_Lite/sfall-mods.ini rename to artifacts/example_mods/ItemHighlight_38x/sfall-mods.ini diff --git a/artifacts/example_mods/MolotovFire/gl_molotov.ssl b/artifacts/example_mods/MolotovFire/gl_molotov.ssl index 567d2cf1..da78a618 100644 --- a/artifacts/example_mods/MolotovFire/gl_molotov.ssl +++ b/artifacts/example_mods/MolotovFire/gl_molotov.ssl @@ -13,14 +13,15 @@ NOTE: this script requires compiler from sfall modderspack with -s option */ - -procedure start; -procedure afterhitroll_handler; +#pragma sce #include "..\headers\define.h" #include "..\headers\sfall\sfall.h" #include "..\headers\sfall\define_extra.h" +procedure start; +procedure afterhitroll_handler; + procedure start begin if game_loaded then begin register_hook_proc(HOOK_AFTERHITROLL, afterhitroll_handler); diff --git a/artifacts/example_mods/NPCArmor_Lite/gl_npcarmor_lite.int b/artifacts/example_mods/NPCArmor_38x/gl_npcarmor_38x.int similarity index 100% rename from artifacts/example_mods/NPCArmor_Lite/gl_npcarmor_lite.int rename to artifacts/example_mods/NPCArmor_38x/gl_npcarmor_38x.int diff --git a/artifacts/example_mods/NPCArmor_Lite/gl_npcarmor_lite.ssl b/artifacts/example_mods/NPCArmor_38x/gl_npcarmor_38x.ssl similarity index 98% rename from artifacts/example_mods/NPCArmor_Lite/gl_npcarmor_lite.ssl rename to artifacts/example_mods/NPCArmor_38x/gl_npcarmor_38x.ssl index 5c52c231..4a1270fd 100644 --- a/artifacts/example_mods/NPCArmor_Lite/gl_npcarmor_lite.ssl +++ b/artifacts/example_mods/NPCArmor_38x/gl_npcarmor_38x.ssl @@ -1,8 +1,8 @@ /* - NPC Armor Appearance mod (Lite version) + NPC Armor Appearance mod (sfall 3.8.x version) - A cut-down version of the mod included in sfall 4.x modders pack. Used to replace the scripted part of B-Team mod. + Basically the same as the mod included in sfall 4.x modders pack. Used to replace the scripted part of B-Team mod. Appropriate graphics are required for this mod to work. Can be adopted to any mod by adjusting armor PIDs, allowed weapon anim codes, NPC PIDs and NPC FIDs in INI file. @@ -15,6 +15,8 @@ */ +#pragma sce + #include "main.h" #define IS_ARMOR(item) (obj_type(item) == OBJ_TYPE_ITEM and obj_item_subtype(item) == item_type_armor) diff --git a/artifacts/example_mods/NPCArmor_Lite/npcarmor - vanilla.ini b/artifacts/example_mods/NPCArmor_38x/npcarmor - vanilla.ini similarity index 100% rename from artifacts/example_mods/NPCArmor_Lite/npcarmor - vanilla.ini rename to artifacts/example_mods/NPCArmor_38x/npcarmor - vanilla.ini diff --git a/artifacts/example_mods/NPCArmor_Lite/npcarmor.ini b/artifacts/example_mods/NPCArmor_38x/npcarmor.ini similarity index 100% rename from artifacts/example_mods/NPCArmor_Lite/npcarmor.ini rename to artifacts/example_mods/NPCArmor_38x/npcarmor.ini diff --git a/artifacts/example_mods/NPCArmor_Lite/readme.txt b/artifacts/example_mods/NPCArmor_38x/readme.txt similarity index 62% rename from artifacts/example_mods/NPCArmor_Lite/readme.txt rename to artifacts/example_mods/NPCArmor_38x/readme.txt index 64994ea7..a44731db 100644 --- a/artifacts/example_mods/NPCArmor_Lite/readme.txt +++ b/artifacts/example_mods/NPCArmor_38x/readme.txt @@ -1,17 +1,17 @@ -NPC Armor Appearance mod (Lite version) for sfall 3.8.x -------------------------------------------------------- +NPC Armor Appearance mod for sfall 3.8.x +---------------------------------------- -A cut-down version of the mod included in sfall 4.x modders pack. Used to replace the scripted part of B-Team mod. +Basically the same as the mod included in sfall 4.x modders pack. Used to replace the scripted part of B-Team mod. Appropriate graphics are required for this mod to work, or you can set party members to use player's armor appearance instead. Can be adopted to any mod by adjusting armor PIDs, allowed weapon anim codes, NPC PIDs and NPC FIDs in INI file. Requires sfall 3.8.29 or higher. -To use, copy gl_npcarmor_lite.int to your scripts folder and copy npcarmor.ini to the same directory as sfall. +To use, copy gl_npcarmor_38x.int to your scripts folder and copy npcarmor.ini to the same directory as sfall. The default npcarmor.ini is set up for Restoration Project 2.3.3. Check the included "npcarmor - vanilla.ini" for an example that does not require any new graphics. -Note that due to the lack of newer game hooks in sfall 3.8.x, there is a minor glitch in the lite version: +Note that due to the lack of some game hooks in earlier sfall 3.8.x, there is a minor glitch in the mod: - in combat, NPCs can pick up and try to equip weapons with anim codes that are not allowed in INI file but supported by their appearance (fixed in 3.8.40+). diff --git a/artifacts/example_mods/PartyControl_Lite/gl_partycontrol_lite.int b/artifacts/example_mods/PartyControl_38x/gl_partycontrol_38x.int similarity index 100% rename from artifacts/example_mods/PartyControl_Lite/gl_partycontrol_lite.int rename to artifacts/example_mods/PartyControl_38x/gl_partycontrol_38x.int diff --git a/artifacts/example_mods/PartyControl_Lite/gl_partycontrol_lite.ssl b/artifacts/example_mods/PartyControl_38x/gl_partycontrol_38x.ssl similarity index 98% rename from artifacts/example_mods/PartyControl_Lite/gl_partycontrol_lite.ssl rename to artifacts/example_mods/PartyControl_38x/gl_partycontrol_38x.ssl index 6f655f4f..4d03bbc8 100644 --- a/artifacts/example_mods/PartyControl_Lite/gl_partycontrol_lite.ssl +++ b/artifacts/example_mods/PartyControl_38x/gl_partycontrol_38x.ssl @@ -1,8 +1,8 @@ /* - NPC Combat Control (Lite version) + NPC Combat Control (sfall 3.8.x version) - A script-based mod of the removed built-in ControlCombat option, offering more features and improvements. + A script-based mod of the removed built-in ControlCombat option, with more features and improvements. Features: - allows you to take control of your party members or other NPCs during combat (unlike in newer 4.x versions, controlled critters cannot use Sneak skill in combat) @@ -19,6 +19,8 @@ */ +#pragma sce + #include "..\headers\global.h" #include "..\headers\critrpid.h" #include "main.h" diff --git a/artifacts/example_mods/PartyControl_Lite/readme.txt b/artifacts/example_mods/PartyControl_38x/readme.txt similarity index 66% rename from artifacts/example_mods/PartyControl_Lite/readme.txt rename to artifacts/example_mods/PartyControl_38x/readme.txt index 1e6c8657..4a6b62d3 100644 --- a/artifacts/example_mods/PartyControl_Lite/readme.txt +++ b/artifacts/example_mods/PartyControl_38x/readme.txt @@ -1,7 +1,7 @@ -NPC Combat Control mod (Lite version) for sfall 3.8.x ------------------------------------------------------ +NPC Combat Control mod for sfall 3.8.x +-------------------------------------- -A script-based mod of the removed built-in ControlCombat option, offering more features and improvements. +A script-based mod of the removed built-in ControlCombat option, with more features and improvements. Features: - allows you to take control of your party members or other NPCs during combat (unlike in newer 4.x versions, controlled critters cannot use Sneak skill in combat) @@ -12,5 +12,5 @@ Features: Requires sfall 3.8.40 or higher. -To use, copy gl_partycontrol_lite.int to your scripts folder and sfall-mods.ini (in ItemHighlight_Lite) to the mods folder in the same directory as sfall. -Create the mods folder if it does not exist. +To use, copy gl_partycontrol_38x.int to your scripts folder and sfall-mods.ini (in ItemHighlight_38x) to the "mods" folder in the same directory as sfall. +Create the "mods" folder if it does not exist.