- Sep 7, 2009
- 6
- 0
Hello,
I am trying to write a map.cfg file that automatically adds 16 blue bots to the game when the map starts. This should be fairly simple but I keep running into issues. This is the code that I currently have in my map.cfg file:
In theory this script should kick all current bots, change the game settings to allow unbalanced teams, set some bot info, then spawn 16 blue bots. In practice this code does nothing except for add 16 random bots to the game. Any ideas on how to fix this? I have a sinking feeling that I am making a noobish syntax error that causes this script to be misinterpreted.
I am trying to write a map.cfg file that automatically adds 16 blue bots to the game when the map starts. This should be fairly simple but I keep running into issues. This is the code that I currently have in my map.cfg file:
Code:
tf_bot_kick "all";
mp_autoteambalance "0";
mp_teams_unbalance_limit "0";
mp_waitingforplayers_cancel "1";
tf_bot_difficulty "0";
tf_bot_keep_class_after_death "1";
tf_bot_add "16 blue";