Difference between revisions of "List of default keys"

From Team Fortress Wiki
Jump to: navigation, search
m (Combat)
m (Combat)
Line 228: Line 228:
 
| {{Key|MOUSE3}}
 
| {{Key|MOUSE3}}
 
| <code>+attack3</code>
 
| <code>+attack3</code>
| Used by the Medic using Vaccinator to cycle resistances.
+
| Used by the Medic using [[Vaccinator]] to cycle resistances.
 
|-
 
|-
 
| Previous weapon  
 
| Previous weapon  

Revision as of 04:19, 22 December 2012

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

Action Key/Button Command Remarks
Move forward W +forward
Move back S +back
Move left (Strafe) A +moveleft
Move right (Strafe) D +moveright
Jump Space +jump
Duck (Crouch) Ctrl +duck
Swim up ' +moveup i.e., apostrophe; rarely used when mouselook enabled
Swim down / +movedown Rarely used when mouselook enabled
Look up Page Up +lookup i.e., KP_PGUP; rarely used
Look down Page Down +lookdown i.e., KP_PGDN; rarely used

Communication

Action Key/Button Command Remarks
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
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

Action Key/Button Command Remarks
Change class , changeclass
Change team . changeteam
Open Character loadout M open_charinfo_direct
Open Backpack N open_charinfo_backpack
Loadout Quickswitch <unbound> +quickswitch
Drop the briefcase L dropitem Also known as Intelligence
Taunt G taunt
Use item in Action slot H +use_action_slot_item
Show map information I showmapinfo
Inspect target F inspect

Class-specific skills

Action Key/Button Command Remarks
DEMOMAN: Detonate stickybombs MOUSE2 +attack2 Alternatively, charges if a shield is equipped
HEAVY: Spin Minigun barrel MOUSE2 +attack2 Alternatively, drops the lunchbox or attacks with right fist
MEDIC: Deploy ÜberCharge MOUSE2 +attack2
SNIPER: Zoom Sniper Rifle MOUSE2 +attack2 Alternatively, puts down Huntsman if equipped and aiming
SPY: Cloak/Uncloak MOUSE2 +attack2 Alternatively, deploys/undeploys Dead Ringer if equipped
SPY: Last disguise B lastdisguise If already disguised, changes your disguise weapon
SPY: Toggle disguise team - disguiseteam Available only while holding a Disguise Kit

* Note: On a right-handed mouse, MOUSE1 is the left mouse button and MOUSE2 is the right mouse button.

* Note: MOUSE2 also used by the Scout to launch the baseball or the ornament, the Soldier to fire the charged shot of the Cow Mangler 5000, the Pyro to airblast or to activate Mmmph, and the Engineer to rotate and redeploy buildings or to teleport back to spawn.

* Note: The default key for MOUSE2 on a Mac with a one-button mouse is Tab ⇆.

Combat

Action Key/Button Command Remarks
Primary attack MOUSE1 +attack
Reload weapon R +reload
Special attack MOUSE3 +attack3 Used by the Medic using Vaccinator to cycle resistances.
Previous weapon MWHEELUP invprev
Next weapon MWHEELDOWN invnext
Last weapon used Q lastinv
Weapon category 1 1 slot1 Normally the Primary weapon
Weapon category 2 2 slot2 Normally the Secondary weapon
Weapon category 3 3 slot3 Normally the 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 Use unknown/undefined
Weapon category 7 7 slot7 Use unknown/undefined
Weapon category 8 8 slot8 Use unknown/undefined
Weapon category 9 9 slot9 Use unknown/undefined
Weapon category 0 0 slot0 Use unknown/undefined

Miscellaneous

Action Key/Button Command Remarks
Spray logo T impulse 201
Display multiplayer scores Tab ⇆ +showscores
Take screenshot F5 screenshot F12 will send a screenshot directly to the Steam Community
Save a replay of your current or last life F6 save_replay
Toggle replay tips F12 replay_togglereplaytips
Quit game <unbound> quit
Toggle Developer console ` toggleconsole
Accept redirect to another server F3 askconnect_accept Used to accept a server's request to connect you to a different server.
View/Accept the topmost alert J cl_trigger_first_notification e.g. trading requests
Remove/Decline the topmost alert K cl_decline_first_notification e.g. trading requests

* Note: The default key for "Display multiplayer scores" on a Mac with a one-button mouse is ].

See also