]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commit
cmd setbots: add more than one bot at once.
authorRudolf Polzer <divVerent@gmail.com>
Tue, 1 Mar 2022 03:31:54 +0000 (22:31 -0500)
committerRudolf Polzer <divVerent@gmail.com>
Tue, 1 Mar 2022 03:31:54 +0000 (22:31 -0500)
commit1ff9406153bdff3668432a1c9a89bee04fda5381
tree99f61e2a24975f29d6a58e8fd5a2582f3956eaf4
parentd455dd47db650ab8e51a4f6d35c11b17baaf1db3
cmd setbots: add more than one bot at once.

We now have logic to normally only add one bot per frame. This is all nice,
but breaks the Xonotic Bot Orchestra.

So, let's make it so that the XBO has special privileges to spawn more than
one bot per frame; in normal gameplay bot spawns remain spaced out.
qcsrc/server/bot/api.qh
qcsrc/server/bot/default/bot.qc
qcsrc/server/bot/default/bot.qh
qcsrc/server/bot/null/bot_null.qc
qcsrc/server/command/sv_cmd.qc