How to add bots in Team Fortress Classic

There are not many people still playing this old gem. How to add (good enough) bots so you can relive the good times?


We are going to use FoxBot. The most recent version as of the time of writing this article is FoxBot 0.793.

Team Fortress Classic (Steam)

I have the Steam version of TFC installed. When I open the ~ console and type in “version” I get:
] version
Protocol version 48
Exe version (tfc)
Exe build: 19:53:27 Aug 3 2020 (8684)

When I start a game and a server the welcome screen shows:
Welcome to Team Fortress 1.5

How to get bots working in the Steam version of TFC in Windows 10?

Download and Extract

Download FoxBot and extract the content.
There should be just “addons” folder.
Move into “C:\Program Files (x86)\Steam\steamapps\common\Half-Life\tfc”

It should look like this:

Edit liblist.gam

The next step is to edit “C:\Program Files (x86)\Steam\steamapps\common\Half-Life\tfc\liblist.gam”.

Open it in any text editor and change this line:
gamedll “dlls\tfc.dll”

gamedll “addons\metamod\dlls\metamod.dll”

(make sure to use the same quote marks as the ones already used in the file)

Edit plugins.ini

Let’s edit one more file:
“C:\Program Files (x86)\Steam\steamapps\common\Half-Life\tfc\addons\metamod\plugins.ini”

Open it in any text editor and change:
win32 addons\foxbot\foxbot_mm.dll

win32 addons\foxbot\foxbot.dll

Launch the game, addbot and have fun!

Start the game, create server, select your class and spawn, open the console with ~, type “addbot” to add a bot and have fun!

More info

I believe you can tweak various bot parameters in: “C:\Program Files (x86)\Steam\steamapps\common\Half-Life\tfc\addons\foxbot\tfc\foxbot.cfg” but I haven’t tried it myself.

If you struggle with installation or want more advanced bot commands open this file in your browser:
“C:\Program Files (x86)\Steam\steamapps\common\Half-Life\tfc\addons\foxbot\documentation\Help_Index.html”

Writing this article reminded of a video about bots by George Weidman:


2 responses to “How to add bots in Team Fortress Classic”

  1. Thanks for sharing

  2. Anonymous

    Thanks, i might use this for my potato pc, thanks a lotttt

Leave a Reply

Your email address will not be published. Required fields are marked *