Difference between revisions of "List of default keys"

From Team Fortress Wiki
Jump to: navigation, search
m (Added Mannpower powerups to the list of dropitem remarks.)
m (See also)
 
(26 intermediate revisions by 13 users not shown)
Line 1: Line 1:
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 [[Console|Developer console]], or by [[Scripting#Using Scripts|scripting]].
+
This is a '''list of default keys''' for the PC version of ''[[Team Fortress 2]]''. All keys are user-definable in the [[multiplayer options]], via the [[Console|Developer console]], or by [[Scripting#Using Scripts|scripting]].
  
=== Movement ===
+
=== <!-- Valve_Movement_Title -->MOVEMENT<!-- ".\hl2\resource\valve_[language].txt" --> ===
 
{| class="wikitable grid" style="text-align: left"
 
{| class="wikitable grid" style="text-align: left"
 
! class="header" | Action
 
! class="header" | Action
Line 7: Line 7:
 
! class="header" | Command
 
! class="header" | Command
 
! class="header" | Remarks
 
! class="header" | Remarks
|-
+
|-<!-- Valve_Move_Forward -->
 
| Move forward
 
| Move forward
 
| {{Key|W}}
 
| {{Key|W}}
 
| <code>+forward</code>
 
| <code>+forward</code>
 
|  
 
|  
|-
+
|-<!-- Valve_Move_Back -->
 
| Move back
 
| Move back
 
| {{Key|S}}
 
| {{Key|S}}
 
| <code>+back</code>
 
| <code>+back</code>
 
|  
 
|  
|-
+
|-<!-- Valve_Move_Left -->
| Move left ([[strafing|Strafe]])
+
| Move left ([[Strafing|Strafe]])
 
| {{Key|A}}
 
| {{Key|A}}
 
| <code>+moveleft</code>
 
| <code>+moveleft</code>
 
|  
 
|  
|-
+
|-<!-- Valve_Move_Right -->
 
| Move right (Strafe)
 
| Move right (Strafe)
 
| {{Key|D}}
 
| {{Key|D}}
 
| <code>+moveright</code>
 
| <code>+moveright</code>
 
|  
 
|  
|-
+
|-<!-- Valve_Jump -->
| Strafe
+
| [[Jumping|Jump]]
| {{Key|Alt}}
 
| <code>+strafe</code>
 
| 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.
 
|-
 
| [[jumping|Jump]]
 
 
| {{Key|Space}}
 
| {{Key|Space}}
 
| <code>+jump</code>
 
| <code>+jump</code>
 
|  
 
|  
|-
+
|-<!-- Valve_Duck -->
 
| [[Crouching|Duck]]
 
| [[Crouching|Duck]]
 
| {{Key|Ctrl}}
 
| {{Key|Ctrl}}
 
| <code>+duck</code>
 
| <code>+duck</code>
 
|  
 
|  
|-
+
|-<!-- Valve_Swim_Up -->
 
| Swim up
 
| Swim up
 
| {{Key|'}}
 
| {{Key|'}}
 
| <code>+moveup</code>
 
| <code>+moveup</code>
| rowspan="5" | Rarely used when mouselook is enabled
+
| rowspan="4" | Rarely used when mouselook is enabled
|-
+
|-<!-- Valve_Swim_Down -->
 
| Swim down
 
| Swim down
 
| {{Key|/}}
 
| {{Key|/}}
 
| <code>+movedown</code>
 
| <code>+movedown</code>
|-
+
|-<!-- Valve_Look_Up -->
 
| Look up
 
| Look up
 
| {{Key|Page Up}}
 
| {{Key|Page Up}}
 
| <code>+lookup</code>
 
| <code>+lookup</code>
|-
+
|-<!-- Valve_Look_Down -->
 
| Look down
 
| Look down
 
| {{Key|Page Down}}
 
| {{Key|Page Down}}
 
| <code>+lookdown</code>
 
| <code>+lookdown</code>
|-
 
| Center view
 
| {{Key|End}}
 
| <code>centerview</code>
 
 
|}
 
|}
  
=== Communication ===
+
=== <!-- Valve_Communication_Title -->COMMUNICATION<!-- ".\hl2\resource\valve_[language].txt" and ".\tf\resource\tf_[language].txt" --> ===
 
{| class="wikitable grid" style="text-align: left"
 
{| class="wikitable grid" style="text-align: left"
 
! class="header" | Action
 
! class="header" | Action
Line 71: Line 62:
 
! class="header" | Command
 
! class="header" | Command
 
! class="header" | Remarks
 
! class="header" | Remarks
|-
+
|-<!-- Valve_Use_Voice_Communication -->
 
| Use [[Voice chat|voice communication]]
 
| Use [[Voice chat|voice communication]]
 
| {{Key|V}}
 
| {{Key|V}}
 
| <code>+voicerecord</code>
 
| <code>+voicerecord</code>
| Speak to players only on your team, provided the server's CVAR <code>sv_alltalk</code> is set to <code>0</code>. If set to <code>1</code>, all players on the server will receive your voice chat.
+
| Speak to players on the same team, provided the server's CVAR <code>sv_alltalk</code> is set to <code>0</code>. If set to <code>1</code>, all players on the server receive your voice chat.
|-
+
|-<!-- Valve_Chat_Message -->
 
| Chat message
 
| Chat message
 
| {{Key|Y}}
 
| {{Key|Y}}
 
| <code>say</code>
 
| <code>say</code>
| Text chat to all players on the server, including Spectators
+
| [[Text chat]] to all players on the server, including Spectators
|-
+
|-<!-- Valve_Team_Message -->
 
| Team message
 
| Team message
 
| {{Key|U}}
 
| {{Key|U}}
 
| <code>say_team</code>
 
| <code>say_team</code>
| Text chat to players only on your team
+
| Text chat to players on the same team
|-
+
|-<!-- TF_voice_menu_A -->
| Party message
+
| [[Voice commands|Voice Menu 1]]
| {{Key|P}}
 
| <code>say_party</code>
 
| Text chat to players only on your party
 
|-
 
| [[Voice commands#Voice menu 1|Voice menu 1]]
 
 
| {{Key|Z}}
 
| {{Key|Z}}
 
| <code>voice_menu_1</code>
 
| <code>voice_menu_1</code>
 
|  
 
|  
|-
+
|-<!-- TF_voice_menu_B -->
| [[Voice commands#Voice menu 2|Voice menu 2]]
+
| Voice Menu 2
 
| {{Key|X}}
 
| {{Key|X}}
 
| <code>voice_menu_2</code>
 
| <code>voice_menu_2</code>
 
|  
 
|  
|-
+
|-<!-- TF_voice_menu_C -->
| [[Voice commands#Voice menu 3|Voice menu 3]]
+
| Voice Menu 3
 
| {{Key|C}}
 
| {{Key|C}}
 
| <code>voice_menu_3</code>
 
| <code>voice_menu_3</code>
 
|  
 
|  
|-
+
|-<!-- TF_Call_For_Help -->
| Call for a [[Medic]]
+
| Call for help
 
| {{Key|E}}
 
| {{Key|E}}
| <code>voicemenu 0 0</code>
+
| <code>+helpme</code>
|
+
| Same as <code>voicemenu 0 0</code>
 
|}
 
|}
  
=== Gameplay ===
+
=== <!-- TF_Title -->TEAM FORTRESS<!-- ".\hl2\resource\valve_[language].txt" and ".\tf\resource\tf_[language].txt" --> ===
 
{| class="wikitable grid" style="text-align: left"
 
{| class="wikitable grid" style="text-align: left"
 
! class="header" | Action
 
! class="header" | Action
Line 119: Line 105:
 
! class="header" | Command
 
! class="header" | Command
 
! class="header" | Remarks
 
! class="header" | Remarks
|-
+
|-<!-- Valve_Change_Class -->
| Change [[class]]
+
| Change [[Classes|class]]
 
| {{Key|,}}
 
| {{Key|,}}
 
| <code>changeclass</code>
 
| <code>changeclass</code>
 
|  
 
|  
|-
+
|-<!-- Valve_Change_Team -->
 
| Change [[team]]
 
| Change [[team]]
 
| {{Key|.}}
 
| {{Key|.}}
 
| <code>changeteam</code>
 
| <code>changeteam</code>
 
|  
 
|  
|-
+
|-<!-- TF_Open_Charinfo -->
 
| Open Character loadout
 
| Open Character loadout
 
| {{Key|M}}
 
| {{Key|M}}
 
| <code>open_charinfo_direct</code>
 
| <code>open_charinfo_direct</code>
 
|  
 
|  
|-
+
|-<!-- TF_Open_Charinfo_Backpack -->
 
| Open [[Item drop system|Backpack]]
 
| Open [[Item drop system|Backpack]]
 
| {{Key|N}}
 
| {{Key|N}}
 
| <code>open_charinfo_backpack</code>
 
| <code>open_charinfo_backpack</code>
 
|  
 
|  
|-
+
|-<!-- TF_Show_Quest_Log -->
| Drop item
+
| Open Contracts Drawer
 +
| {{Key|F2}}
 +
| <code>show_quest_log</code>
 +
|
 +
|-<!-- TF_Matchmaking_Show -->
 +
| Open Matchmaking
 +
| {{Key|F3}}
 +
| <code>show_matchmaking</code>
 +
| This command does not currently exist within the game.
 +
|-<!-- TF_Quickswitch -->
 +
| Loadout Quickswitch
 +
| {{common strings|n/a}}
 +
| <code>+quickswitch</code>
 +
|
 +
|-<!-- TF_LoadPreset0 -->
 +
| Load item preset A
 +
| {{common strings|n/a}}
 +
| <code>load_itempreset 0</code>
 +
|
 +
|-<!-- TF_LoadPreset1 -->
 +
| Load item preset B
 +
| {{common strings|n/a}}
 +
| <code>load_itempreset 1</code>
 +
|
 +
|-<!-- TF_LoadPreset2 -->
 +
| Load item preset C
 +
| {{common strings|n/a}}
 +
| <code>load_itempreset 2</code>
 +
|
 +
|-<!-- TF_LoadPreset3 -->
 +
| Load item preset D
 +
| {{common strings|n/a}}
 +
| <code>load_itempreset 3</code>
 +
|
 +
|-<!-- TF_DropFlag -->
 +
| Drop the briefcase
 
| {{Key|L}}
 
| {{Key|L}}
 
| <code>dropitem</code>
 
| <code>dropitem</code>
| Drop the [[Capture the Flag#Intelligence|Intelligence]], the [[Special Delivery (game mode)|Australium briefcase]], [[Mannpower#Powerups|powerups]], or [[Player Destruction|Player Destruction pickups]].  
+
| Drop the [[Capture the Flag#Intelligence|Intelligence]], the [[Special Delivery (game mode)#Briefcase|Australium briefcase]], [[Mannpower#Powerups|Powerups]], or [[Player Destruction|Player Destruction Pickups]].  
|-
+
|-<!-- TF_Taunt -->
 
| [[Taunts]]
 
| [[Taunts]]
 
| {{Key|G}}
 
| {{Key|G}}
 
| <code>+taunt</code>
 
| <code>+taunt</code>
 
|  
 
|  
|-
+
|-<!-- TF_Action -->
 
| Use item in Action slot
 
| Use item in Action slot
 
| {{Key|H}}
 
| {{Key|H}}
 
| <code>+use_action_slot_item</code>
 
| <code>+use_action_slot_item</code>
| Pick up items dropped by players who died.
+
| Pick up weapons dropped by players. Also used to cast [[magic spells]].
|-
+
|-<!-- TF_Context_Action -->
| Show map information
+
| Contextual Action/Taunt
 +
| {{common strings|n/a}}
 +
| <code>+context_action</code>
 +
|
 +
|-<!-- TF_MapInfo -->
 +
| Show Map Information
 
| {{Key|I}}
 
| {{Key|I}}
 
| <code>showmapinfo</code>
 
| <code>showmapinfo</code>
 
|
 
|
|-
+
|-<!-- TF_Inspect -->
| Inspect target or weapon
+
| Inspect Target or Item
 
| {{Key|F}}
 
| {{Key|F}}
 
| <code>+inspect</code>
 
| <code>+inspect</code>
 
|  
 
|  
 +
|-<!-- TF_call_vote -->
 +
| Call Vote
 +
| {{common strings|n/a}}
 +
| <code>callvote</code>
 +
|
 +
|-<!-- TF_Player_ReadyToggle -->
 +
| Toggle Player Ready
 +
| {{Key|F4}}
 +
| <code>player_ready_toggle</code>
 +
| Indicate you are ready to play in [[Mann vs. Machine]] and [[Competitive Mode]].<br>Once all players have readied up, the wave or match starts.
 
|}
 
|}
  
=== Class-specific skills ===
+
=== <!-- TF_ClassSpecific_Keys -->CLASS SPECIFIC SKILL<!-- ".\tf\resource\tf_[language].txt" --> ===
 
{| class="wikitable grid" style="text-align: left"
 
{| class="wikitable grid" style="text-align: left"
 
! class="header" | Action
 
! class="header" | Action
Line 172: Line 208:
 
! class="header" | Command
 
! class="header" | Command
 
! class="header" | Remarks
 
! class="header" | Remarks
|-
+
|-<!-- TF_ClassSkill_Demoman -->
| {{botignore|SCOUT}}: Launch the [[Sandman|baseball]] or the [[Wrap Assassin|ornament]]
+
| {{botignore|DEMOMAN}}: Detonate [[Stickybomb Launcher|Stickybombs]]
| {{Key|MOUSE2}}
+
| rowspan="5" | {{Key|MOUSE2}}
| <code>+attack2</code>
+
| rowspan="5" | <code>+attack2</code>
|
+
| Alternatively, charges if a shield ([[Chargin' Targe]], [[Splendid Screen]] or [[Tide Turner]]) is equipped.
|-
+
|-<!-- TF_ClassSkill_Heavy -->
| {{botignore|SOLDIER}}: Fire the charged shot of the [[Cow Mangler 5000]]
+
| {{botignore|HEAVY}}: Spin [[Minigun]] Barrel
| {{Key|MOUSE2}}
+
| Alternatively, drops any [[Lunchbox]] item or attacks with the right fist.
| <code>+attack2</code>
+
|-<!-- TF_ClassSkill_Medic -->
|
+
| {{botignore|MEDIC}}: Deploy [[ÜberCharge]]
|-
 
| {{botignore|PYRO}}: Uses [[Airblast]]
 
| {{Key|MOUSE2}}
 
| <code>+attack2</code>
 
| Alternatively, activates 'Mmmph' if the [[Phlogistinator]] is equipped or activates the [[Manmelter]]'s vacuum or detonates the [[Detonator]]'s flare.
 
|-
 
| {{botignore|DEMOMAN}}: Detonate [[Stickybomb Launcher|stickybombs]]
 
| {{Key|MOUSE2}}
 
| <code>+attack2</code>
 
| Alternatively, charges if a shield is equipped.
 
|-
 
| {{botignore|HEAVY}}: Spin [[Minigun]] barrel
 
| {{Key|MOUSE2}}
 
| <code>+attack2</code>
 
| Alternatively, drops a [[Sandvich]], a [[Buffalo Steak Sandvich]], a [[Dalokohs Bar]], a [[Second Banana]] or attacks with right fist.
 
|-
 
| {{botignore|ENGINEER}}: Carry/Rotate buildings
 
| {{Key|MOUSE2}}
 
| <code>+attack2</code>
 
| Alternatively, fires the energy orb of the [[Short Circuit]] or teleports buildings using the [[Rescue Ranger]].
 
|-
 
| {{botignore|MEDIC}}: Deploy [[Ubercharge|ÜberCharge]]
 
| {{Key|MOUSE2}}
 
| <code>+attack2</code>
 
 
|
 
|
|-
+
|-<!-- TF_ClassSkill_Sniper -->
| {{botignore|SNIPER}}: Zoom [[Sniper rifle|Sniper Rifle]]
+
| {{botignore|SNIPER}}: Zoom [[Sniper Rifle]]
| {{Key|MOUSE2}}
 
| <code>+attack2</code>
 
 
| Alternatively, retracts the [[Huntsman]] if aiming.
 
| Alternatively, retracts the [[Huntsman]] if aiming.
|-
+
|-<!-- TF_ClassSkill_Spy -->
| {{botignore|SPY}}: Cloak/Uncloak
+
| {{botignore|SPY}}: Cloak / Uncloak
| {{Key|MOUSE2}}
 
| <code>+attack2</code>
 
 
| Alternatively, deploys/undeploys [[Dead Ringer]].
 
| Alternatively, deploys/undeploys [[Dead Ringer]].
|-
+
|-<!-- TF_ClassSkill_Spy_LastDisguise -->
| {{botignore|SPY}}: Last [[disguise]]
+
| {{botignore|SPY}}: Last [[Disguise]]
 
| {{Key|B}}
 
| {{Key|B}}
 
| <code>lastdisguise</code>
 
| <code>lastdisguise</code>
 
| If already disguised, changes your disguise weapon to whatever slot corresponds to the Spy's active weapon.
 
| If already disguised, changes your disguise weapon to whatever slot corresponds to the Spy's active weapon.
|-
+
|-<!-- TF_ClassSkill_Spy_DisguiseTeam -->
| {{botignore|SPY}}: Toggle disguise team
+
| {{botignore|SPY}}: Toggle Disguise Team
 
| {{Key|-}}
 
| {{Key|-}}
 
| <code>disguiseteam</code>
 
| <code>disguiseteam</code>
Line 232: Line 240:
 
'''''* Note''''': The default key for MOUSE2 on a Mac with a one-button mouse is {{Key|Tab}}.
 
'''''* Note''''': The default key for MOUSE2 on a Mac with a one-button mouse is {{Key|Tab}}.
  
=== Combat ===
+
=== <!-- Valve_Combat_Title -->COMBAT<!-- ".\hl2\resource\valve_[language].txt" and ".\tf\resource\tf_[language].txt" --> ===
 
{| class="wikitable grid" style="text-align: left"
 
{| class="wikitable grid" style="text-align: left"
 
! class="header" | Action
 
! class="header" | Action
Line 238: Line 246:
 
! class="header" | Command
 
! class="header" | Command
 
! class="header" | Remarks
 
! class="header" | Remarks
|-
+
|-<!-- Valve_Primary_Attack -->
 
| Primary attack
 
| Primary attack
 
| {{Key|MOUSE1}}
 
| {{Key|MOUSE1}}
 
| <code>+attack</code>
 
| <code>+attack</code>
 
|  
 
|  
|-
+
|-<!-- Valve_Secondary_Attack -->
| Secondary Attack
+
| Secondary attack
 
| {{Key|MOUSE2}}
 
| {{Key|MOUSE2}}
 
| <code>+attack2</code>
 
| <code>+attack2</code>
| Also used with [[List of default keys#Class-specific skills|Class-specific skills]].
+
| Also used with [[#CLASS SPECIFIC SKILL|Class-specific skills]].
|-
+
|-<!-- TF_Special_Attack -->
 +
| Special Attack
 +
| {{Key|MOUSE3}}
 +
| <code>+attack3</code>
 +
| Activates the Heavy's [[Upgrade Station|Rage]] or the Medic's [[Projectile Shield]] in [[Mann vs. Machine]] when either meter is full.
 +
|-<!-- Valve_Reload_Weapon -->
 
| Reload weapon
 
| Reload weapon
 
| {{Key|R}}
 
| {{Key|R}}
 
| <code>+reload</code>
 
| <code>+reload</code>
 
| Opens the teleport menu with the [[Eureka Effect]], switches resistances for the [[Vaccinator]], and activates Focus for the [[Hitman's Heatmaker]]. Also works like {{Key|-}} with the Spy's Disguise Kit to change the disguise team.
 
| Opens the teleport menu with the [[Eureka Effect]], switches resistances for the [[Vaccinator]], and activates Focus for the [[Hitman's Heatmaker]]. Also works like {{Key|-}} with the Spy's Disguise Kit to change the disguise team.
|-
+
|-<!-- Valve_Previous_Weapon -->
| Special Attack
 
| {{Key|MOUSE3}}
 
| <code>+attack3</code>
 
| Activates the Heavy's [[Upgrade Station|Rage]] and the Medic's projectile shield in [[Mann vs. Machine|MVM]] when either meter is full.
 
|-
 
 
| Previous weapon  
 
| Previous weapon  
 
| {{Key|MWHEELUP}}
 
| {{Key|MWHEELUP}}
 
| <code>invprev</code>
 
| <code>invprev</code>
 
|  
 
|  
|-
+
|-<!-- Valve_Next_Weapon -->
 
| Next weapon
 
| Next weapon
 
| {{Key|MWHEELDOWN}}
 
| {{Key|MWHEELDOWN}}
 
| <code>invnext</code>
 
| <code>invnext</code>
 
|  
 
|  
|-
+
|-<!-- Valve_Last_Weapon_Used -->
 
| Last weapon used
 
| Last weapon used
 
| {{Key|Q}}
 
| {{Key|Q}}
 
| <code>lastinv</code>
 
| <code>lastinv</code>
| Spy: Cancel [[Spy]] [[Disguise Kit]]<br> Engineer: Cancel [[building]].
+
| Spy: Cancel [[Spy]] [[Disguise Kit]]<br />Engineer: Cancel [[Buildings]]
|-
+
|-<!-- Valve_Weapon_Category_1 -->
 
| Weapon category 1
 
| Weapon category 1
 
| {{Key|1}}
 
| {{Key|1}}
 
| <code>slot1</code>
 
| <code>slot1</code>
 
| [[Primary weapon]] (Except for Spy, where it is the secondary weapon)
 
| [[Primary weapon]] (Except for Spy, where it is the secondary weapon)
|-
+
|-<!-- Valve_Weapon_Category_2 -->
 
| Weapon category 2
 
| Weapon category 2
 
| {{Key|2}}
 
| {{Key|2}}
 
| <code>slot2</code>
 
| <code>slot2</code>
 
| [[Secondary weapon]] (Except for Spy, where it is the building, i.e. Sapper)
 
| [[Secondary weapon]] (Except for Spy, where it is the building, i.e. Sapper)
|-
+
|-<!-- Valve_Weapon_Category_3 -->
 
| Weapon category 3
 
| Weapon category 3
 
| {{Key|3}}
 
| {{Key|3}}
 
| <code>slot3</code>
 
| <code>slot3</code>
 
| [[Melee weapon]]
 
| [[Melee weapon]]
|-
+
|-<!-- Valve_Weapon_Category_4 -->
 
| Weapon category 4
 
| Weapon category 4
 
| {{Key|4}}
 
| {{Key|4}}
 
| <code>slot4</code>
 
| <code>slot4</code>
 
| Used by the Engineer to create [[Buildings]], and by the [[Spy]] for [[Disguise|disguising]].
 
| Used by the Engineer to create [[Buildings]], and by the [[Spy]] for [[Disguise|disguising]].
|-
+
|-<!-- Valve_Weapon_Category_5 -->
 
| Weapon category 5
 
| Weapon category 5
 
| {{Key|5}}
 
| {{Key|5}}
 
| <code>slot5</code>
 
| <code>slot5</code>
 
| Used by the Engineer to destroy Buildings.
 
| Used by the Engineer to destroy Buildings.
|-
+
|-<!-- Valve_Weapon_Category_6 -->
 
| Weapon category 6
 
| Weapon category 6
 
| {{Key|6}}
 
| {{Key|6}}
 
| <code>slot6</code>
 
| <code>slot6</code>
 
| Selects the [[Grappling Hook]] in [[Mannpower]] Mode (or if the server allows Grapples)
 
| Selects the [[Grappling Hook]] in [[Mannpower]] Mode (or if the server allows Grapples)
|-
+
|-<!-- Valve_Weapon_Category_7 -->
 
| Weapon category 7
 
| Weapon category 7
 
| {{Key|7}}
 
| {{Key|7}}
 
| <code>slot7</code>
 
| <code>slot7</code>
| rowspan="4" | No current use
+
| rowspan="4" | Used to interact with server menus
|-
+
|-<!-- Valve_Weapon_Category_8 -->
 
| Weapon category 8
 
| Weapon category 8
 
| {{Key|8}}
 
| {{Key|8}}
 
| <code>slot8</code>
 
| <code>slot8</code>
|-
+
|-<!-- Valve_Weapon_Category_9 -->
 
| Weapon category 9
 
| Weapon category 9
 
| {{Key|9}}
 
| {{Key|9}}
 
| <code>slot9</code>
 
| <code>slot9</code>
|-
+
|-<!-- Valve_Weapon_Category_0 -->
| Weapon category 10
+
| Weapon category 0
 
| {{Key|0}}
 
| {{Key|0}}
 
| <code>slot10</code>
 
| <code>slot10</code>
 
|}
 
|}
  
=== Miscellaneous ===
+
=== <!-- Valve_Miscellaneous_Title -->MISCELLANEOUS<!-- ".\hl2\resource\valve_[language].txt" and ".\tf\resource\tf_[language].txt" --> ===
 
{| class="wikitable grid" style="text-align: left"
 
{| class="wikitable grid" style="text-align: left"
 
! class="header" | Action
 
! class="header" | Action
Line 328: Line 336:
 
! class="header" | Command
 
! class="header" | Command
 
! class="header" | Remarks
 
! class="header" | Remarks
|-
+
|-<!-- Valve_Spray_Logo -->
 
| [[Sprays|Spray logo]]
 
| [[Sprays|Spray logo]]
 
| {{Key|T}}
 
| {{Key|T}}
 
| <code>impulse 201</code>
 
| <code>impulse 201</code>
 
|  
 
|  
|-
+
|-<!-- Valve_Display_Scores -->
 
| Display multiplayer scores
 
| Display multiplayer scores
 
| {{Key|Tab}}
 
| {{Key|Tab}}
 
| <code>+showscores</code>
 
| <code>+showscores</code>
 
|  
 
|  
|-
+
|-<!-- Valve_Take_Screen_Shot -->
|
+
| Take {{botignore|screen shot}}
| {{Key|F1}}
 
| <code>+showroundinfo</code>
 
| This command does not currently exist within the game.
 
|-
 
|Open the Contracts Drawer
 
| {{Key|F2}}
 
| <code>show_quest_log</code>
 
|
 
|-
 
| Accept redirect to another server
 
| {{Key|F3}}
 
| <code>askconnect_accept</code>
 
| Used to accept a server's request to connect you to a different server.
 
|-
 
| Ready-up in Mann vs. Machine
 
| {{Key|F4}}
 
| <code>player_ready_toggle</code>
 
| 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
 
 
| {{Key|F5}}
 
| {{Key|F5}}
 
| <code>screenshot</code>
 
| <code>screenshot</code>
 
|  
 
|  
|-
+
|-<!-- TF_SaveReplay -->
 
| Save a [[replay]] of your current or last life
 
| Save a [[replay]] of your current or last life
 
| {{Key|F6}}
 
| {{Key|F6}}
 
| <code>save_replay</code>
 
| <code>save_replay</code>
 
|  
 
|  
|-
+
|-<!-- AbuseReport_QueueCommandName -->
| Open an abuse report
+
| Take Steam Abuse Screenshot
 
| {{Key|F7}}
 
| {{Key|F7}}
 
| <code>abuse_report_queue</code>
 
| <code>abuse_report_queue</code>
| This command is rebound every time the game starts.
+
| <!--This command is rebound every time the game starts.-->
|-
+
|-<!-- Valve_Quit_Game -->
 
| Quit game
 
| Quit game
 
| {{Key|F10}}
 
| {{Key|F10}}
 
| <code>quit prompt</code>
 
| <code>quit prompt</code>
 
|  
 
|  
|-
+
|-<!-- Valve_Console_Toggle -->
| Toggle replay tips
 
| {{Key|F12}}
 
| <code>replay_togglereplaytips</code>
 
| May conflict with the default key for taking Steam screenshots.
 
|-
 
 
| Toggle Developer console
 
| Toggle Developer console
 
| {{Key|`}}
 
| {{Key|`}}
 
| <code>toggleconsole</code>
 
| <code>toggleconsole</code>
 
|  
 
|  
|-
+
|-<!-- Valve_Accept_Redirect -->
| View/Accept the topmost alert
+
| Accept redirect to another server
 +
| {{common strings|n/a}}
 +
| <code>askconnect_accept</code>
 +
| Used to accept a server's request to connect you to a different server.
 +
|-<!-- TF_Notification_Trigger -->
 +
| View/Accept the topmost alert.
 
| {{Key|J}}
 
| {{Key|J}}
 
| <code>cl_trigger_first_notification</code>
 
| <code>cl_trigger_first_notification</code>
| e.g. [[trading]] requests
+
| rowspan="2" | e.g. Viewing items received from the [[item drop system]], requests to join a game, [[trading]] requests etc.
<!-- BUG: Not currently in config_default |-
+
|-<!-- TF_Notification_Decline -->
| Remove/Decline the topmost alert
+
| Remove/Decline the topmost alert.
 
| {{Key|K}}
 
| {{Key|K}}
 
| <code>cl_decline_first_notification</code>
 
| <code>cl_decline_first_notification</code>
| e.g. trading requests -->
 
 
|}
 
|}
 
'''''* Note''''': The default key for "Display multiplayer scores" on a Mac with a one-button mouse is {{Key|]}}.
 
'''''* Note''''': The default key for "Display multiplayer scores" on a Mac with a one-button mouse is {{Key|]}}.
 
+
<!--
 +
=== OTHERS ===
 +
These actions not exist in game options. You can only define them by console command.
 +
{| class="wikitable grid" style="text-align: left"
 +
! class="header" | Action
 +
! class="header" | Key/Button
 +
! class="header" | Command
 +
! class="header" | Remarks
 +
|-
 +
| Call for a [[Medic]]
 +
| {{Key|E}}
 +
| <code id="TF_Call_For_Medic">voicemenu 0 0</code>
 +
|
 +
|-
 +
| Party message
 +
| {{Key|P}}
 +
| <code>say_party</code>
 +
| Text chat to players only on your party
 +
|-
 +
| {{common strings|n/a}}
 +
| <code>ESCAPE</code>
 +
| <code>cancelselect</code>
 +
|
 +
|-
 +
| {{common strings|n/a}}
 +
| <code>INS</code>
 +
| <code>+klook</code>
 +
| This command prevents you from being able to move forward with your keyboard. Use the <code>-klook</code> command to disable it.
 +
|-
 +
| Center view
 +
| {{Key|End}}
 +
| <code>centerview</code>
 +
| Rarely used when mouselook is enabled
 +
|-
 +
| {{common strings|n/a}}
 +
| <code>PAUSE</code>
 +
| <code>pause</code>
 +
|
 +
|-
 +
| Strafe
 +
| {{Key|Alt}}
 +
| <code>+strafe</code>
 +
| 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.
 +
|-
 +
| {{common strings|n/a}}
 +
| {{Key|F1}}
 +
| <code>+showroundinfo</code>
 +
| This command does not currently exist within the game.
 +
|-
 +
| {{common strings|n/a}}
 +
| {{Key|F9}}
 +
| <code>vr_toggle</code>
 +
|
 +
|-
 +
| {{common strings|n/a}}
 +
| {{Key|F11}}
 +
| <code>vr_reset_home_pos</code>
 +
|
 +
|-
 +
| Toggle replay tips
 +
| {{Key|F12}}
 +
| <code>replay_togglereplaytips</code>
 +
| May conflict with the default key for taking Steam screenshots.
 +
|}
 +
-->
 
== Bugs ==
 
== Bugs ==
* {{Key|K}} is currently not bound, although it used to be bound to <code>cl_decline_first_notification</code>
+
* {{Key|F1}} is bound to a non-existent command: <code>+showroundinfo</code>.
* {{Key|E}} is bound twice, first to <code>dropitem</code>, which {{key|L}} is also bound to.
+
* {{Key|F3}} is bound to a non-existent command: <code>show_matchmaking</code>.
* {{Key|F1}} is bound to a non-existent setting.
 
  
 
== See also ==
 
== See also ==
 
* [[Xbox 360 controls]]
 
* [[Xbox 360 controls]]
 
* [[PlayStation 3 controls]]
 
* [[PlayStation 3 controls]]
 +
* [[Steam Input]]
 +
* [[Scripting]]
  
 
[[Category:Lists|Default keys]]
 
[[Category:Lists|Default keys]]
 +
[[Category:GUI]]

Latest revision as of 01:08, 15 March 2024

This is a list of default keys for the PC version of Team Fortress 2. All keys are user-definable in the multiplayer 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 Ctrl +duck
Swim up ' +moveup Rarely used when mouselook is enabled
Swim down / +movedown
Look up Page Up +lookup
Look down Page Down +lookdown

COMMUNICATION

Action Key/Button Command Remarks
Use voice communication V +voicerecord Speak to players on the same team, provided the server's CVAR sv_alltalk is set to 0. If set to 1, all players on the server 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 on the same team
Voice Menu 1 Z voice_menu_1
Voice Menu 2 X voice_menu_2
Voice Menu 3 C voice_menu_3
Call for help E +helpme Same as voicemenu 0 0

TEAM FORTRESS

Action Key/Button Command Remarks
Change class , changeclass
Change team . changeteam
Open Character loadout M open_charinfo_direct
Open Backpack N open_charinfo_backpack
Open Contracts Drawer F2 show_quest_log
Open Matchmaking F3 show_matchmaking This command does not currently exist within the game.
Loadout Quickswitch N/A +quickswitch
Load item preset A N/A load_itempreset 0
Load item preset B N/A load_itempreset 1
Load item preset C N/A load_itempreset 2
Load item preset D N/A load_itempreset 3
Drop the briefcase L dropitem Drop the Intelligence, the Australium briefcase, Powerups, or Player Destruction Pickups.
Taunts G +taunt
Use item in Action slot H +use_action_slot_item Pick up weapons dropped by players. Also used to cast magic spells.
Contextual Action/Taunt N/A +context_action
Show Map Information I showmapinfo
Inspect Target or Item F +inspect
Call Vote N/A callvote
Toggle Player Ready F4 player_ready_toggle Indicate you are ready to play in Mann vs. Machine and Competitive Mode.
Once all players have readied up, the wave or match starts.

CLASS SPECIFIC SKILL

Action Key/Button Command Remarks
DEMOMAN: Detonate Stickybombs MOUSE2 +attack2 Alternatively, charges if a shield (Chargin' Targe, Splendid Screen or Tide Turner) is equipped.
HEAVY: Spin Minigun Barrel Alternatively, drops any Lunchbox item or attacks with the right fist.
MEDIC: Deploy ÜberCharge
SNIPER: Zoom Sniper Rifle Alternatively, retracts the Huntsman if aiming.
SPY: Cloak / Uncloak 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

Action Key/Button Command Remarks
Primary attack MOUSE1 +attack
Secondary attack MOUSE2 +attack2 Also used with Class-specific skills.
Special Attack MOUSE3 +attack3 Activates the Heavy's Rage or the Medic's Projectile Shield in Mann vs. Machine when either meter is full.
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.
Previous weapon MWHEELUP invprev
Next weapon MWHEELDOWN invnext
Last weapon used Q lastinv Spy: Cancel Spy Disguise Kit
Engineer: Cancel Buildings
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 Used to interact with server menus
Weapon category 8 8 slot8
Weapon category 9 9 slot9
Weapon category 0 0 slot10

MISCELLANEOUS

Action Key/Button Command Remarks
Spray logo T impulse 201
Display multiplayer scores Tab ⇆ +showscores
Take screen shot F5 screenshot
Save a replay of your current or last life F6 save_replay
Take Steam Abuse Screenshot F7 abuse_report_queue
Quit game F10 quit prompt
Toggle Developer console ` toggleconsole
Accept redirect to another server N/A 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. Viewing items received from the item drop system, requests to join a game, trading requests etc.
Remove/Decline the topmost alert. K cl_decline_first_notification

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

Bugs

  • F1 is bound to a non-existent command: +showroundinfo.
  • F3 is bound to a non-existent command: show_matchmaking.

See also