This is a list of default keys for the PC version of Team Fortress 2. All keys are user-definable in the game Options, via the Developer console, or by scripting.
Movement
Move forward
|
W
|
+forward
|
|
Move back
|
S
|
+back
|
|
Move left (Strafe)
|
A
|
+moveleft
|
|
Move right (Strafe)
|
D
|
+moveright
|
|
Strafe
|
Alt
|
+strafe
|
Moves on mouse movement, in addition to the movement keys. It is possible to move slower and more precisely doing this, although there is very little use to doing so in-game.
|
Jump
|
Space
|
+jump
|
|
Duck
|
Ctrl
|
+duck
|
|
Swim up
|
'
|
+moveup
|
Rarely used when mouselook is enabled
|
Swim down
|
/
|
+movedown
|
Look up
|
Page Up
|
+lookup
|
Look down
|
Page Down
|
+lookdown
|
Center view
|
End
|
centerview
|
Communication
Use voice communication
|
V
|
+voicerecord
|
Speak to players only on your team, provided the server's CVAR sv_alltalk is set to 0 . If set to 1 , all players on the server will receive your voice chat.
|
Chat message
|
Y
|
say
|
Text chat to all players on the server, including Spectators
|
Team message
|
U
|
say_team
|
Text chat to players only on your team
|
Party message
|
P
|
say_party
|
Text chat to players only on your party
|
Voice menu 1
|
Z
|
voice_menu_1
|
|
Voice menu 2
|
X
|
voice_menu_2
|
|
Voice menu 3
|
C
|
voice_menu_3
|
|
Call for a Medic
|
E
|
voicemenu 0 0
|
|
Gameplay
Class-specific skills
SCOUT: Launch the baseball or the ornament
|
MOUSE2
|
+attack2
|
|
SOLDIER: Fire the charged shot of the Cow Mangler 5000
|
MOUSE2
|
+attack2
|
|
PYRO: Uses Airblast
|
MOUSE2
|
+attack2
|
Alternatively, activates 'Mmmph' if the Phlogistinator is equipped or activates the Manmelter's vacuum or detonates the Detonator's flare.
|
DEMOMAN: Detonate stickybombs
|
MOUSE2
|
+attack2
|
Alternatively, charges if a shield is equipped.
|
HEAVY: Spin Minigun barrel
|
MOUSE2
|
+attack2
|
Alternatively, drops a Sandvich, a Buffalo Steak Sandvich, a Dalokohs Bar, a Second Banana or attacks with right fist.
|
ENGINEER: Carry/Rotate buildings
|
MOUSE2
|
+attack2
|
Alternatively, fires the energy orb of the Short Circuit or teleports buildings using the Rescue Ranger.
|
MEDIC: Deploy ÜberCharge
|
MOUSE2
|
+attack2
|
|
SNIPER: Zoom Sniper Rifle
|
MOUSE2
|
+attack2
|
Alternatively, retracts the Huntsman if aiming.
|
SPY: Cloak/Uncloak
|
MOUSE2
|
+attack2
|
Alternatively, deploys/undeploys Dead Ringer.
|
SPY: Last disguise
|
B
|
lastdisguise
|
If already disguised, changes your disguise weapon to whatever slot corresponds to the Spy's active weapon.
|
SPY: Toggle disguise team
|
-
|
disguiseteam
|
Available only while holding a Disguise Kit. When the disguise menu is open, R (+reload ) also works.
|
* Note: On a right-handed mouse, MOUSE1 is the left mouse button and MOUSE2 is the right mouse button.
* Note: The default key for MOUSE2 on a Mac with a one-button mouse is Tab ⇆.
Combat
Primary attack
|
MOUSE1
|
+attack
|
|
Secondary Attack
|
MOUSE2
|
+attack2
|
Also used with Class-specific skills.
|
Reload weapon
|
R
|
+reload
|
Opens the teleport menu with the Eureka Effect, switches resistances for the Vaccinator, and activates Focus for the Hitman's Heatmaker. Also works like - with the Spy's Disguise Kit to change the disguise team.
|
Special Attack
|
MOUSE3
|
+attack3
|
Activates the Heavy's Rage and the Medic's projectile shield in MVM when either meter is full.
|
Previous weapon
|
MWHEELUP
|
invprev
|
|
Next weapon
|
MWHEELDOWN
|
invnext
|
|
Last weapon used
|
Q
|
lastinv
|
Spy: Cancel Spy Disguise Kit Engineer: Cancel building.
|
Weapon category 1
|
1
|
slot1
|
Primary weapon (Except for Spy, where it is the secondary weapon)
|
Weapon category 2
|
2
|
slot2
|
Secondary weapon (Except for Spy, where it is the building, i.e. Sapper)
|
Weapon category 3
|
3
|
slot3
|
Melee weapon
|
Weapon category 4
|
4
|
slot4
|
Used by the Engineer to create Buildings, and by the Spy for disguising.
|
Weapon category 5
|
5
|
slot5
|
Used by the Engineer to destroy Buildings.
|
Weapon category 6
|
6
|
slot6
|
Selects the Grappling Hook in Mannpower Mode (or if the server allows Grapples)
|
Weapon category 7
|
7
|
slot7
|
No current use
|
Weapon category 8
|
8
|
slot8
|
Weapon category 9
|
9
|
slot9
|
Weapon category 10
|
0
|
slot10
|
Miscellaneous
Spray logo
|
T
|
impulse 201
|
|
Display multiplayer scores
|
Tab ⇆
|
+showscores
|
|
|
F1
|
+showroundinfo
|
This command does not currently exist within the game.
|
Open the Contracts Drawer
|
F2
|
show_quest_log
|
|
Accept redirect to another server
|
F3
|
askconnect_accept
|
Used to accept a server's request to connect you to a different server.
|
Ready-up in Mann vs. Machine
|
F4
|
player_ready_toggle
|
Indicate if you are ready for the next wave to begin in Mann vs. Machine. Once all players have indicated readiness, the wave will start.
|
Take screenshot
|
F5
|
screenshot
|
|
Save a replay of your current or last life
|
F6
|
save_replay
|
|
Open an abuse report
|
F7
|
abuse_report_queue
|
This command is rebound every time the game starts.
|
Quit game
|
F10
|
quit prompt
|
|
Toggle replay tips
|
F12
|
replay_togglereplaytips
|
May conflict with the default key for taking Steam screenshots.
|
Toggle Developer console
|
`
|
toggleconsole
|
|
View/Accept the topmost alert
|
J
|
cl_trigger_first_notification
|
e.g. trading requests
|
* Note: The default key for "Display multiplayer scores" on a Mac with a one-button mouse is ].
Bugs
- K is currently not bound, although it used to be bound to
cl_decline_first_notification
- E is bound twice, first to
dropitem
, which L is also bound to.
- F1 is bound to a non-existent setting.
See also