API for making the implementation of custom bots easier
MoreBotsAPI for SPT 4.0.X
A client and server API that makes making custom bots a little less infuriating. Create a prepatch and server mod that implements this API and you’ll have the basis for introducing new bosses, factions, and any other custom bot you can think of (maybe, this is still Tarkov).
Fika compatible confirmed for version 1.1.0. Make sure you install properly on all clients, the host, and headless with the latest dependencies for any mod that implements this API.
DISCLAIMER
This repo uses the CC BY-NC-SA 4.0 License. To implement this API in your own mod, please contact me first for permission. This API does a lot and has the potential to break other mods and people’s games when used incorrectly. In addition, overriding another mod’s WildSpawnType enum values or vanilla values will cause MANY problems and create a headache for everyone involved, trying to find out what exactly is going wrong for users. In addition, this will make it easier for me to track what WildSpawnType enums are being used so there’s no future conflicts.
Features
- Adds to WildSpawnType enum on client
- Server properly sends custom bot data to client
- Defining custom bot data in a simple format with JSONs on the server
- Defining client-specific data in a client prepatcher
- SAIN compatability with a little setup
What’s not included
- Locales, reference SPT server mod examples for that
- Spawning of custom bots, either implement that using the boss spawn system (UNTAR Go Home uses this method) or create your own system
- Custom behaviors, use BigBrain if you intend on creating completely custom behavior not already found in base EFT bots.
Installation
- Download a release version from GitHub or SPT Forge.
- Open the .7z file using 7-Zip
- Drag the SPT and BepInEx folders into your main SPT directory, those folders alongside EscapeFromTarkov.exe should already exist.
Support Me
Buy me a Java Monster so when I get back from work I can fix my broken releases at lightning speed. Don’t have to though, I’ll do it for free anyways! https://ko-fi.com/tacticaltoaster
33.84 KB
2.4K Downloads
Released Nov 13, 3:57 AM
MoreBotsAPI 1.1.0 for SPT 4.0.X, tested with latest Fika for 4.0.4 (Coop and Headless)
I have tested both Coop and Headless on the latest Fika for SPT 4.0.4 and both my faction mods alongside this API work on it. When using Fika, MAKE SURE you have the client part (BepInEx folder, plugins and patchers) of my mods installed on the host, clients, and headless. Also, make sure you update to the latest WTT Common Lib that supports Fika now.
- Added some new API server functionality.
- Added new server config for debug logs and increasing bot cap on all maps by an int.
- By default this mod now increases the bot cap on all maps for 10 to account for the new factions. If you use a spawning mod, it is best to set this new value in the new server config to 0 and let those mods change the bot cap if they do.
- Added new server logger that only logs debug stuff if config value is set. (Should fix the warn messges that don’t cause problems from showing)
- Added show bot zones as a debug option (just shows the names at the center of spawnpoints).
- Fixed potential client error when checking for custom WildSpawnTypes.
- Changed license to CC BY-NC-SA 4.0
30.65 KB
1.4K Downloads
Released Nov 7, 12:49 AM
Fixed issue when the player dies they are frozen, the raid doesn’t end, and is essentially a silent crash. That doesn’t happen now. At least shouldn’t, I tested it I swear.
30.54 KB
414 Downloads
Released Nov 6, 6:55 AM
Initial release
No Addons Yet
This mod doesn't have any addons yet.
Details
-
GUID
com.morebotsapi.tacticaltoaster
-
Category
-
License
-
Source Code
-
Latest Version VirusTotal Results
-
Fika Compatible Version Available
[MoreBotsAPI] ERROR: Error loading custom bot types: ObjectId must be a 24-character hex string. (Parameter ‘Bear_1’)
this is mostly pedantic, but it would be appreciated if there was a segment, either in the Versions tab, or in the Description, that links to WTT’s CommonLib. since it is a requirement for those running Fika, I think it’d be wise to link to it in the Description somewhere! :)
Thank you for your work; it’s much appreciated to see other factions that align with the game’s lore.
Does this support FIKA?
I can’t start the raid because of an error:Object reference not set to an instance of an object. Pls help
Exactly what I needed for my future plans. All praise the TacticalToaster. Thanks. <3