BigBrain 0.4.0

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 for Quest Tracker, but the same concept applies to all of my mods, I'm not making mod-specific extraction example videos):

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 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)
  • Version 0.1.3

    This version will only work with SPT 3.5.7

    • Some internal restructuring
    • Allow adding and removing more than one layer at a time
    • Added some more helper functions to BrainManager
    • Fix a bug where sometimes custom layers wouldn't get priority over base layers, if their priority numbers were the same


    Backwards compatible with mods built for BigBrain 0.1.2

  • Version 0.1.2

    - Initial release


    This version will only work with SPT 3.5.7

  • 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.

  • Works quite well. Thanks you

    Heart 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.0.0] because it has missing dependencies: com.spt-aki.core (v3.7.0 or newer)


    Any solutions?

    • You may be using beta version 3.7.0

      Yesterday I also had this error

      Today I downloaded stable version and there are no more errors.

    • BigBrain works fine with the latest 3.7.0 (Release version) from this site. Something is wrong with your SPT install if it's not working

  • so im attempting to download this mod library and when i go to extract the files im only getting the bepInEx file and not the user file

    • That's because this is a client mod, it only has a BepInEx folder

  • Hello, is there anyway to confirm the mod is installed correctly and working properly?

    • If a mod that depends on it (SAIN, Looting Bots) loads properly, then it's installed properly. This mod does nothing on its own, it's a library for other mods to use.

      Thumbs Up 1
    • The error in the log file points at TraderModding, not BigBrain:


      Code
      [Warning:  HarmonyX] AccessTools.GetTypesFromAssembly: assembly Wara-TraderModding


  • hello, I have this mod loaded, but when I press F12, it is not there, version 3.5.8. Waypoints by DrakiaX working

    • BigBrain does not have any settings, so will not show up in the F12 menu. It is a library used by other mods, such as SAIN and Looting Bots.

  • can you edit the bots with this mod ??

    • Mod developers can use this mod to add new behaviour to AI, it's a library meant for use by other mods.

  • I have a bunch of mods installed and they're all appearing in the command line when running the server (including SAIN and SWAG). But in the f12 menu, I can't find SAIN and SWAG. Just went on the BepInEx log file and it's saying I'm missing dependencies: com.spt-aki.core (v3.5.8 or newer). Posting the log underneath too.


    I'm running the SPT 3.5.8.


    https://wtools.io/paste-code/bOzC

    • You have invalid SPT AKI DDLs, did you copy your BepInEx/Plugins/ directory from a 3.5.7 install?


      If so, re-download SPT 3.5.8, and re-extract the BepInEx/Plugins/ folder into your SPT folder, overwriting the existing files

      Thumbs Up 1
  • Hello


    I have infinite loading with this mod...

    The bepinex log show an error with bigbrain


    https://codepaste.sp-tarkov.co…chvRiLik1MWBvs3mzwagxXgwN

    Line 134

    • You're running an incompatible build of BigBrain. 0.1.4 is required for SPT 3.5.8

  • Fresh install of 3.5.8 this morning after troubleshooting. getting this error

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


    Any suggestions?

    • Please upload your "BepInEx/LogOutput.log" file to somewhere like dropbox or pastebin and link it here

    • I did a manual download and install instead of the installer and it is working at intended, If i get this error again ill post the log. My apologies I already deleted it and did a fresh install before I saw this.

  • I cant use it

  • My game is stuck on infinite load loop during startup. Following mods are:


    RaiRaiTheRaichu-AllTheClothes

    ServerValueModifier

    SPT-Realism-Mod

    zSolarint-SAIN-ServerMod


    Removing bigbrain from plugins fixes the infinite loading, but I expect SAINs will not work properly. I'm confused what to do

    • Upload your BepInEx/LogOutput.log file somewhere and link it, and I can see if it contains any errors. Considering nobody else has run into this issue though (Out of 5000+ downloads), I don't see it actually being BigBrain

    • Here's the .log file: https://drive.google.com/file/…dkFRI/view?usp=drive_link


      I'm sure it's related to bigbrain, but it's possible I still messed something up. I just can't figure out what.

    • It wouldn't let me access that without requesting access

    • I know it's in really small letters that blend in with the rest of the text, and is only on the Description page, AND the version page, so it's hard to find, but when a mod says


      This version will only work with SPT 3.5.7


      That means it only works on SPT 3.5.7

      Thinking 2
  • Hello, how/where do i install this mod? I am very stupid, please say to me like i am 5.

    • Put the folder inside the .zip file you download into the same folder you installed SPT in.

  • 🧠

    Thinking 1 Heart 1
  • Holy smoking toledos, I've never written a line of code in my life but it looks like this is about to blow the ceiling off what is possible in AI modding. Super excited to see where this goes - sounds like Solarint has something BIG in the pipe for it.

    Heart 1
    • Both SAIN and Looting Bots are being ported to BigBrain, which has greatly simplifies implementing the functionality, and has allowed SAIN to have massively improved behaviours. I'm looking forward to all of the mods people will make with this in the future :)

      Thumbs Up 1
  • this mod will change alot in spt! awesome

    Heart 1
  • Super excited to see the potential of this. In my opinion the SpTarkov experience's biggest limitation at the moment is the AI and EFT game optimization. It's so wonderful to see everyone improving the AI, I dream of the day AI can wander all parts of the map and not stand in place waiting to be killed.

    Thumbs Up 1 Heart 1
  • What does this mod do? Literally nothing, do not download this unless you have been sent here by a mod that uses it as a dependency or you are intending to develop a mod that will use this library.

    What will happen if you download this and install it in your game and it's not being used by another mod as a dependency? Literally nothing.

    I want to extend a heartfelt apology for the comment I made regArdIng the mod in question. My words were insensitive and inconsiderate, and I deeply regret the harm they may have caused, especially to new users who came to check out the mod.


    In my earlier comment, I wrote, "What does this mod do? Literally nothing, do not download this unless you have been sent here by a mod that uses it as a dependency or you are intending to develop a mod that will use this library. What will happen if you download this and install it in your game and it's not being used by another mod as a dependency? Literally nothing." These words were dismissive and unhelpful. I understand that such comments can be disheartening and may deter potential users from exploring a mod that might have value for them.


    I want to acknowledge the importance of fostering a welcoming and supportive environment for everyone, particularly newcomers. I failed to do so with my previous comment, and for that, I am truly sorry.


    My intention was never to hinder anyone's experience or discourage them from trying out the mod. I should have provided a more informative and considerate response, highlighting the mod's potential benefits or the specific circumstances where it might be useful. Instead, my words came across as harsh and dismissive.


    I understand that the modding community can be a place where people come to share their creations, learn, and connect with others who share their interests. It's crucial to respect and encourage these aspects of the community. My comment failed to uphold these values.


    I also recognize that feedback, even if critical, can be constructive and valuable. However, my previous comment lacked the necessary constructive elements, and it was merely negative. It's essential to approach criticism with kindness, understanding, and a willingness to help others improve.

    To those who were affected by my comment, particularly new users exploring the mod, I am genuinely sorry. I hope you can find it within yourselves to give the mod a fair chance and make your own assessment based on its merits.


    In the future, I will strive to be more considerate and thoughtful in my interactions within the modding community and any other community I engage with. I've learned a valuable lesson about the power of words and the responsibility that comes with them.

    Once again, I apologize for my previous comment and any harm it may have caused. Thank you for your understanding.

    Heart 1 ? 1
    • people fear what they do not understand.

      Happy 4 Thumbs Up 2 Thinking 1
    • @LeeNelson You see my heart react on Tiny's post? Dude was more helpful than I bet you'll ever be in the creation of most of my mods.


      You want to talk about participation trophies? You replied to a 5 month old post trying to make fun of someone who is actually helpful in an attempt to feel superior, and just made yourself look like a fool, gg bro. lol.

      Happy 1
    • You are not a smart man @LeeNelson


      Tiny was the primary QA and tester for most of the AI mods that came out when I joined the SPT modding scene, including BigBrain, Waypoints, and SAIN.


      You... well, just look at your comments, you're not really contributing anything of substance to SPT

      Heart 1
    • alright, nm. I'll dlelete and yall have a nice day.
      Thanks for the mods that spin off your thing, bro. gg

      Happy 1
    • @LeeNelson you have entirely misunderstood the context of the comment that I made, which isn't unexpected considering you made your obnoxious comment over 5 months later.

      My comment was made within 10 mins of this mod going live when there wasn't a complete description and there has also been a LONG track record of people completely disregarding the description and coming to the comments to complain/look for more info.

      I was trying to convey in a very succinct way for anyone that was looking at this mod when it was released that this mod, by itself, does nothing and you should NOT download it until you have a mod that will use it as a dependency.

      In closing: But hey, you get your participation trophy for posting something unhelpful online! gg bro. lol.

      Heart 1 Thumbs Up 1
  • does this work with 3.2.1?????????????

    ? 3 Happy 1 Thinking 1
    • Thanks for the reminder, I forgot to put 3.5.7 in big bold letters in the description, and version!

      Crying 1
    • This seems very cool. I guess it might tie into your other project getting bots to roam a bit more around the map?

    • Its the foundation to a massive update for SAIN I've been working on. :)

      Thumbs Up 5 Heart 4 Happy 1