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

67.1K 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

12.7K Downloads

Created Jul 7th, 2024 Updated Jan 7th, 6:32 PM

SPT 3.9.0

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

Version 1.7.1

12.2K Downloads

Created Apr 3rd, 2024 Updated Jan 7th, 10:34 PM

SPT 3.8.0

Forgot to add a setting for ground zero. Thanks kickyflips

Version 1.7.0

904 Downloads

Created Apr 1st, 2024 Updated Jan 2nd, 2:02 PM

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.1K Downloads

Created Jan 4th, 3:50 PM Updated Jan 8th, 2:07 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 Jan 7th, 7:09 PM

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 Jan 7th, 7:11 PM

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 Jan 7th, 6:58 PM

Build for SPT 3.6.0 and 3.6.1 Only

Version 1.4.9

2.6K Downloads

Created Jun 27th, 2023 Updated Jan 7th, 7:45 PM

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

602 Downloads

Created Jun 23rd, 2023 Updated Jan 8th, 3:51 AM
  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

971 Downloads

Created Jun 11th, 2023 Updated Jan 3rd, 11:49 PM

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

679 Downloads

Created Jun 3rd, 2023 Updated Jan 8th, 4:10 AM

Rebuild for 3.5.7

No other changes at this time.

Version 1.4.5

3.2K Downloads

Created Apr 10th, 2023 Updated Jan 7th, 8:09 PM

Rebuild for 3.5.5

Version 1.4.4

2.0K Downloads

Created Mar 18th, 2023 Updated Jan 8th, 11:48 AM

Rebuild for SPT 3.5.3

Version 1.4.3

1.2K Downloads

Created Mar 7th, 2023 Updated Jan 7th, 9:38 PM

Updated for 3.5.1

Version 1.4.2

2.7K Downloads

Created Feb 12th, 2023 Updated Jan 8th, 3:52 AM

Recompile for 3.5.0

Version 1.4.1

3.5K Downloads

Created Dec 30th, 6:09 AM Updated Jan 7th, 8:52 PM
  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

935 Downloads

Created Dec 20th, 8:47 PM Updated Jan 7th, 8:20 PM
  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 Jan 8th, 6:07 AM

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

463 Downloads

Created Oct 26th, 2022 Updated Jan 8th, 8:15 AM

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

182 Downloads

Created Oct 25th, 2022 Updated Jan 2nd, 2:19 PM

3.2.5 update. no new changes otherwise.

Version 1.1.0

1.7K Downloads

Created Sep 30th, 2022 Updated Jan 8th, 4:54 AM

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

715 Downloads

Created Aug 23rd, 2022 Updated Jan 8th, 1:22 AM

Only added this version to fix the download link issue.

github:

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

Not quite yet...