You are viewing a potentially older version of this package.
View all versions.
Enemy AI Toggle
[Experimental - DO NOT DOWNLOAD yet, still being tested] Press F8 to freeze cannibals and mutants in place; choose which creature types freeze in the config. Kelvin and Virginia keep working. Host-side.
By AzNean
| Date uploaded | 3 weeks ago |
| Version | 0.1.6 |
| Download link | AzNean-Enemy_AI_Toggle-0.1.6.zip |
| Downloads | 36 |
| Dependency string | AzNean-Enemy_AI_Toggle-0.1.6 |
This mod requires the following mods to function
BepInEx-BepInExPack_IL2CPP
BepInEx pack for IL2CPP x64 Unity games. Preconfigured and ready to use.
Preferred version: 6.0.788README
EnemyAiToggle (Sons of the Forest, BepInEx IL2CPP)
[Experimental] Do not download yet: still being tested.
Freezes cannibals and mutants in place without touching Kelvin, Virginia, saves or buildings.
- Toggle: F8 in game, or set
EnemiesFrozeninBepInEx/config/aznan.sotf.enemyaitoggle.cfg. - Choose what freezes: section
[Frozen types], one checkbox per creature type (editable in Gale's config editor). Cannibals, mutants and bosses are ticked by default; Kelvin (Robby), Virginia and animals are not. - An on-screen message shows
Enemy AI: ON/OFFwhen you press the key. - Multiplayer: install on the host (AI runs on the host).
Build (after launching the game once from a Gale profile with BepInExPack_IL2CPP, so <profile>/BepInEx/interop exists):
dotnet build games/sons-of-the-forest/enemy-ai-toggle -p:SotfDir="<Gale profile folder>"
CHANGELOG
Changelog
0.1.25
- The log now warns when the game refuses sleep while creatures are frozen and they may have been counted as a threat.
0.1.24
- The diagnostic log (Debug/FullLogging) now says why a creature was not frozen and whether its animation was stopped.
0.1.23
- Frozen creatures near you no longer stop you from sleeping: the game was still counting them as a threat and said it was not safe to sleep.
- New setting to turn this off.
- The log now says, at each sleep, how many enemies the game counted near you and why it woke you up.
0.1.22
- The log now always says when the key is pressed and what it did.
0.1.21
- A message time of 2 seconds that you choose yourself is now kept; the old 2 seconds is only replaced once.
0.1.20
- The on-screen message now stays 4 seconds for everyone; some saved settings were still stuck on the old 2 seconds.
0.1.19
- Added how to contact me.
0.1.18
- Creatures the game brings back after a while now freeze and unfreeze like the others, instead of staying frozen for good.
- Unfreezing no longer wakes up creatures the game itself had switched off.
- In multiplayer, a guest pressing the key gets a message saying only the host can freeze enemies, instead of freezing only what they see.
0.1.17
- Listed in the right categories on Thunderstore.
0.1.16
- New icon.
0.1.15
- New Debug setting FullLogging: writes every step to the BepInEx log, to send with a bug report (off by default).
0.1.14
- Number settings have no limits any more: type any value (the advised range is in each setting's description).
0.1.13
- Settings are grouped in the same order in every mod; your values are kept.
0.1.12
- The version shown in game is now the right one.
0.1.11
- Removed the "do not download" warning that 0.1.10 showed by mistake.
0.1.10
- Removed the empty "None" box from the frozen types.
- Kelvin is now called Kelvin in his box's description and in the message (the game files call him Robby).
0.1.9
- No longer experimental: ready to use.
0.1.8
- The message now says plainly whether enemy AI is on or off, and lists the frozen creature types.
- Messages follow the game's language.
- The message stays on screen 4 seconds instead of 2.
0.1.7
- Clearer message wording.
0.1.6
- Added settings for the message text and position, and for whether frozen creatures keep animating.
0.1.5
- Choose which creature types freeze, one box per type.
0.1.4
- Pressing F8 now shows a message on screen.
0.1.3
- Reworded the "do not download yet" warning.
0.1.2
- The log now shows the right version number.
0.1.1
- Marked as experimental.
0.1.0
- First release: F8 freezes cannibals and mutants.