BigBrain 1.2.0

Please do not ask when mod authors will update their mods to 3.10 or if they can upload older versions of their mods.
Bothering mod authors will lead to warnings and repeat offenses will lead to eventual bans.

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):

mZ1aLrW.gif


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

  • Version 1.2.0

    This version will only work with SPT 3.10.x

    • Update for SPT 3.10.0
  • Version 1.1.0

    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

  • Version 1.0.1

    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
  • Version 1.0.0

    This version will only work with SPT 3.9.x

    • Update for 3.9.0
  • Version 0.4.0

    This version will only work with SPT 3.8.0

    • Update for 3.8.0
  • Version 0.3.2

    This version will only work with SPT 3.7.1-3.7.6

    Improved error handling

  • Version 0.3.1

    This version will only work with SPT 3.7.1, 3.7.2, 3.7.3

    Update for 3.7.1 / 26535

  • Version 0.3.0

    This version will only work with SPT 3.7.0


    Update for 3.7.0 / 26282

  • Version 0.2.0

    This version will only work with SPT 3.6.0-3.6.1


    Update for 3.6.0 / 25206

  • Version 0.1.4

    This version will only work with SPT 3.5.8

    • Update for SPT 3.5.8
    • Add some more sanity checks
    • Add some methods that can be useful for debugging (Used by BotDebug)
  • 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

    • found the issue its because this mod doesnt work with 3.9.0 so I updated it and it works

      Thumbs Up 1
  • update 3.10 has already been released and the game is not working due to the fact that the mod is too old

    Happy 1
    • 3.10 is not out, it is in testing and not meant to be used by regular users

      Happy 1
  • 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

    • Can you please upload these three log files to codepaste:

      • user/logs/server-[date].log
      • BepInEx/LogOutput.log
      • Logs/log_[date]/[date] traces.log


      And then link them here?

  • 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

    • Upload the following logs to https://codepaste.sp-tarkov.com/ (Each in their own codepaste) and link them here, and I can take a look at what may be causing the problem


      `BepInEx/LogOutput.log`

      `user/logs/server-[date].log`

      `Logs/log_[date]/[date] traces.log`

  • Unsure if this library may conflict with my modlist, but any plugin version I downloaded all ended up with the infinite loading screen, yikes

    • Upload the following logs to https://codepaste.sp-tarkov.com/ (Each in their own codepaste) and link them here, and I can take a look at what may be causing the problem


      `BepInEx/LogOutput.log`

      `user/logs/server-[date].log`

      `Logs/log_[date]/[date] traces.log`

  • :thumbup: <3

  • Virus detected on my end

    Thumbs Up 1
  • New version is getting flagged by Windows Defender as containing a Trojan.

    Thumbs Up 1
  • windows defender is always flagging the .7zip file, that was not the case with version 1.0.0 witch does not work with the latest version of questing bots.

    • Yeah unfortunately we can't play the new version of Questing Bots until this stops getting flagged.

      Crying 1
  • i tryed to download it but gives me all the time virus warnings and the download stops

    • Same

    • Happens almost every time I push a new update, Windows really hates new DLL files. It'll eventually stop triggering Windows Defender, but there's nothing I can do about it for now

      Thumbs Up 1
    • Same, but it seems more like a Chrome thing than a Windows thing.

  • It is allowed to ask for support in the comments? I don't really understand what the problem is, but the mod causes infinite loading on the title screen.

    Thumbs Up 2
    • That means you're using the wrong version of the mod for your version of SPT

    • Maybe other than that? SPT 3.9.0, BB 1.0, EFT 30626 all seem to pass by version.

    • Upload the following logs to CodePaste ( https://codepaste.sp-tarkov.com/ ) and link the resulting uploads here (One upload per codepaste):

      1) `user/logs/server-[date].log`

      2) `BepInEx/LogOutput.log`

      3) `Logs/log_[date]/[date] traces.log`

    • My deepest apologies. It was an accidentally dropped Questing bots, and since it required BigBrain to work, pulling and inserting from plugins your mod I turned off/on Questing bots as well.

      Thumbs Up 1
    • I have the same problem, but I don’t understand at all how you solved it. I don't understand what quest bots are.

      Thumbs Up 1
  • you need to do better. fix it. ya'll all talented it.

  • use the new ai features in the patch by war state games ?

    • doase it

    • No, BigBrain is a library used by other mods to add additional AI behaviour, it does nothing on its own

  • makes it ai better ?

  • little fun fact, the name of this mod is actually a reference to DrakiaXYZ's humongous brain. only a bigbrained individual is capable of creating such a complex mod (and other amazing mods as well)

    Heart 1
  • Hi!
    Didn`t see any "brain`s" menu in F12 BepInX... But i`m sure i saw it on previous versions. Is it right?

    • BigBrain is a library used by other mods, it has never had an F12 entry, as it has no configuration options

      Heart 1
    • yep you have to take swag + donut for having the menu ;)

  • This working for 3.8.3? Says latest is 3.8.1, but I just want to be sure if it is/isn't compatible.

    Thumbs Up 1
  • is their a way to get this to work with 3.8.1 i have waypoints and sain but need this and im on 3.8.1

  • Thank you for making this mod! I am a Chinese player and I want to ask may I repost your mod to our website? Of course I will indicate the source and your name

    • If you don't want me to repost, please let me know

    • Go for it, just link back here and to the GitHub page

    • Thank you again!

  • please update to 3.9.0

    • What? No, that would be stupid, 3.9.0 has barely started development, and won't be out for months. Don't be dumb, don't run the unstable development branch

    • bro lives in the future god dauym

      Happy 1
  • Hi!

    Trying to use last version in AKI 3.7.0 and got tne next error


    [Error] : Could not load [DrakiaXYZ-BigBrain 0.3.2.0] because it has missing dependencies: com.spt-aki.core (v3.7.1 or newer)


    Any solutions?

    Crying 1
  • insurance seems to not be working, i have only sain and the two required mods so its one fo those three, any suggestions?

    • Neither SAIN, BigBrain nor Waypoints interacts in any way with insurance. You're either very unlucky and are rolling losses, or something else is wrong with your SPT install

  • Mod wont load in. Have removed and reinstalled multiple times. Wont show in mod list.

    • BigBrain does not have any settings, it is a library used by other mods, so does not show up in the F12 menu

  • Does it work with 3.7.6? Maybe a dumb question because the Version of the game didn't change i just want to make sure before make a clean install of SPT an get a error after all lol

    • Yeah should be no issues running on 3.7.6, I just haven't have a chance to update my local copy and test everything officially. All my mods should work though

  • is there an issue with the required mods, i have a legit copy of tarkov and this mod doesnt work, i just get emty raids no matter what preset i choose?

    • BigBrain doesn't change spawns at all, so whatever issue you're having would be with another mod, or you'll need to provide more information (BepInEx or client logs)

  • ERROR: This version of DrakiaXYZ-BigBrain v0.3.2.0 was built for Tarkov 26535, but you are running 27050. Please download the correct plugin version.


    will big brain be updated to the new version any time soon?

    • There is no released version of SPT for 27050, stop being a pirate and go buy Tarkov: https://www.escapefromtarkov.com/preorder-page

    • i did buy tarkov, but i tried using big brain with the sit coop mod so im guessing thats why it doesn't work

    • SIT is not SPT. None of my mods support SIT, and I don't offer support if you're trying to use my mods with SIT.

    • ah ok ty for the response

      sorry to bug you

    • All good, just keep in mind most client mods will not work with SIT, I don't know why their GitHub seems to claim it has anything to do with the "quality" of the mod.


      Mods are written for SPT, and SIT strays quite a bit from SPT in terms of de-obfuscation and remapping. This is more a SIT issue than it is a mod or SPT issue.

  • I rate this 10/10 Tushonkas!

  • Has anyone else ran into the issue when you download the BigBrain Mod you aren't getting the user folder that its showing should be in the folder? I am trying to get it I have waypoint and Sain in but I can't get the BigBrain to install properly or download properly.

    • BigBrain is a client-only mod, it doesn't come with a user folder. As the description says right above the video "I'm not making mod-specific extraction example videos".


      BIgBrain is a library used by other mods, it doesn't show up in the F12 menu, it doesn't say anything in the server. It sits there and does nothing unless another mod is using it. If the other mod loads, then BigBrain is installed properly.