Bot quota: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(change bot_quota bug position)
(bug location change again and spelling change)
 
Line 4: Line 4:


<code>bot_quota</code> is also available in {{ddd|4}}.
<code>bot_quota</code> is also available in {{ddd|4}}.
{{bug|{{cs2}} Decreasing the <code>bot_quota</code> will cause the [[SourceTV]] bot to be kicked from the game, stopping any recordings or broadcasts.|tested=cs2}}


== Syntax ==
== Syntax ==
Line 15: Line 17:
If <code>bot_quota_mode</code> exists, it allows to interpret <code>bot_quota</code> differently to achieve more complex effects.
If <code>bot_quota_mode</code> exists, it allows to interpret <code>bot_quota</code> differently to achieve more complex effects.


{{bug|{{cs2}} Decreasing the <code>bot_quota</code> will cause the [[SourceTV]] bot to be kicked from the game, stopping any recordings or broadcasts.|tested=cs2}}
The allowed values for <code>bot_quota_mode</code> are in the following table. The expression <code>bot_quota</code> means its value.
 
The allowed values for <code>bot_quota_mode</code> are in the following table. With the expression <code>bot_quota</code> we mean its value.


{| class="standard-table"
{| class="standard-table"

Latest revision as of 17:39, 11 December 2025

bot_quota and bot_quota_mode are console variables available in Counter-Strike: Source Counter-Strike: Source, Counter-Strike: Global Offensive Counter-Strike: Global Offensive, and Counter-Strike 2 Counter-Strike 2.

tf_bot_quota and tf_bot_quota_mode are the corresponding commands in Team Fortress 2 Team Fortress 2.

bot_quota is also available in Dino D-Day Dino D-Day.

Icon-Bug.pngBug:Counter-Strike 2 Decreasing the bot_quota will cause the SourceTV bot to be kicked from the game, stopping any recordings or broadcasts.  (tested in: cs2)

Syntax

bot_quota <int>
bot_quota_mode <string>

Effects

Normally, bot_quota is simply the number of bots that are added automatically on the server. If bot_quota_mode exists, it allows to interpret bot_quota differently to achieve more complex effects.

The allowed values for bot_quota_mode are in the following table. The expression bot_quota means its value.

bot_quota_mode Effects
normal (and invalid values) The number of bots on the server equals bot_quota.
fill The server is filled with bots until there are at least bot_quota players on the server (humans + bots). Human players joining cause an existing bot to be kicked, human players leaving might cause a bot to be added.
Icon-Bug.pngBug:Counter-Strike: Global Offensive When a human player switches teams between T and CT, a bot is added. Fixed in Counter-Strike 2  (tested in: csgo)
match The number of bots on the server equals the number of human players times bot_quota.
competitive (only in Counter-Strike: Global Offensive) The number of inactive bots on each team with no human players equals bot_quota. It has the same side effect as bot_stop 1, although being independent from this ConVar.