The Forge is currently under heavy construction. Expect nothing to work. Data is reset every hour.

Mod Details

BigBrain

BigBrain 1.2.0

Created by DrakiaXYZ

615.6K Downloads

Unknown SPT Version

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

8.0K Downloads

Unknown SPT Version Virus Total Results
Created Nov 27th, 5:14 AM Updated 9 hours ago

This version will only work with SPT 3.10.x

  • Update for SPT 3.10.0
Version 1.1.0

57.9K Downloads

Unknown SPT Version Virus Total Results
Created Oct 1st, 2024 Updated Jan 2nd, 9:30 AM

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

120.6K Downloads

Unknown SPT Version Virus Total Results
Created Jul 20th, 2024 Updated 9 hours ago

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

30.1K Downloads

Unknown SPT Version Virus Total Results
Created Jul 6th, 2024 Updated Jan 3rd, 12:27 AM

This version will only work with SPT 3.9.x

  • Update for 3.9.0
Version 0.4.0

172.1K Downloads

Unknown SPT Version Virus Total Results
Created Apr 1st, 2024 Updated 2 hours ago

This version will only work with SPT 3.8.0

  • Update for 3.8.0
Version 0.3.2

100.5K Downloads

Unknown SPT Version Virus Total Results
Created Nov 27th, 5:20 AM Updated Jan 6th, 12:37 AM

This version will only work with SPT 3.7.1-3.7.6

Improved error handling

Version 0.3.1

40.2K Downloads

Unknown SPT Version Virus Total Results
Created Oct 14th, 2023 Updated 58 minutes ago

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

13.4K Downloads

Unknown SPT Version Virus Total Results
Created Oct 8th, 2023 Updated 24 minutes ago

This version will only work with SPT 3.7.0

Update for 3.7.0 / 26282

Version 0.2.0

44.4K Downloads

Unknown SPT Version Virus Total Results
Created Jul 30th, 2023 Updated 3 hours ago

This version will only work with SPT 3.6.0-3.6.1

Update for 3.6.0 / 25206

Version 0.1.4

19.2K Downloads

Unknown SPT Version Virus Total Results
Created Jun 25th, 2023 Updated Jan 6th, 1:22 AM

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

3.5K Downloads

Unknown SPT Version Virus Total Results
Created Jun 24th, 2023 Updated 4 hours ago

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

5.9K Downloads

Unknown SPT Version Virus Total Results
Created May 31st, 2023 Updated 11 hours ago

- Initial release

This version will only work with SPT 3.5.7

Not quite yet...