I know how to spawn bots with the command tf_bot_add
, but when I spawn the bots, they just stand there. How do I get them moving?
Why don’t the spawned TF2 bots move
team-fortress-2
team-fortress-2
I know how to spawn bots with the command tf_bot_add
, but when I spawn the bots, they just stand there. How do I get them moving?
Best Answer
Firstly: If the map has setup time, wait for it to end; bots like to stand around during setup time. If setup time's over and they're still not moving, that's an actual problem.
The most common problem here is a lack of navmeshes; bots only work on maps that have navmeshes. You can check to see if a map has a navmesh with
sv_cheats 1
nav_edit 1
; if you see a bunch of rectangles appear on the floor that's a navmesh. (Turn the display back off withnav_edit 0
.) If the map lacks a navmesh, you can create a automatic one withnav_generate
(also a cheats command).If the mavmesh isn't the problem, then the gamemode probably is. Bots are only officially supported on KOTH, Attack/Defend CP, and Payload; they unofficially work on CTF, but otherwise don't work for other gamemodes even with a navmesh. There's nothing you can do in this case expect for just waiting for the gamemode to be supported.