Source-checkedGame modes & minigames

Cap Bot Count

by TayLord · for Insurgency: Sandstorm

Cap Bot Count to a configurable limit

32KDownloads
3 yr agoLast updated
mod.ioSource

About Cap Bot Count

From mod.io

Cap Bot Count to a configurable limit

This is to resolve high bot counts spawning after counter attacks because of a bug that was introduced in 1.12. This mod will kill any bots that spawn past the configured limit with the exception of the Militia counterattack waves which by design spawn with a 1.4 multiplier. By default this will cap the bots at what your MinimumEnemies and MaximumEnemies set it to. 

Mutator=CapCount

The following can be placed in your game.ini to configure the limit. The defaults will play like vanilla before the bug was introduced. Default is -1, which is the current bot count for the player count and the MilitiaOverflowAllowed allows an extra 40% more militia counterattack bots like vanilla. 

<pre>[/CapBotCount/Mutators/CapCount.CapCount_C] ;Set to the desired bot cap. If -1, then use the desired bot count. Note that by design Militia counterattacks will spawn with extra bots, but these will also be killed Max=-1 ;Set Overflow to a ratio of the bot count that you want to be allowed to spawn in addition to the Max OverflowRatioAllowed=0.0 ;This controls the overflow for militia counterattack waves. This is 1.4 in the vanilla game since these counters are weaker MilitiaOverflowAllowed=1.4</pre> <pre> </pre>

The Max is set to -1 by default, which will detect the number of bots there should be in-game for that number of players and kill any excess that spawn. The Militia counterattacks by default in game (by design) spawn in excess of this number. Currently this mod will allow those excess and will kill them on spawn to keep the limit set by the server. In future I could potentially add a check to detect for these and up the limit during these counters. Max can also be set to some arbitrary number and the mod will use that as the cap. You could set it to MaximumEnemies and that would allow for a certain variance, but not over.

 

Note on bot respawns in v1.3:

Since the game will spawn the next objectives bots on top of the counterattack bots, then when the desired count is set to 20 and this bug can cause 40 to be active at once after the counterattack. This mod will kill off those new bots and limit it back to 20. The issue with this is that this in many cases will immediately trigger a bot respawn wave since the number of bots killed would meet the RespawnDPR for the server. The bots killed by this mod are then immediately respawned and this mod kills them off again. In pre-v1.3, the end result was that the bots would not get a respawn wave for the next objective since they are all killed off. In v1.3 I added a work around that delays the respawn of the bots until the DPR of the desired bot count is hit, then it triggers the respawn wave as per usual. This method may result in more or less bots than specifically configured, but the max alive will be honored. To disable this compensation set bAdjustForDPRLoss=False in the header above.

Appreciate my work and want to donate or have a mod made? See my profile. If leaving a comment regarding bugs or feedback go ahead and tag me so I get a notification.

Highlights

From source data

Footprint

Rated a light load on a server.

Last update

Its author last shipped an update 3 yr ago.

Cap Bot Count on Nxeon

From our catalogue
One-click install
Not available. One-click install isn't available for this game's mods yet. Download it and upload it to your server in Files.
Server load
light
Smallest plan we suggest
Insurgency: Sandstorm — 3 GB (3 GB RAM). This follows our own load rating above, not a benchmark.
Latest build
1.4.2, released 2023-05-06

Run Cap Bot Count on a Insurgency: Sandstorm server

Deploy a server above, then upload the file in Files.

What kind of mod it is

From the catalog
Listed on mod.io as “Mutator”

Game modes & minigames

Game modes, minigames and competitive formats for your server.

Compatibility

Game
Insurgency: Sandstorm

Verified at the source

  • ✓mod.ioOfficial listing, checked 2026-10-30Open ↗
  • ✓AuthorTayLord, as published on mod.io
  • ✓LicenseNot published by the sourceFree

Cap Bot Count, answered

Generated from the mod’s own source data.

Is it free?

Yes. Cap Bot Count is free to download from mod.io.

How do I add it to my Nxeon server?

One-click install isn't available for this game's mods yet. Download Cap Bot Count from mod.io and upload it to your Nxeon Insurgency: Sandstorm server in Files.

NxLabs

Run Cap Bot Count on a Insurgency: Sandstorm server.

Deploy in about a minute from $7.99 a month, then upload Cap Bot Count in Files.