A library for adding extra logic layers to existing bot brains
This is a library meant for use by developers, and may be required as a dependency for some plugins. Installing it by itself will have no effect on your game, without another plugin that utilizes it.
Installation
1) Open the downloaded zip file in 7-zip
2) Select the folders in the zip file in 7-zip
3) Drag the selected folders from 7-zip into your SPT folder
Demonstration Video (Yes, it’s Quest Tracker, but the same concept applies to all of my mods, I’m not making mod-specific extraction example videos. No, you don’t need to drop it onto LICENSE-Launcher.txt, just drop it into your SPT folder):
What is BigBrain
Have you ever wanted to take full control of bots, but found that patching into methods only gets you so far? BigBrain will allow you to insert your own logic layers into bot brains, at whatever priority you want, allowing you to take full control of the bots. If you’ve ever wanted to completely re-write how a bot behaves in certain circumstances, you are also able to remove original layers, so you don’t have to worry about the original BSG brains conflicting with yours.
Mod Developer Notice
Please do not bundle BigBrain directly with your plugin, link users to this mod page to download and install it alongside your plugin. This allows multiple mods to utilize it, without risk of one mod or another being bundled with an old version of BigBrain and potentially breaking things.
Documentation
Documentation is still a to-do, for now the code is the documentation.
I’ve created a test brain that re-implements the logic of the “PatrolAssault” layer, which can be found on GitHub: https://github.com/DrakiaXYZ/SPT-BrainTest
Note due to this being an almost direct re-implementation of the “PatrolAssault” layer, that was mostly used for testing that I was able to interact with all of the things required to re-implement a base logic layer, the logic may not be implemented in the most concise or best manner.
If you enjoy my work, you can feed my caffeine addiction
185.2K Downloads
This version will only work with SPT 3.11.x
* Fix exceptions when a custom layer doesn’t exist in the base node dictionary
599 Downloads
This version will only work with SPT 3.11.x
Fix issue with some bots being less aggressive than expected
- Switch to using further up the class chain for the base logic type
- Switch to using newly publicized methods/fields for BotAgentUpdatePatch, so we can keep the code closer to the original for comparison purposes
681 Downloads
This version will only work with SPT 3.11.x
Update for SPT 3.11
144.5K Downloads
This version will only work with SPT 3.10.x
- Update for SPT 3.10.0
63.5K Downloads
This version will only work with SPT 3.9.x
- Allow layers to be removed and restored during the raid. Thanks DanW!
Note that this doesn’t change anything for end users, but adds functionality useful for other mod developers
121.1K Downloads
This version will only work with SPT 3.9.x
- Add Read-Only Properties to allow other mods to get Custom Layer and Logic Information
Details
-
GUID
Not Available
-
License
-
Source Code
-
Latest Version VirusTotal Result
I’m having a lot of trouble with bots that constantly find my location and focus their attacks on me. As soon as I engage one bot and try to loot items, other bots immediately find me, which is very disruptive. This is really frustrating and seems a bit illogical. How can I fix this?
Does this do anything for the bots or do you need SAIN for this to work? Just wondering since I cant use SAIN anymore I was wondering if this will make the bots act a little more realistic/harder maybe
When I downloaded big brain, it pops up as Internet Explorer and not a file to drag and drop in to BepInEx. Is this right? I’m new to downloading SPT mods.
I started a new game on 3.10, I did two raids and the scavs and pmcs bots don’t move, they just stand there. They die if I shoot them. I don’t know what could have happened, I always used the same mods in all versions. Any solutions!!
infinite loading screen after launching game when using any 3.9 version even with no other mods installed
error in Logoutput file:
[Info : BepInEx] Loading [DrakiaXYZ-BigBrain 1.1.0]
[Info :DrakiaXYZ-BigBrain] Loading: DrakiaXYZ-BigBrain
[Info :ModulePatch] Enabled patch BotBaseBrainActivatePatch
[Info :ModulePatch] Enabled patch BotBrainCreateLogicNodePatch
[Info :ModulePatch] Enabled patch BotBaseBrainUpdatePatch
[Error :DrakiaXYZ-BigBrain] BigBrainPlugin: System.TypeLoadException: Could not resolve type with token 01000061 (from typeref, class/assembly AICoreStrategyAbstractClass, Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null)
at SPT.Reflection.Patching.ModulePatch.Enable () [0x00000] in <e5dceffd0a6946a1bcced9f7927c4643>:0
at DrakiaXYZ.BigBrain.BigBrainPlugin.Awake () [0x00058] in <d81f37d758f9412087706c56b7dfcff9>:0
update 3.10 has already been released and the game is not working due to the fact that the mod is too old
Hi, I got error: [DrakiaXYZ-BigBrain 1.1.0] because it has missing dependencies: com.SPT.core (v3.9.0 or newer)
And the same for for most of you plugin: Waypoints, SearchOpenContainers. I’m on Aki 3.9.8.
the wrong version screenshot
hi, i just install big brain and nothing else but i have infinite load screen yet and dont know what to do anymore… . thank you for your support and help
Unsure if this library may conflict with my modlist, but any plugin version I downloaded all ended up with the infinite loading screen, yikes