Team Fortress 2

Team Fortress 2

93 ratings
Play with bots on any TF2 Map
By Teska
Ever wondered how those servers have bots playing on maps such as ctf_2fort? or just wanted to play offline?

This guide will show you how to use maps such as ctf_2fort and others while playing offline, this will require basic knowledge of console commands, and a good spec computer... (And a little time)

(This may not work with ALL Maps (e.g. ones made by the community, but has been tested on ctf_2fort and other TF2 Default maps)
2
   
Award
Favorite
Favorited
Unfavorite
The normal procedure (for KOTH and some CP maps)
note, this part of the guide is how you would normally spawn in bots on certain koth and cp maps, This is not the method for all maps...

The first thing you want to do once you have launched TF2 is click the little [+] button in the Servers button:


Then select one of the KOTH maps, or the cp maps (some will not work with this method)

Once you have done that, click the start button, to launch the server...

Once you have done this, open the console and type in tf_bot_add 12 to add 6 bots to each team



Now there should be some action in your game... the map resets around 20 seconds into the game to allow other players to join, but once this happens, you can play to your heart's content (Achievements work in this mode, since sv_cheats is set to 0.)

What about other maps?
With other maps, the method shown above does not work, and this is because there are no navigation files saved for these maps, this is what happens if you use the other method, if you are not interested, or short for time, please skip to the next section.

Let's say for example we want to play a bit of offline 2fort, the normal thing to do would be to create a new server with ctf_2fort selected as a map.


Then we would insert the bots by using tf_bot_add 12:


However, in this case, the bots do spawn in, but they do not move... (e.g. they just stand in spawn, and the medic will try and uber everyone...)

Bots with other maps
If you haven't already, let's kick all the bots, to make sure the map is clear, to do this, use the tf_bot_kick all command in the console

Then we need to enable sv_cheats, to do this, type in sv_cheats 1


Once you have done that, type in nav_generate into the console:


You should then start to see items popping up into the console such as Sampling walkable space


(Note your computer will lag, quite a lot during this stage, so try and close other windows on your computer before doing this...

once this has finished, you should see the loading screen for joining a server:


When this has loaded, simply type in the tf_bot_add 12 command into the console, and you're good to go :D
(Don't forget to turn off sv_cheats!)

Look, they move!



Thank you for reading this tutorial, I hope it has helped you play offline, whether its because you have no internet, want practise, or just fancy playing on your own.

This has been my first ever guide, so I hope it has helped you a lot, thanks! ~teska77
35 Comments
LiamFalconer 8 Sep, 2024 @ 5:12pm 
thanks a ton. internet's been shit latley and 2fort is my favourite map. i can play it again!!
Looping Coaster 15 Jul, 2022 @ 11:14am 
Bounced on my boy's dick to this guide
After Hatter 13 Jul, 2022 @ 9:54am 
tf_bot_quota 24 :demoticon:
thisbreadisfine 19 Dec, 2021 @ 10:23am 
you are a chad
:steamthumbsup:
averagenovamain 9 Dec, 2021 @ 12:15pm 
Do the bots count as kills towards a strange?
Mr. Skullium 23 Dec, 2020 @ 9:39pm 
Sneaky Golem 17 Nov, 2020 @ 4:22am 
i tried this with degroot keep but the red team keeps moving to the wall and not going anywhere else its like they dont know theres a wall there
Hooligan Heretic 27 Oct, 2020 @ 7:28pm 
for some reason when I try to add 12 bots it decreases them to only 3 and also they move and jump around in 2fort when I did the nav_mesh thing but they can't exit the spawn.
GuyWithAHat 21 Sep, 2020 @ 9:34pm 
Do the bots actually play the objective? i.e cap the intel?
RadiantSurreality 10 Aug, 2020 @ 12:17pm 
this helped a ton