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

Mod Details

AI Limit

AI Limit 1.8.0

Created by Props

69.5K Downloads

SPT 3.9.8 Compatible

Disable AI (temporarily) based on distance to the player and user defined bot limit within that distance. Only the closest bots (distance wise) are enabled based on a max value you set in bepinex config.

Compatibility

Should work with spt-aki 3.5.4 and above with the newest versions

Installation

1. Download the file and unzip it into your SPT-AKI folder.

2. Verify that your Spt-aki/Bepinex/Plugins folder now has a dvize.AILimit.dll file in it.

Using the Plugin

1. Press the F12 Key to bring up the Bepinex Plugin Config Menu (At any point in the Tarkov game)

2. Configure the Bot Limit and the Distance to your cpu needs.

3. Click anywhere off screen

4. Profit.

How is this different from AI Disabler (thanks Nexus4880)'s mod?

For instance, i could set the AI Distance limit to 400 and the bot limit to 5.

Within that max distance of 400, my version will only enable the closest 5 bots.

Once you kill the bots close to you, it could activate bots up to your maximum much further away.

Version 1.8.0

14.9K Downloads

Created Jul 7th, 2024 Updated Jul 7th, 2024

SPT 3.9.0

Reminder that questing bots has its own implementation of AI Limit.

Version 1.7.1

12.3K Downloads

Created Apr 3rd, 2024 Updated Apr 3rd, 2024

SPT 3.8.0

Forgot to add a setting for ground zero. Thanks kickyflips

Version 1.7.0

923 Downloads

Created Apr 1st, 2024 Updated Apr 1st, 2024

SPT 3.8.0

Updated to allow map bot distance changes even in-raid instead of having to wait for next raid.

Version 1.6.2

5.2K Downloads

Created Jan 4th, 3:50 PM Updated Jan 4th, 3:50 PM

Updated to only search for changes in bots after the set number of in "Delay frames before recheck" bots setting.

Basically will check if any new bots have spawned and calculate distances and sorting after every 300 frames by default (AI Limit used to do this every frame).

Performance improvement of about 10 fps to old version of ai limit (according to one tester)

Version 1.6.1

5.5K Downloads

Created Oct 20th, 2023 Updated Oct 20th, 2023

Updated for SPT 3.7.1 (just in case)

i think last version worked fine but whatever

Version 1.6.0

2.0K Downloads

Created Oct 8th, 2023 Updated Oct 8th, 2023

Build for 3.7.0 release.

should have fixed it not working on next raid (i think).

Version 1.5.0

4.8K Downloads

Created Jul 31st, 2023 Updated Jul 31st, 2023

Build for SPT 3.6.0 and 3.6.1 Only

Version 1.4.9

2.7K Downloads

Created Jun 27th, 2023 Updated Jun 27th, 2023

SPT 3.5.8 and 3.5.7

Added clearing the AI decision queue before disabling

(hopefully helps with stutters when re-enabling and garbled sound).

Version 1.4.8

616 Downloads

Created Jun 23rd, 2023 Updated Jun 23rd, 2023
  1. Fixed the issue with bots moving passed the set distance limit. Thanks Nooky and Xantri!
  2. Fixed the issue with the location being detected wrong. Thanks Xantri
  3. Adjusted the default Factory limit to 60m
Version 1.4.7

991 Downloads

Created Jun 11th, 2023 Updated Jun 11th, 2023

Test version of AI Limit that will support AI Mods like SAIN and Big Brain.

  1. It actually disables the gameobject so if a bot is 'disabled' they will not be visible in game. - you will have to figure out your magic number but remember that the closest X number of bots within your set distance will always be visible. You don't want too high of a number, but you don't want too low of a distance number either :). A bot that is re-enabled will cause some stuttering.
  2. Now has distances you can set per map and changing the settings need to be done prior to raid (probably)
Version 1.4.6

673 Downloads

Created Jun 3rd, 2023 Updated Jun 3rd, 2023

Rebuild for 3.5.7

No other changes at this time.

Version 1.4.5

3.2K Downloads

Created Apr 10th, 2023 Updated Apr 10th, 2023

Rebuild for 3.5.5

Version 1.4.4

2.0K Downloads

Created Mar 18th, 2023 Updated Mar 18th, 2023

Rebuild for SPT 3.5.3

Version 1.4.3

1.2K Downloads

Created Mar 7th, 2023 Updated Mar 7th, 2023

Updated for 3.5.1

Version 1.4.2

2.7K Downloads

Created Feb 12th, 9:30 PM Updated Feb 12th, 9:30 PM

Recompile for 3.5.0

Version 1.4.1

3.5K Downloads

Created Dec 30th, 6:09 AM Updated Dec 30th, 6:09 AM
  1. Should have fixed the dictionary errors as far as I can tell.
  2. Feels like that should have fixed the performance issue as well.. .let me know in comments if not.
Version 1.4.0

931 Downloads

Created Dec 20th, 2022 Updated Dec 20th, 2022
  1. Rewrote AI Limit to not use LINQ because someone aka debbiedowner said it was garbage .. and cwx said it was poop. fk u but i also love u.
  2. Added dictionaries for more efficient lookups instead of going through the full lists.
  3. Added timer option in bepinex config (f12 ) menu so you can set how long a new spawn can move freely before being disabled - based on your settings. This means no stuck bots unless it gets really crazy.
  4. Added quicksort for more efficiency.
  5. Does this really add more speed.. meh not in my opinion but you will get about 15 fps more from default give or take. However, this will not cull your spawns outside of the distance you set.

I am able to run about 70 fps on a 5900x and 2080 super with 40 bots on customs.

*12/22 - updated the zip because i saw a dictionary error in logs. should not affect the mod but if you play a long raid the log file could build up. This is for all 264 downloads before i posted this message.

Version 1.3.0

2.4K Downloads

Created Nov 4th, 2022 Updated Nov 4th, 2022

Re-release since i had a memory issue earlier (forgot to clear a list)

  1. Check to see if the bot camera is visible as well before disabling (prevents the not spawning issue).
  2. Also cleaned up code so log is clear.
  3. Switched to update instead of fixedupdate as the behavior.enabled was not being set correctly in that loop.
  4. Memory issue was due to me forgetting to clear a list on each frame.

Should see more performance as well as spawn issue/limits fixed for Lua Respawn.

Version 1.2.1

459 Downloads

Created Oct 26th, 2022 Updated Oct 26th, 2022

Quick fix. I had to remove some experimental code i left in there.

it would have basically been like as if you had no limiter at all.

Version 1.2.0

179 Downloads

Created Oct 25th, 2022 Updated Oct 25th, 2022

3.2.5 update. no new changes otherwise.

Version 1.1.0

1.7K Downloads

Created Sep 30th, 2022 Updated Sep 30th, 2022

This time my code optimizations works. Really some dumb issue with vars having to be outside the update function instead of at the top.

unity garbage collection best practices - this helped me figure out some things.

I feel like i get more frames than my previous version, you guys tell me in comments if i'm high.

Version 1.0.0

708 Downloads

Created Aug 23rd, 2022 Updated Aug 23rd, 2022

Only added this version to fix the download link issue.

github:

https://github.com/dvize/SPT-AILimit

Not quite yet...