Bot quota: Difference between revisions
Jump to navigation
Jump to search

(Added lang and formatted game names.) |
(bot_quota available in DDD. Bug with bot_quota_mode fill in CS:GO.) |
||
Line 4: | Line 4: | ||
<b><code>tf_bot_quota</code></b> and <b><code>tf_bot_quota_mode</code></b> are the corresponding commands in {{game name|tf2|name=Team Fortress 2}}. | <b><code>tf_bot_quota</code></b> and <b><code>tf_bot_quota_mode</code></b> are the corresponding commands in {{game name|tf2|name=Team Fortress 2}}. | ||
{{ | <code>bot_quota</code> is also available in {{game name|ddd|name=Dino D-Day}}. | ||
== Syntax == | == Syntax == | ||
Line 26: | Line 26: | ||
|- | |- | ||
| <code>fill</code> | | <code>fill</code> | ||
| The server is filled with bots until there are at least <code>bot_quota</code> [[player]]s 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. | | The server is filled with bots until there are at least <code>bot_quota</code> [[player]]s 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. {{bug|{{csgo}} When a human player switches teams between T and CT, a bot is added.}} | ||
|- | |- | ||
| <code>match</code> | | <code>match</code> |
Revision as of 22:33, 25 November 2021


bot_quota
and bot_quota_mode
are ConVars in Template:Game name and Template:Game name.
tf_bot_quota
and tf_bot_quota_mode
are the corresponding commands in Template:Game name.
bot_quota
is also available in Template:Game name.
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. With the expression bot_quota
we mean 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. ![]() ![]() |
match
|
The number of bots on the server equals the number of human players times bot_quota .
|
![]() competitive
|
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.
|