Skip to content
/SLASHPLAY

How to make bots move on custom maps in TF2

With sv_cheats 1 on, type nav_generate in the server console to build a nav mesh so bots stop standing still. It saves a .nav file for next time.

nav_generate

Generates a navigation mesh for the current map so bots can move around it. Requires sv_cheats 1.

nav_generate

Examples

sv_cheats 1; nav_generate

Build the mesh on the current map.

What it does

Bots walk using a nav mesh saved as a .nav file next to the map. Many official maps ship with one, but custom maps often do not, and bots just stand still. Run this once on the map and the file is saved for later.

The game's own description: Generate a Navigation Mesh for the current map and save it to disk.

Good to know

  • It can take a while on large maps and the map reloads when it finishes.
  • Turn sv_cheats back off afterwards.

Run it on your server

On a SLASHPLAY server, type it in the Console tab of the server page; the reply shows right under it. A value set there lasts until the server restarts. To keep it, add the line to tf/cfg/server.cfg. New to this? Start a TF2 server first.

Your own
TF2 server.

From $0.03 an hour, only while it runs. New accounts get 6 free tokens.