Difference between revisions of "List of useful console commands"

From Team Fortress Wiki
Jump to: navigation, search
m (tf_ commands)
(re-ordered)
Line 16: Line 16:
  
 
=== tf_ commands ===
 
=== tf_ commands ===
* explode - commits suicide
 
 
* tf_dingalingaling 0/1 - turns weapon hit sound off/on
 
* tf_dingalingaling 0/1 - turns weapon hit sound off/on
 
* tf_weapon_criticals 0/1 - turns random criticals off/on - ''server operator only''
 
* tf_weapon_criticals 0/1 - turns random criticals off/on - ''server operator only''
Line 24: Line 23:
  
 
=== mp_ commands ===
 
=== mp_ commands ===
 +
* mp_usehwmmodels 1 & mp_usehwmvcds 1 - makes use of the high-polygon class models used in the 'Meet the Team' videos.
 
* mp_waitingforplayerscancel 1 - cancels "waiting for players..." time - ''server operator only''
 
* mp_waitingforplayerscancel 1 - cancels "waiting for players..." time - ''server operator only''
*mp_usehwmmodels 1 & mp_usehwmvcds 1 - makes use of the high-polygon class models used in the 'Meet the Team' videos.
 
  
 
=== hud_ commands ===
 
=== hud_ commands ===
Line 31: Line 30:
  
 
=== miscellaneous commands ===
 
=== miscellaneous commands ===
 +
* explode - commits suicide (by exploding into gibs)
 
* fov_desired 70-90 - sets desired field of view, higher values show more of the battlefield at the cost of fps
 
* fov_desired 70-90 - sets desired field of view, higher values show more of the battlefield at the cost of fps
* viewmodel_fov - sets distance in which your weapons are drawn, higher values show more of the weapon and arms but may show missing parts
 
 
* jointeam red/blue/spectator - use this if you are stuck in "dead spectator" mode when too many people attempt to join a team at the same time
 
* jointeam red/blue/spectator - use this if you are stuck in "dead spectator" mode when too many people attempt to join a team at the same time
 +
* kill - commits suicide
 
* "record fix; stop" - use this to fix various HUD-color errors or lingering Crit-effects
 
* "record fix; stop" - use this to fix various HUD-color errors or lingering Crit-effects
 +
* viewmodel_fov - sets distance in which your weapons are drawn, higher values show more of the weapon and arms but may show missing parts

Revision as of 07:23, 19 November 2010

Using the Developer Console, you can turn specific gameplay and graphic settings on and off or modify their values.

These settings can also be put into the class-specific .cfg files in your Team Fortress 2 folder to create class-specific configurations.


List of useful console commands

cl_ commands

  • cl_autoreload 0/1 - turns automatic reloading off/on
  • cl_burninggibs 0/1 - burning gibs off/on
  • cl_crosshair_file - sets crosshair picture. "" is standard-crosshairs. example: "crosshair1"
  • cl_drawhud 0/1 - shows/hides the HUD - sv_cheats 1 required
  • cl_showfps 0/1/2 - shows framerate (off/real-time/rounded)

tf_ commands

  • tf_dingalingaling 0/1 - turns weapon hit sound off/on
  • tf_weapon_criticals 0/1 - turns random criticals off/on - server operator only

sv_ commands

  • sv_cheats 0/1 - turns cheats off/on - server operator only

mp_ commands

  • mp_usehwmmodels 1 & mp_usehwmvcds 1 - makes use of the high-polygon class models used in the 'Meet the Team' videos.
  • mp_waitingforplayerscancel 1 - cancels "waiting for players..." time - server operator only

hud_ commands

  • hud_combattext 0/1 - turns the damage text above enemies off/on

miscellaneous commands

  • explode - commits suicide (by exploding into gibs)
  • fov_desired 70-90 - sets desired field of view, higher values show more of the battlefield at the cost of fps
  • jointeam red/blue/spectator - use this if you are stuck in "dead spectator" mode when too many people attempt to join a team at the same time
  • kill - commits suicide
  • "record fix; stop" - use this to fix various HUD-color errors or lingering Crit-effects
  • viewmodel_fov - sets distance in which your weapons are drawn, higher values show more of the weapon and arms but may show missing parts