Team Fortress 2

Team Fortress 2

Not enough ratings
How to add bots to most maps
By vile creature
Are you really bad on public servers and really good at Offline Practice? But don't like playing Offline Practice because achievements are disabled? Well, this guide will teach you how to add bots to most maps while still having achievements enabled.
   
Award
Favorite
Favorited
Unfavorite
What gamemodes can I add bots to?
You can add bots to Capture the Flag, Attack/Defend, King of the Hill, Control Points, or Payload. I wish you could add them to Payload Race, but they get stuck and really confused.
Why should I add bots?
In Offline Practice you have a limited number of maps to play. Not only that, but achievements are disabled there too.
Ok. How do I add bots?
We need to use console commands, so you'll need to use the developer console. If you already have it then you can skip this part, but if you don't I will explain how to get it.

Accessing the Developer Console

Accessing it is pretty easy. Open up Options (not advanced options, just options) and in the "Keyboard" tab you'll see and "Advanced" button. Select it and enable "Enable Developer Console."



Now close the settings window and go create a server.

Creating a Server

This is very simple. Select Find a Game, Create Server, and pick your map from the dropdown menu in the window that pops up. Bots will only work on maps that begin with ctf, koth, cp, or pl. Control Points and Attack/Defend maps both begin with cp. The map's name is in front of these letters that indicate gamemode. Go to the "Game" tab and set the max players to 1. Press "Start" and you just created a server!

Navigation Meshes

So, what is a navigation mesh? It's a collection of areas connected to eachother that covers the entirety of walkable space on the map. Bots can use basic pathfinding to navigate through these areas. To see a navigation mesh, you'll need the console. We enabled the console earlier, and to open it, we need to press the ` key (located under the ESC button on most devices). It's that one with the ~ on it. Pressing it will open up the console.



Now type in the following commands:

sv_cheats 1
nav_edit 1

If done correctly, you should see these colorful quadrilaterals:



If you don't, that means the map has no navigation mesh.

Mesh Generation

Type nav_generate in console and prepare for lag. After a few seconds, you should be forced to rejoin.

Adding Bots

Finally we got to what you came here for. Disconnect from the server and restart it with the maxplayers value set to 12 or something. Start the server and type in tf_bot_quota <maximum players.> Replace <maximum players with the maximum players on allowed on the server and boom! You have bots. 1 bot will be missing though. To fix this, just type tf_bot_auto_vacate 0. And it's the end now. Go look at https://wiki.teamfortress.com/wiki/Bots for more bot commands.
3 Comments
Domkri λ 12 May, 2024 @ 1:40pm 
After rejoin map still dont have nav mesh.
foreign_Truck100 29 Apr, 2022 @ 5:49pm 
it no work
foreign_Truck100 29 Apr, 2022 @ 2:06pm 
wow iPhone:steamthumbsup: