Professional Documents
Culture Documents
cl_ commands
addcond commands
Main article: Addcond
addcond 5 - Gives the player a ÜberCharge effect that can be removed if healed
by Dispenser, Medic or being killed
addcond 11 - Gives the player a critical effect that can be removed if healed
by Dispenser, Medic or being killed
addcond 19 - Gives the player the Mini-Crit effect
addcond 56 - Gives the player a critical effect that will not be removed unless
killed or via removecond
addcond 57 - Gives the player a ÜberCharge effect that will not be removed
unless killed or via removecond
addcond 64 - Player will Cloak immediately regardless of class. Used for the
Invisibility Magic spell.
addcond 66 - Bots will ignore the player even if the player bumps into a bot
when disguised or cloaked
addcond 72 - Gives the player an effect that enhance their reload speed, firing
speed, movement speed and grants infinite double jumps
addcond 73 - Gives the player the Quick-Fix ÜberCharge effect
addcond 74 - Makes the player 10 times bigger and 10 times the health, also
player will have infinite ammo but not clip size - player's melee range will remain
the same
addcond 75 - Makes the player 10 times smaller; melee range and health will
stay the same
addcond 92 - Player periodically regenerates ammo, health, and metal. Health
regeneration rate is inversely proportional to maximum health. Used for the "Regen"
powerup in Mannpower mode
addcond 114 - Enables glow outlines on friendly players and buildings
ent_ commands
See Cheats for more ent_ commands
Item pickups
Buildings
Removing entities
tf_ commands
sv_ commands
mp_ commands
hud_ commands
Miscellaneous commands
For players
bind <key> <command> - Binds a key to a command.
bind <key> - Displays the command the given key is bound to.
unbind <key> - Unbinds a key.
unbindall - Unbinds all keys.
dropitem - Drop the flag or Intelligence.
kill - Commit suicide.
explode - Commit suicide by exploding into gibs.
+attack - Forces the player to constantly use their primary fire. (Same as M1)
(-attack will disable)
+attack2 - Forces the player to constantly use their secondary fire. (Same as
M2) (-attack2 will disable)
+attack3 - Forces the player to constantly use their tertiary fire. (Same as
middle-click or M3) (-attack3 will disable)
fov_desired <75-90> - Set desired field of view (higher values show more of the
battlefield at the cost of fps) (can also be changed from advanced video Options)
jointeam <red/blue/auto/spectator> - Force team. (use this if you are stuck in
"dead spectator" mode when too many people attempt to join a team at the same time)
jpeg - Take a jpeg screenshot.
noclip - Allows the players on the server to fly through walls. - sv_cheats 1
only.
retry - Retry connection to last server.
status - Display map and connection status.
viewmodel_fov <number> - Sets distance in which your weapons are drawn, higher
values show more of the weapon and arms but may show missing parts. (can also be
changed from advanced Options)
r_drawviewmodel <0/1> - Turns viewmodels on and off. (can also be changed from
advanced Options)
restart - Restarts the current server dedicated server only
find <text> - Displays all commands that match a string of text
hurtme <number> - Deals a given amount of damage (can be negative for extra
health) - sv_cheats 1 only
zoom_sensitivity_ratio <0~1> - Sets the ratio of sensitivity while zoomed in
with the Sniper Rifle with accordance to actual sensitivity.
net_graph <0-4> Shows different amounts of information such as ping, framerate,
lerp, and packet loss depending on the input value.
thirdperson - Places your view in a camera behind your character - sv_cheats 1
only
thirdperson_mayamode - If active, turning in third person does not move the
camera - sv_cheats 1 only
thirdperson_platformer <0/1> - If active, the mouse controls the camera while
movement is controlled relative to it.
If thirdperson_mayamode isn't active, walking towards the camera will
'push' your view away.
firstperson - Return to first person perspective.
If thirdperson_platformer is still set to 1, you will not be able to move
the camera during taunts.
currency_give <amount> - Gives a specified amount of credits in Mann vs.
Machine (maximum is 32767 credits at once, higher values will default to giving 0
instead) - sv_cheats 1 only
snd_restart - Used to restart all sounds in any game mode.
player_ready_toggle - Readies/unreadies the player in MVM and Competitive
shake - Shakes the screen briefly, similarly to the shaking that occurs from a
Payload cart's explosion - sv_cheats 1 only
ghost_spawn - Spawns a ghost that moves following a set path and disappears
soon after. - sv_cheats 1 only
taunt_by_name <taunt name> - Runs a specified taunt, given the exact name of a
taunt in the player's current taunt loadout, without having to open the taunt menu.
For moderators/admins
changelevel <mapname> - Changes the map.
cvarlist - View complete cvar list.
exec - Execute config file from the tf/cfg folder.
map <mapname> - Changes the map and restarts the server.
Starts a new server if entered on the main menu - useful for bypassing the
"Create New Server" dialog and map drop-down menu
maps <*/mapname> - Display list of maps.
rcon_password <password> - gives player access to remote control commands of a
server.
nextlevel <mapname> - Sets the next map to be played.
rcon <command> - Executes an rcon command.
rcon_address <ip address> - Sets the server address to send rcon commands to
(if not set, console sends the command to the server that the player is currently
in instead)
phys_pushscale <number> - Determines how far player corpses can be "pushed"
when killed
phys_timescale <number> - Determines how fast props/projectiles move (default:
1)
tf_ctf_bonus_time <number> - Determines how long (in seconds) guaranteed
critical hits are enabled when the Intelligence is captured on a CTF map. 0
disables them entirely. Default is 10 seconds.
For recording
Main article: Help:Recording demos
The following commands were introduced by the Demo Support feature (see May 31,
2016 Patch):
Weapon commands
Pictogram comment.png use is similar to the 'slot' commands, but cannot be used for
voice commands.
Syntax
use <weapon_name>
Arguments
<weapon_name>
Scout
tf_weapon_scattergun
tf_weapon_handgun_scout_primary
tf_weapon_soda_popper
tf_weapon_pistol_scout
tf_weapon_lunchbox_drink
tf_weapon_jar_milk
tf_weapon_handgun_scout_secondary
tf_weapon_cleaver
tf_weapon_bat
tf_weapon_bat_wood
tf_weapon_bat_fish
Soldier
tf_weapon_rocketlauncher
tf_weapon_rocketlauncher_directhit
tf_weapon_particle_cannon
tf_weapon_shotgun_soldier
tf_weapon_buff_item
tf_weapon_raygun
tf_weapon_shovel
tf_weapon_katana
tf_weapon_rocketlauncher_airstrike
Pyro
tf_weapon_flamethrower
tf_weapon_shotgun_pyro
tf_weapon_flaregun
tf_weapon_fireaxe
Demoman
tf_weapon_grenadelauncher
tf_weapon_pipebomblauncher
tf_weapon_bottle
tf_weapon_sword
tf_weapon_stickbomb
tf_weapon_katana
tf_weapon_minigun
tf_weapon_shotgun_hwg
tf_weapon_lunchbox
tf_weapon_fists
Engineer
tf_weapon_shotgun_primary
tf_weapon_sentry_revenge
tf_weapon_pistol
tf_weapon_laser_pointer
tf_weapon_mechanical_arm
tf_weapon_wrench
tf_weapon_robot_arm
tf_weapon_pda_engineer_destroy
tf_weapon_pda_engineer_build
Medic
tf_weapon_syringegun_medic
tf_weapon_crossbow
tf_weapon_medigun
tf_weapon_bonesaw
Sniper
tf_weapon_sniperrifle
tf_weapon_compound_bow
tf_weapon_sniperrifle_decap
tf_weapon_smg
tf_weapon_jar
tf_weapon_club
tf_weapon_sniperrifle_classic
Spy
tf_weapon_revolver
tf_weapon_knife
tf_weapon_pda_spy
To equip Sapper, use: "build 3 0"
Other Commands
invnext - switches to the next weapon
invprev - switches to the previous weapon
lastinv - switches to the last weapon used