Bothering mod authors will lead to warnings and repeat offenses will lead to bans.
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.
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.
Don't use this mod with Questing Bots.
Questing Bots have their own AI Limiter.
Original mod AI Limit
-
Version 1.8.4
- wizard83
- 7.6k Downloads
FPS boost update.
Added:- use of BSG bot optimization
Fixed:
- plugin blocks bots from going into standby mode
Virustotal -
Version 1.8.3
- wizard83
- 2.9k Downloads
For SPT 3.11
Fixed: at start of raid bots don't disabling -
Version 1.8.1
- wizard83
- 4.5k Downloads
For SPT 3.10
upload to github -
Version 1.8.1
- wizard83
- 820 Downloads
Fixed: Bots spawned at start of the raid cannot be disabled.
-
Version 1.8.0
- wizard83
- 510 Downloads
Tejdz
im getting constant micro freezes making the game unplayable, doesnt happen every raid tho
wizard83 Author
maybe you enable debug logging for BepInEx in Mod Configuration Menu?
TheFlame
Hello, how are you? I have a problem with the AI when killing and if they are bugged they disappear completely. I understand that it is a Tarkov function but can it be fixed with another mod or something like that?
lokstes
Hi and thanks for the mod but can I ask you to clarify if the Bot Limit (At Distance) or the Map specific distance setting takes priority?
If the bot limit is set to 5 and there are 10 bots inside the active radius:
will 10 be active despite the bot limit setting
or
will 5 be active despite the distance setting
I see below you said the distance setting can't be set mid raid, is this also true for the bot limit setting?
wizard83 Author
click link in description to read original mod description.
cokiaer
Thanks for your mod! Really helped me with the performance. Just want to ask
- If the distance can be set mid raid? Or must be set before the raid.
- Also, as I understand, the bigger the distance, the bigger the diameter for bot to work "normally" raise, is it true?
- And finally, I can't seem to see the BTR works when I installing the mod, does this mod have anything to do with the spawn of BTR?
Again, thanks for the mod!
wizard83 Author
1. distance apply on raid start
2. yes. distance(radius) to player. up to mod bot count will be normally act in that radius.
3. need to test issue
cokiaer
Thank you for answering!
cokiaer
One final question, I don't really know what's the distance calculation unit, is it meters or something else?
wizard83 Author
I think units is meters. if I need better performance I set 200, because I do most of kills up to 150m range.
Nahks
Hi,
Do you know if this Compatible with SAIN ?
And if this is compatible with Looting Bots ?
Because I find their AI limiter is not as effective as AI limit...
wizard83 Author
SAIN - OK
Looting Bots - OK.
but bots can loot only in range of AI LIMIT. also in 3.11 patch bots have more items in their inventory. i don't use Looting Bots in 3.11.
t3quila
Already posted in the support thread but I'll mention it here:
Tested on Ground Zero High, looks like the distance setting doesn't apply. Active bots setting does work.
pluralme
how does this work exactly. Are the bots standing still doing nothing when "stopped" or their position re updates when they get back in range. so pmcs that dont spawn within the limit set they will just sit on their spawn point?
skyweather
Hi, is there any way to increase the distance above 10, let's say 20 or 15?
joedraugr
Made an account just to thank you greatly for this. Can't play the game without it and I was about to give up until I found this holy post glimmering with hope
nemessa
Hey, could you please share your settings for your addon?
wizard83 Author
usually i set maxbots plugin count to 8.
when i have less than 50 fps i set distance to 250 for that map.
if you still have bad fps you can reduce maxbots plugin count.
dakwdjlkaw
Just came here for SPT 3.11 and I found ported Ai limit. Huge THX to you. I have a little question about added thing. what is "BSG bot optimization" ? It feel very smoother than former versions. Which is very good thing! Is this reduce amount of bots?? or more dumber bots?? Whatever man, REALLY appriciate to your activity
Hauzman
+1 on what bsg improvements mean
wizard83 Author
about BSG optimization:
for example in Customs.
if distance to bot more than 300 he move to cover where he go sleep.skipping bot logic, which reduces the load on the processor.
when player goes closer than ~265 bot awake and start acting as normal.
with 8 bots at the same time I have a very comfortable fps and no drawbacks.
but what if there are more than 8 bots in the awakening zone?
the mod allows only the number of bots specified in the settings to be awakened and active, at a given distance from the player.
wizard83 Author
some bots cannot be in sleep state. mod allow do it.
Naireem
I have a bug, where bots wont reactivate. Even when all other bots are dead.
Hope this helps:
wizard83 Author
show me your Plugin Config located in SPT folder BepInEx\config\com.dvize.AILimit.cfg
how far is the distance to bots that do not reactivate?
Naireem
Here is it:
wizard83 Author
mod have no reason to ignore first 10 bots "Bot Limit (At Distance) = 10" within radius to player.
Maybe increasing all map distances can solve your problem?
Doctor.V
Hey wizard. Is there a way to like "ignore" spawns like raiders. for example or override something? Ive noticed that on reserve when pulling the lever in basement theý dosent spawn? I know this is not a spawn mod but it could maybe have a impact.
maybe add it as an option as well as sniper scavs? (Streets mostly)
wizard83 Author
i play yesterday on reserve. i have raiders spawn after pulling D2 lever. there not 100% chance raiders spawn on activate layer. maybe you unlucky.
mod don't spawn or despawn bots.
mod only work on bots that already spawned.
mod don't change bot spawning system.
If sniper spawn in streets he will we at own spot.
Few ways to complete your quest:
1. while you doing sniper quest you can change Max Bot Count to at least 12 and Distance (for Streets) at least 250 in Configuration Manager (press F12).
2. move close to sniper position and this mod will enable sniper and you can see him.
3. you can use Skipper mod to fix issue with some quests.
Upd:
in SVM i set 100% chance for raiders
MacDurious
Doctov.V,
Try using the SVM mod to change spawn chances of raiders on reserve. I like a challenge and the in the "SCAV and Bosses" section, theres a value modifier for the percent chance raiders will spawn on reserve. Set it to 100% if you need it for questing or what not.
Blackholell
Is this mod compatible with 3.10.5?
wizard83 Author
yes. download 1.8.1
jnich89
Will this stop bots from spawning on top of me?
wizard83 Author
no. that can do swag+donut mod
spcewzrd
This mod is my go-to for performance boost, thank you for updating to 3.11
PPXXPP5603
WHAT A FUCKING GREAT JOB THANK YOU!!!! I LOVE YOU I LOVE YOU I LOVE YOU I LOVE YOU
Antonius Askaloso
Ура! Спасибо!
SeRg1988
Thanks bro for or all you doing!
SeRg1988
All Bots moves in the begining of raid. especially at customs. Is it bug or some settings maybe?
wizard83 Author
i see the issue. fix on the way
SeRg1988
Ok. Thank you!
SeRg1988
It works, man! Thank you very much again!!!
mikewill2525
God bless you
wizard83 Author
you welcome
DirtDiver
Hello, with the recent Questing Bots 0.9.0 update, this mod is no longer compatible with it
Error img
wizard83 Author
Questing Bots have own AI Limiter. This mod must be removed from your spt.
DirtDiver
Oh I see, thanks for the reply.
Riley511
Thanks for the mod! This has helped my performance tremendously!
Sarge
This mod seems to crash my game:
SeRg1988
Thanks very much, great mod!!!
Carlrb24
Hey man I can't seem get this to work. Even on a fresh spt install and only this plugin enabled bots are still spawning in like mad and killing my frames? Whats going on?
wizard83 Author
mod must disable farest bots which already spawned and give you increasing fps. mod have no effect on bot spawn system.
Carlrb24
Nah man thats what I mean the mod doesnt disable bots at any distance I set it 1 and 0m and was still hearing gunshots and frame drops
wizard83 Author
i don't read code of the mod. just fix compatibility with 3.10. but after reading code see issue. will be fixed
Carlrb24
Thanks dude 🙏
DerpyLG
its compatible with moar? or its an alternative
Surviv0r1969
this limits the distance they spawn in game so no fights going on the otherside of the map.... nothing like MOAR and will improve FPS etc
Dietre
Moar is suppose to limit bots but for some reason it absolutely tanks my fps. I am on the verge on hanging up the gaming controller until they release a new version of spt that addresses the massive performance loss over 3.9.X
I recently built a new pc (i7-14700k , 4070 super ti) with good ddr5 etc, game runs off a pci-4 m.2 drive that has fast write speeds and all that good stuff. did the boot. config edit to all 20 cores working. with a few mods installed, dls on quality, sain and looting bots, ill get 200+ fps, then the game spawns in bots and ill get dips to 80 but then returns to around 100-120.
i tried moar with sain and that's it for mods, 50 fps LOL
3.9,x i had like 50 bots running around, sain, questing bots, looting, bunch of mods and always had over 60 fps with a i7-9700k and a 2070 super. 3.10 is just unoptimized right now.
Hopefully this can be a decent stop gap, but then you get DEAD raids so you can have a decent fps. Even at over 100 fps the game still has some nasty studers. and every 3 raids or so, the game will crash on loading a map with no errors given. NEVER had issues with 3.9.x
Carlrb24
Its pretty horrendous man, but its all we got for now, its a shame the devs rolled back access to older versions of spt
Surviv0r1969
thisa limits the distance they spawn in game so no fights going on the otherside of the map
fov90
Same sh...t. we have something that crashed fps in 3.10.
yansen
i think SAIN already has a built in AI limit config now
Carlrb24
I think questing bots had one but it hasn't been updated yet. Cant see any limiting options for sain.
moving_zig
The SAIN performance options limit the AI behavior as affected by SAIN, not the AI presence, distribution, etc. The original AI limit wholly disabled these bots. They are different things.
Devraccoon
SAIN only modifies in-combat behavior, not general activity. That's why people point out a lot of things they see as wrong with bots even with SAIN installed. This means the AI limiter in SAIN is not the same as this one.