Team Fortress 2
How can i add more than 24 bots to my server?
As you may know, player cap was raised to 100 in recent update.
When I add 100 bots only 24 (12 on each team) picked class and actually spawned. Other just sit in scoreboard like they didnt pick class. (i added "-unrestricted_maxplayers" in launch parameters and raised "maxplayers" to 101)
So how can i make so everyone of 100 bots actually spawned? Any sourcemod plugin or anything else?
Écrit par Spongy Sponge:
Set tf_bot_reevaluate_class_in_spawnroom 0 and tf_bot_keep_class_after_death 1 and maxplayers 101 in console but you have to add the bots manually for each class. Here is one big command to make it easier

tf_bot_add 20 scout; tf_bot_add 20 soldier; tf_bot_add 20 pyro; tf_bot_add 20 demoman; tf_bot_add 20 heavyweapons; tf_bot_add 20 engineer; tf_bot_add 20 medic; tf_bot_add 20 sniper; tf_bot_add 20 spy

Tried it, only spawned scouts soldiers pyros demos and heavies replace the 20's with 10's and do it twice.
< >
Affichage des commentaires 1 à 12 sur 12
L'auteur(e) de ce sujet a indiqué que ce message répond à sa question.
Set tf_bot_reevaluate_class_in_spawnroom 0 and tf_bot_keep_class_after_death 1 and maxplayers 101 in console but you have to add the bots manually for each class. Here is one big command to make it easier

tf_bot_add 20 scout; tf_bot_add 20 soldier; tf_bot_add 20 pyro; tf_bot_add 20 demoman; tf_bot_add 20 heavyweapons; tf_bot_add 20 engineer; tf_bot_add 20 medic; tf_bot_add 20 sniper; tf_bot_add 20 spy

Tried it, only spawned scouts soldiers pyros demos and heavies replace the 20's with 10's and do it twice.
Dernière modification de Spongy Sponge; 26 juil. 2023 à 7h44
DF 26 juil. 2023 à 7h44 
Spongy Sponge a écrit :
Set tf_bot_reevaluate_class_in_spawnroom 0 and tf_bot_keep_class_after_death 1 and maxplayers 101 in console but you have to add the bots manually for each class. Here is one big command to make it easier

tf_bot_add 20 scout; tf_bot_add 20 soldier; tf_bot_add 20 pyro; tf_bot_add 20 demoman; tf_bot_add 20 heavyweapons; tf_bot_add 20 engineer; tf_bot_add 20 medic; tf_bot_add 20 sniper; tf_bot_add 20 spy
Thank you, that worked
I followed these exact steps and it didn't work.
Dernière modification de SealShpeeDaSweggy; 4 aout 2023 à 8h40
Um, the bots aren't moving.
Not Mariolevi a écrit :
Um, the bots aren't moving.
The map needs to have nav mesh made for the bots, or else they can’t path a way to the front. You can do this with I believe ‘navgen’ or something close to that.

Note that a rapidly generated nav mesh is prone to more issues, and may need to be adjusted to fix it.
Dernière modification de Learner; 18 nov. 2023 à 9h49
Not Mariolevi a écrit :
Um, the bots aren't moving.
You're the guy who's doing all the bots?
Not Mariolevi a écrit :
Um, the bots aren't moving.
You're the guy who's doing all the bots?
Not Mariolevi here (as well as the rest of this thread) is talking about TFBots, the kind that spawn in Training Mode and offline games. Hopefully that clears up a bit of confusion.
Dernière modification de NARbluebear; 18 nov. 2023 à 10h19
I've tried this, but it might have been patched or something because it doesn't work
says you cant change the max player count midgame
DF a écrit :
As you may know, player cap was raised to 100 in recent update.
When I add 100 bots only 24 (12 on each team) picked class and actually spawned. Other just sit in scoreboard like they didnt pick class. (i added "-unrestricted_maxplayers" in launch parameters and raised "maxplayers" to 101)
So how can i make so everyone of 100 bots actually spawned? Any sourcemod plugin or anything else?
you cant, if its the bots with AI you are looking for, they have a cap on how many they spawn on the map in the source code. you can if you dont care about the "AI" part and just want controllable bots in the game, they dont have a cap.

edit: TFBot max is not 24, its 32
Dernière modification de HexaGenesis; 1 avr. 2024 à 18h22
SMASH.MOUTH a écrit :
says you cant change the max player count midgame
You have to do it before you join the match
Spongy Sponge a écrit :
Set tf_bot_reevaluate_class_in_spawnroom 0 and tf_bot_keep_class_after_death 1 and maxplayers 101 in console but you have to add the bots manually for each class. Here is one big command to make it easier

tf_bot_add 20 scout; tf_bot_add 20 soldier; tf_bot_add 20 pyro; tf_bot_add 20 demoman; tf_bot_add 20 heavyweapons; tf_bot_add 20 engineer; tf_bot_add 20 medic; tf_bot_add 20 sniper; tf_bot_add 20 spy

Tried it, only spawned scouts soldiers pyros demos and heavies replace the 20's with 10's and do it twice.

CreatePlayerBot: Unable to create bot RageQuit - CreateFakeClient() returned NULL.

why does this happen
< >
Affichage des commentaires 1 à 12 sur 12
Par page : 1530 50