Bothering mod authors will lead to warnings and repeat offenses will lead to eventual bans.
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
- Props
- 12k Downloads
SPT 3.9.0
Reminder that questing bots has its own implementation of AI Limit. -
Version 1.7.1
- Props
- 12k Downloads
SPT 3.8.0
Forgot to add a setting for ground zero. Thanks kickyflips -
Version 1.7.0
- Props
- 887 Downloads
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
- Props
- 5.1k Downloads
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
- Props
- 5.5k Downloads
Updated for SPT 3.7.1 (just in case)
i think last version worked fine but whatever -
Version 1.6.0
- Props
- 2k Downloads
Build for 3.7.0 release.
should have fixed it not working on next raid (i think). -
Version 1.5.0
- Props
- 4.8k Downloads
Build for SPT 3.6.0 and 3.6.1 Only
-
Version 1.4.9
- Props
- 2.6k Downloads
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
- Props
- 594 Downloads
-
Version 1.4.7
- Props
- 966 Downloads
Test version of AI Limit that will support AI Mods like SAIN and Big Brain.
- 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.
- Now has distances you can set per map and changing the settings need to be done prior to raid (probably)
Props Author
expand your AI LIMIT Distances Further :
I use 400.
...Legion...
Самый полезный и работающий мод!!! ждем обновы для spt 3.10
Antonius Askaloso
Hi! How can I transfer this most needed mod of all to the SPT 3.10 version myself? Which files should be edited? I would like to upgrade to patch 15, but without a bot limit, it makes no sense to me...
...Legion...
я пытался.. выдает ошибку в начале рейда..
Antonius Askaloso
да, тоже самое. И я понятия не имею, какие изменения в клиенте игры привели к таким последствиям, потому что их масса.
hr45
good job!!!
one of the most useful mods I have used. finally I could play street now!!!
FotisN
Thanks for this mod man, i'd have to spend hundreds of $ to upgrade and be able to play with stable fps without AI Limit
Bplus0209
Great mod! Literally cant play Streets without it. But is there a way for me to activate some bots like scav snipers when they are disabled by the mod? I set distance limit to 300 meters and can only see their weapons from 300m+ while there's a quest that requires killing snipers from 350m+. Forgive me if I'm being greedy.
littledrymuffin
will this work with sain ?
Props Author
it should, but not with sain + questing bots
SirToast
Is the conflict with questing bots then? or just SAIN + questing bots, because I only run QB but am interested in running this mod in conjunction.
Props Author
Its with QB. AI LImit might interfere with bots questing which is why he implemented his own. It should still work but just realize that you would only have bots questing within the distance you set for ai limit (and you would have to disable QB's ai limit which is a custom implementation meant for it)
GenericBread
Amazing work with the mod, huge performance boost.
Just wanted to clarify some things, probably a stupid question.
Let's say I set the AI Distance limit to 400 on Streets, and from what I've understood all bots outside the 400m range are disabled. Though as I move around the map, do the bots previously disabled become reenabled as they begin entering my 400m range?
If that's true, then let's say since my bot limit is set to 10 by default, and I kill 2 bots within the first minutes of the raid. When more bots "enter" my 400m range, will it only activate 2 bots to meet the 10 bot limit?
Thanks in advance.
Props Author
Yes, it will only activate 2 more bots to the 10 limit.
FotisN
Thanks for the mod Props, can't play SPT without it!
I have a question, is it ok to enable global minimum spawn distance from player in Swag n Donuts when i also use AI Limit? Or can AI Limit handle that alone when both mods are active?
Trying to avoid bots spawning next to me while avoiding conflicts between the 2 mods.
Props Author
I would recommend using both as ailimit won't prevent close spawning, it would just disable the bots (which might seem janky) if its set too close
Margorubber
Does this mod still work on 3.8.3?
Props Author
It does.
LordRed
oh man, this mod is a god send.
i am running a 14900 and 4090 for my rig.
sain, swag+donut is causing a fps drop to around 30fps in interchange using live-like setting.
i just couldnt disable sain coz the ai is doing amazing things with it. (jump peek...etc)
with ur mod, i got an amazing boost back to 90+ fps.
you are doing good work here!
if i think there is something more this mod can do, is to make a more optimised range suggestion.
there is a huge different when u are at the corner and the centre of a map.
still, many thanks for your mod!
Props Author
hmm.. thats a good suggestion. I'll think about it. Worst case, just set a bot limit you can always handle and it shouldn't matter too much though
fahrraddieb
so i should not use "starting pmc only" in donuts if i want to use AI Limit because they despawn the pmc's and they wont respawn ?
did i get that right ?
Props Author
you should be able to use starting pmc.
CwHedgehog
Can I use it with SWAG? Will there be any conflict?
Props Author
no conflict
IrgendEinRandom
This mod just allowed me to play with buttery smooth FPS
Changing from 50-60FPS(65 if Luck) to a stable 70-85FPS
Lovely, must have
NexusRoy
Whenever I want to use this mod with Swag/Donuts or BetterSpawn I get almost zero bots in map.
Any tips on how to enable both at the same time?
Props Author
put your ai limit distance further as disabled bots will be invisible. Also, swag donuts despawn feature should be used if you want to keep bots around you - also depends on what scenario you picked for spawning in bepinex config f12 menu
NexusRoy
Well, after trying different setting I can't seem to make both work. There's a huge difference in number of bots when AI Limit is on or off.
I used to use AI limit with SVM but now you can't alter the number of bots with SVM.
Still digging on the best config.
SKyFogKing
so if i use Ultra high bot count
and i want still to have a lot of bots near me
what settings should i use?
THANKS ALOT
yzm45
If you use custom spawn mod. Make them spawn close to you and set that distance as ai limit distance.
SKyFogKing
just using donuts
Kickyflips
Does this support Ground Zero map in 3.8?
Kickyflips
Thanks bby
mrAnomalyy
I notice high fps drops on client side using this mode, tho server load isnt increase much. Why it maybe so? Also I opened your solution in VS2022 and have a lot errors in it, how do I modify, rebuild it for myself? Thank you!
Harulicious
I have this weird issue:
I tried setting the AILimit to 0 and found out, that ALL bots are now invisible. I don't know if it's a mod conflict or not, but when I set it to 1 and stand in between what should be multiple bots, they start flickering in and out as these bots get disabled one after another for moving away from me.
Are there known mod conflicts?
I have installed: Boops Quest API
SAIN
DrakiaXYZ Waypoints
dvize.Donuts
DrakiaXYZ Big Brain
skwizzy Looting Bots
Props Author
That is normal behavior, don't set it to zero. it should be set at a reasonable distance they should be viewable per map
Harulicious
Oh, I meant the Bot Limit set to 0, not the distance. I took a break from SPTarkov for a while, but I vividly remember that when I set the Bot Limit to 0, that they would just stand still and not act at all. Now they just turn invisible
Props Author
It had to be done that way because at one point it wasn't working with SAIN. now sain has it built in so it doesn''t matter.. In any case, don't worry because its normal now.
Harulicious
Ah, now I understand. I was thinking I messed something up during the installation. Thank you for the quick response
virgil
how to set it up correctly? and another question, does he just take out the enemies or turn off their brain?
GJDriessen
First, thx a lot for the mod. I wonder what the mod does to AI that are ouside of the range? Do these still spawn but are they frozen and only enabled when you get close enough them? Ie do still 20 bots spawn on certain maps, but only a part is activated becasuse they are withiin range?
CactusPie
Small question. Let's say that my game runs at a steady 60 FPS and my recheck delay is set to 300. Does that mean that every 5 seconds the game will loop through all the bots and reactive or deactivate them based on the distance? Or do the "frames" mean something else in this context?
Props Author
Thats exactly what it means. It will loop through all bots again after x amount of frames to determine whether or not to reactivate or deactivate bots.
It then puts this into a disabled list where it constantly disables those bots but skips all of the other checks until we recheck after x amount of frames.
CactusPie
Great, thanks for clarifying!
Props Author
Forgot to mention that unity is 60 fps internally for its game update cycle.... regardless of what your fps is rendering at. theres a separate fixedupdate that i think you were worried about where if you were fps were to vary..
CactusPie
Ahh, yes, that's what I was unsure about. I haven't really worked with Unity much, so I didn't know about that. Thanks!
NexusRoy
Just tried some raids in different maps and definetely there's a big increase in performance.
Sadly, mods like Swag + Donuts don't seem to be 100% compatible. Anything outside the AI radius seems to make the raid almost dead.
Props Author
Yeah, you'll have to tweak it to fit your system. I mean thats the point though about disabling ai outside the radius.. so you get performance
029rav
Hi, first thanks for the mod it makes the game absolutely playable on streets - the only map where probably because of the navmesh if I were to guess the performance is awful.
That being said I do have a specific question - can this mod be used specifically with looting bots [not questing bots - that mod is highly problematic to say the least] so just looting bots?
Also am I getting the settings right?: the distance is the max hard cap distance up to which bots can be active - and the number limits the max number of active bots within that distance.
Props Author
it should be able to be used with looting bots, but it will obviously limit the range they are active.
yes you got the settings right
Maddog Matt
I use this mod along with Looting bots, Better Spawns Plus, SAIN and Waypoints. No issues at all. Works really well together.
You definitely will need to do some tweaking to get everything working the way you want though.
Margorubber
Sorry for the stupid question, what is the max number of meters in this mod?
Props Author
should be whatever the map size is. .. so basically as far as you want
Doc8Ball
Is this compatible with SWAG, SAIN, Questing/Looting Bots and Waypoints by Drax? I feel like it wouldnt be but I have to check lol. If this was compatible a guy could really get some crazy raids going. Thanks!
Props Author
not with questing looting bots, that has ai limit built in.
compatible with everything else though
nimbul
Hi Props, can I port your mod to another project (StayInTarkov)? I notice you don't have a license so I want to make sure that's cool by you.
Props Author
Feel free to port it
mrAnomalyy
Hey, @nimbul. Have you ported it yet?
Muridayo
I think it isn't working after first raid again with the 3.7.1 version, I am unsure if it will work ii raid but during my second raid when I set distance to 1 an PMC run passed me from at least 10 meter away, and it was stuttering again, still I really appreciate it as it really helps my game become smooth again
HungryBear
Is it possible to turn on the mod for a specific map only?
I only need this mod for Streets because there are just too many bots, especially when Kaban spawns.
I set the distance to 2000 for the rest of the maps and I think they work fine, but sometimes there is one bot near me that is frozen.
Props Author
eh, i'll think about it but it doesn't seem like a priority to me since you have a working alternative right now. You could set a value like 3000 and have no problem
Toshi Wulf
Thanks again. Works like magic.