Team Fortress Classic

Team Fortress Classic

Not enough ratings
(2024) How to install bots for Team Fortress Classic on Windows
By =CrimsoN=
Save yourself a headache and follow this easy guide to install bots for Team Fortress Classic!
Disclaimer: This only covers how to install bots on a local server so you can play "singleplayer". It does not cover how to install bots on a dedicated server or anything.
3
2
   
Award
Favorite
Favorited
Unfavorite
Introduction
So, you thought Team Fortress: Classic doesn't support bots?! Well, you thought wrong! Or at least only partially wrong. Team Fortress: Classic does not support bots by default, and you will need to install a mod (specifically Foxbot) that will allow Team Fortress: Classic to support bots. You might be wondering why you would need a guide to install a simple mod and you'd be right to ask this, but Foxbot can be a little tricky to install, even with the directions included with the mod. Namely, Foxbot downloads in a somewhat "broken" state by default. This guide will save you a headache by providing instructions on how to install the mod correctly.
Step One: Download FoxBot
As stated previously, you will need a mod to enable bots in Team Fortress: Classic. The preferred mod is Foxbot. While it might sound a little scary, Foxbot has been around for years. At least 14+ years. It is easily the most popular bot implementation. Also, you will not be VAC banned for using it as it is a server side plugin that runs through metamod (and even older mod for tons of Valve games). Foxbot is still receiving updates all these years later and can be downloaded from Github here: https://github.com/APGRoboCop/foxbot/releases



Find the latest release and scroll down to assets. Click the one that says foxbot_087 (or whatever the latest release is). Ignore the source code files.
Step Two: Install Foxbot
Open the newly downloaded Foxbot zip file. You should see a folder that says addons. Click and drag or copy/paste this folder into your Half-Life tfc folder.

Default location: C:\SteamLibrary\steamapps\common\Half-Life\tfc

Your folder should look something like this:

Step Three: Configure Metamod
Now that we have Foxbot installed in the right location. We need to configure Metamod. In the Half-Life tfc folder, scroll down and open the file titled “liblist.gam”. Windows will prompt you on what app to use. Just open it with Notepad.



There isn’t a lot to look at here, but find the line that says gamedll "dlls\tfc.dll". Replace the text with this:
//gamedll "dlls\tfc.dll"
gamedll "addons\metamod\dlls\metamod.dll"

If you did it correctly, it should look like this:



Next, you should test it in game. Launch Team Fortress: Classic and create a server. Just pick a random map. Click the tilde button (`) on your keyboard to open the console and you should see something about Metamod loading.



If it is not working then double check the text that you entered above. It is case sensitive and will not work if you do not enter the text correctly.
Step Four: Assign Foxbot to load through Metamod
This is the critical step that gave me the most headache. But it’s really simple compared to the last step. Go back to your Half-Life tfc folder. Open the addson folder. Then open Metamod. Open the Plugins.ini.

In the Plugins.ini check that win32 is loading Foxbot correctly. By default you will probably see something like addons\foxbot\foxbot_mm.dll. You just need to delete the “_mm” so that it looks like this: addons\foxbot\foxbot.dll

But if you want to be sure. Go back to the addson folder and open the foxbot folder. Note the filename for the foxbot.dll. This is what should be above in the Plugins.ini


(Optional) Step Five: Configure Foxbot
The last step is optional, because if you did everything correctly above then Foxbot should be working with the default settings. But if you want you can change some things such as the number of bots to spawn, behavior, personalities, difficulty, etc.

To do this go to the addson folder. Open the foxbot folder. Open the tfc folder and then open the foxbot.cfg file using Notepad. Once open, you can change whatever options you want! I suggest increasing the bots to at least 18. (9 bots for each team + the player). This is found under the max bots setting. If you did everything correctly then when you launch the game and open the console you should see something like this:



Thanks and Have Fun!

11 Comments
Skarn 2 Jun @ 8:01am 
this is my liblist.gam
!// Team Fortress Classes Game .dll Listing File
// Load order is determined by file order.
game "Team Fortress"
url_info "www.teamfortressclassic.com"
url_dl ""
version "1.5"
size "37000000"
svonly "0"
cldll "1"
type "multiplayer_only"
nomodels "1" // Don't show models in browser, since you don't pick them there anyway.
mpentity "info_tfdetect"
//gamedll "dlls\tfc.dll"
gamedll "addons\metamod\dlls\metamod.dll
gamedll_linux "dlls/tfc.so"
gamedll_osx "dlls/tfc.dylib"
secure "1"
=CrimsoN=  [author] 1 Jun @ 8:56am 
Sorry I've never run into that error before, but I did find this: https://cs2bus.com/app/70/discussions/0/1631917609747017704/
Skarn 1 Jun @ 6:19am 
i downloaded foxbot i copied it into the files i did everything you mentioned
Skarn 1 Jun @ 6:18am 
Setmaster unavailable, start a server first.
NET Ports: server 27015, client 27005
Host_Error: Couldn't get DLL API from !
this is the error i get
=CrimsoN=  [author] 3 May @ 5:34pm 
@SushiSalamander
Good question! Thankfully The foxbot install above (from the Github link) includes metamod with it.
=CrimsoN=  [author] 17 Apr @ 6:55am 
No problem! :)
Nguyen 16 Apr @ 9:57pm 
Thanks man, very helpful
=CrimsoN=  [author] 23 Mar @ 12:56pm 
@Angry 怒り
Check the last step. You can change the number of bots in foxbot.cfg and under the maxbots setting.
Angry 怒り 23 Mar @ 12:41pm 
Como aumento los bots?
How to increase the bots?
=CrimsoN=  [author] 30 Dec, 2024 @ 8:46am 
You're welcome! :cta_emo7:
Enjoy!