Get Started With WeGame! Download WeGame Client
-
Play
Download or instantly play hundreds of games.
-
Capture
Record video or take screenshots directly from your favorite games.
-
Share
Automatically let the world know via Facebook/Twitter how 1337 you are.
Team Fortress 2
About Team Fortress 2
TF2 does include bots, however there is no AI code for them (VaLVe made an update for TF2 and now the bots have AI except that it is experimental and works on three KOTH maps, koth_nucleus/sawmill/viaduct. To add these bots, load up one of those maps and type to the console tf_bot_add. Also, there is 3 optional arguments,
count, class and team.). What does this mean? Why your bots will be nothing more than mindless statues without intelligence! Luckily, various commands let you use them like obedient minions at your will! You can manipulate them to do things such as follow you around and fire their weapons. Below is a complete command list for bots as well as some examples on how to use them.
- List of Commands
- Example Script 1
- Example Script 2
- Example Script 3
List of Commands
TF2 comes with commands for using bots, some work and some don't....
| Command | Description |
bot | This command will create a bot on the given team with the specified class and name. Syntax:bot -team < teamname/number > -class < classname > -name < botname > Parameters: -team teamname/number Specifies the team name or number to assign the bot. Where name/number can be RED or 1 , BLU or 0 -class classname The classname of the class can be Demoman , Engineer , HeavyWeapons , Medic , Pyro , Scout , Soldier , Sniper , or Spy -name botname botname |
bot_changeclass | Force all bots to change to the specified class. Does not seem to be implemented, nothing happens. |
bot_changeteams | Make all bots change teams. This forces all the bots to switch teams. If a bot was on the RED team then it will now be on the BLU team and vice versa. |
bot_command | Sends specified command on behalf of specified bot. Example:bot_command bot01 "voicemenu 0 0" |
bot_defend | Set to a team number, and that team will all keep their combat shields raised. For instance, heavies will spin their miniguns. |
bot_dontmove | Bots are prevented from moving. |
bot_flipout | When on, this will make all the bots fire whatever weapon they currently have selected. Default is to use primary_fire, but if bot_forceattack2 (see below) is set to 1 then secondary_fire will be used instead. Syntax:bot_flipout < 0/1 > On when set to 1 , off when set to 0 Example:bot_flipout 1 |
bot_forceattack2 | This will make all the bots execute secondary_fire on whatever weapon they currently have selected when bot_flipout is set to 1 . Syntax:bot_forceattack2 < 0/1 > Bot will use secondary_fire when set to 1 , primary_fire when set to 0 Example:bot_forceattack2 1 |
bot_forceattackon | When firing, don't tap fire, hold it down. If this is set to 0 then the bot will act like they are continuously tapping the fire button (useful for the Pistol, but not for the Heavy's Minigun). If this is set to 1 then the bot will act as if it is holding down the fire button (useful for the Heavy). Syntax:bot_forceattackon < 0/1 > On when set to 1 , off when set to 0 Example:bot_forceattackon 1 |
bot_forcefireweapon | Force bots with the specified weapon to fire. Does not seem to be implemented, nothing happens. |
bot_kill | Kills the specified bot. Syntax:bot_kill < bot name > Makes the specified bot commit suicide. Example:bot_kill bot0 |
bot_mimic | Bot uses usercmd of player by index. The bot will execute all keystrokes issued by a player, mimicking movements. Syntax:bot_mimic < 0/1 > On when set to 1 , off when set to 0 Example:bot_mimic |
bot_mimic_yaw_offset | Offsets the bots' yaw. The bots will face in a direction this angle from the player. By default this is set to 180 so that all bots will face the player. Setting this to 0 will face the bots in the same direction as the player. Syntax:bot_mimic_yaw_offset < 0-360 > Set the direction by specifying angle in degrees Example:bot_mimic_yaw_offset 180 |
bot_randomnames | This will add text to bot names, apparently used for testing during development, some examples: "Yet more Bot names, medium size", "Another bot", "This is a medium Bot", "This is a super long bot name t" Syntax:bot_randomnames < 0/1 > On when set to 1 , off when set to 0 Example:bot_randomnames |
bot_refill | Refills all bots' Ammo counts, including Metal for Engineers. Syntax: bot_refill |
bot_saveme | This makes all the bots call for a Medic, equivalent to issuing bot_command < botname > "voicemenu 0 0" to every bot. Syntax: bot_saveme < 0/1 > On when set to 1 , off when set to 0 |
bot_selectweaponslot | This seems to affect only the first bot that was spawned, no other bots obey this command. Syntax:bot_selectweaponslot < n > Set n to weapon slot that bot should switch to. Example:bot_selectweaponslot 1 |
bot_teleport | Teleports a specified bot to a given coordinate. Map coordinates of where you are standing can be found by typing Status in the console. Syntax:bot_teleport < botname > < X > < Y > < Z > < Pitch > < Yaw > < Roll > Where botname is the bot name or id to teleport. X Y Z Yaw Roll |
bot_whack | Deliver lethal damage from player to specified bot. This basically kills the bot with the currently selected weapon, probably used for testing during development. Syntax:bot_whack < botname > Where botname is the name of bot to "whack". Example:bot_whack bot109 |
Useful aliases and binds
- sv_lan 1
- sv_cheats 1
- mp_teams_unbalance_limit 0
- alias +bot_shoot_primary "bot_flipout 1"
- alias -bot_shoot_primary "bot_flipout 0"
- alias +bot_shoot_secondary "bot_forceattack2 1;bot_flipout 1"
- alias -bot_shoot_secondary "bot_flipout 0;bot_forceattack2 0"
- bind n +bot_shoot_primary
- bind m +bot_shoot_secondary
Example Script
- Create a server and load a map (Gravelpit works well as a map since there is just the one respawn room, or the achievement maps with the open spawn areas).
- Join as a BLU Engineer and stay in the respawn room.
- Bring down console and type: sv_cheats 1
mp_teams_unbalance_limit 0
bot -class Engineer
bot_mimic_yaw_offset 0
bot_mimic 1
This will spawn a BLU Engineer bot by the name of "bot01" which will do what you do, including walking around and selecting/firing weapons. However, it will not build anything if you build it. You can make it select the build menu, but cannot actually select a menu item when you do. Thankfully, there is the
BUILD
command and the bot_command that can make the bot issue commands.
- Bring down console and type: bot_command bot01 "build 3"
This will start the build process with the Engineer holding his toolbox, the bot should be seeing the blueprint now.
- Close the console and press your fire button - this will start the Sentry building. Keep pressing the fire button to make the bot hit the Sentry with his Wrench to build it faster, and if you want add Metal to it. If you want to increase the Sentry's level then you need to give the bot more Metal with the bot_refill console command.
Example Script 2
The following will create a red medic and a red soldier who fire continously until they are out of ammo.
The medic ends up with a medigun set to heal any other player who passes them or an enemy spy. The soldier ends up bashing away with his melee weapon unless he ends up above a supply of ammunition - in which case he will continually fire rockets (good for deflection practice).
sv_cheats 1 mp_teams_unbalance_limit 0
bot -team red -class medic
bot -team red -class soldier
bot_forceattackon 1
bot_flipout 1
sv_cheats 0
retry
Example Script 3
The following will create a red sniper who continously scopes in and a red spy who cloaks and decloaks.
sv_cheats 1
mp_teams_unbalance_limit 0
bot -team red -class sniper
bot -team red -class spy
bot_forceattack2 1
bot_forceattackon 1
bot_flipout 1
sv_cheats 0
retry
Team Fortress 2 Bots News
Team Fortress 2 Bots Links
-
Bots - Official Team Fortress Wiki - Team Fortress 2
wiki.teamfortress.com: There are two types of bots in Team Fortress 2: AI bots and Puppet bots. AI bots are coded with sophisticated artificial intelligence designed to emulate player ...
-
Team Fortress 2 - Bots - YouTube
www.youtube.com: Jan 31, 2010 ... Things you type into console box: sv_cheats 1 (enable cheats) sv_cheats 0 ( disbale cheats) bot (add a bot) bot_jump (all bots jump) ...
-
team fortress 2 - How can my friend and I play TF2 against bots ...
gaming.stackexchange.com: How can I setup TF2 so that two players (myself and someone ... Here is an instruction on how to create a server and put bots on it: Make sure you ...
-
Valve adds bots to Team Fortress 2 | Games | Geek.com
www.geek.com: Dec 24, 2009 ... Valve has come up with a solution for its Team Fortress 2 game though, by introducing bots. They aren't an official release yet, but you can ...
-
How do you play with bots team fortress 2 - Wiki Answers
wiki.answers.com: Bots can be used in local TF2 games. Start a local LAN game, then bring up the console, (the tilde key, left of the 1 button) and you type "tf_bot_add 8", this will ...
Team Fortress 2 Bots Videos
Team Fortress 2 Bots Screenshots
Team Fortress 2 Bots Blogs
-
Valve adds bots to Team Fortress 2 | Games | Geek.com
www.geek.com: Christmas time usually means a few days off and therefore lots of time for gaming, but you also probably have to be sociable and spend time with family. Then there's present wrapping, unwrapping, and lots of eating of nice ...
-
Team Fortress 2′s Robotic Boogaloo Community Update Adds ...
screencrush.com: The first-ever update created entirely by community members adds 57 new items that are based on the types of hats that the game's third faction, the bots, would create. So now players can frag each ... Unlike official updates from Valve, this one contains no additional maps, weapons, or game types and just focuses on the most coveted of Team Fortress 2 items, echoing the community's love of the stat-less hats that are nothing more than decorative items. Gotta' love it.
-
Erectin a dispenser - Team Fortress 2
www.teamfortress.com: Team Fortress 2 is an excellent "sandbox" for explorations of this sort, and we've been quietly doing so for much of this last year. Some of the results of these explorations are TF "bots" — AI-driven player proxies with simulated ...
-
Team Fortress 2: TF2Items Server (With Bots) - Video Info at ...
www.mytoptrailer.com: Team Fortress 2 - Last update: Wed, 08 May 2013 11:34 GMT - Video: Team Fortress 2: TF2Items Server (With Bots)
-
team fortress 2 - Bot manipulation using the console in TF2 - Arqade
gaming.stackexchange.com: ... Namely I'm wanting: To be able to "toggle" (or turn on / off) some classes i.e disable medic class for bots. and. To force at least X number of bots to be Y class i.e forcing the bots to always have at least 1 spy. team-fortress-2 ...

