Difference between revisions of "Cheats"

From Team Fortress Wiki
Jump to: navigation, search
m (Auto: EnforceCapitalization(Dispenser) (Review RC#894071))
(addcond: More on the addcond 5 (and 28) healing bug)
Line 13: Line 13:
 
*<tt>3</tt>: [[Disguise]] donning
 
*<tt>3</tt>: [[Disguise]] donning
 
*<tt>4</tt>: [[Cloak]] effect
 
*<tt>4</tt>: [[Cloak]] effect
*<tt>5</tt>: [[Medi Gun]] [[invulnerability]] effect. Will drop if the user comes within healing range of a friendly Dispenser (or an enemy Dispenser while disguised as an enemy)
+
*<tt>5</tt>: [[Medi Gun]] [[invulnerability]] effect. Will drop as soon as the user starts to receive continuous healing from a [[Dispenser]], [[Payload cart]] or [[Medic]]'s healing gun.
 
*<tt>6</tt>: [[Teleporter]] dust
 
*<tt>6</tt>: [[Teleporter]] dust
 
*<tt>11</tt>: Crit-boost effect.
 
*<tt>11</tt>: Crit-boost effect.
Line 26: Line 26:
 
*<tt>26</tt>: [[Battalion's Backup]] effect
 
*<tt>26</tt>: [[Battalion's Backup]] effect
 
*<tt>27</tt>: [[Mad Milk]] effect
 
*<tt>27</tt>: [[Mad Milk]] effect
*<tt>28</tt>: [[Quick-Fix]] visual effects + knock back/movement immunity (no healing)
+
*<tt>28</tt>: [[Quick-Fix]] visual effects + knock back/movement immunity (no healing). As with {{code|addcond 5}}, this will drop as soon as the user starts to receive continuous healing.
 
*<tt>29</tt>: [[Concheror]] effect
 
*<tt>29</tt>: [[Concheror]] effect
 
*<tt>30</tt>: [[Fan o' War]] effect
 
*<tt>30</tt>: [[Fan o' War]] effect

Revision as of 09:42, 14 January 2012

Cheatin' only gets ya so far.
The Sniper

There are a number of cheats players can use on servers set to sv_cheats 1. Cheats can be used for a variety of applications.

Not to be confused with hacking, which is never allowed, cheats are available to all players to use as they wish on applicable servers (assuming they have permission from the server operator). Playing on a cheat-enabled server does not influence a player's gameplay statistics, and achievements cannot be earned during that time. Items will still randomly drop even if a server is set to sv_cheats 1.

List of cheats

addcond

The addcond command changes the state of the user. It can be used on bots with bot_command. The addcond command must be followed by a number, such as addcond 5. Different numbers have different effects as listed below:

Pictogram comment.png Most effects of addcond are indefinite, ending when the user dies, changes classes, or manually removes them with the removecond command. Some effects can be removed by being healed by a friendly Medic.

bot

See also Bots

Bots can both be spawned and given commands.

buddha

Prevents lethal damage to the user (can still take damage, but doesn't cause health to go below 1 in most cases). Toggle.

Please note that in rare cases, you may die from sustained damage.

Debug commands

Debug commands are generally cheats. They are used to test game mechanics. Some noteworthy ones are

  • tf_debug_damage: Performs a console print every time anyone takes damage, giving information about damage variables such as the distance of the attack and health left of the target.
  • tf_debug_flamethrower: Allows you to see the hitboxes of fire particles as well as visual information about when targets are hit by fire.

firstperson

Simply returns to first-person view if in third-person view (such as from Bonk or thirdperson).

hurtme

Deals damage to the command user. The hurtme command must be followed by a number, such as hurtme 50. Players can use negative values to bring their health well beyond normal limits, which usually displays incorrectly on the HUD.

impulse

The impulse command is used for both cheats and non-cheats (the most common non-cheat being paint spray, which is impulse 201). The impulse command must be followed by a number, such as impulse 101. Different numbers have different effects, as listed below.

  • 101: Refills all weapons and health (like Resupply).
  • 102: Spawns human skull.
  • 106: Identifies model being aimed at.
  • 107: Identifies texture being aimed at.
  • 200: Plays holster/draw animations.
  • 201: Sprays your selected spray.
  • 203: Removes object being aimed at (like ent_remove and ent_fire _____ kill, but doesn't print "Removed [entity name] (Name)" in the console.

noclip

Lets the player fly around and go through walls as if they were a free-roam spectator. Toggle.

thirdperson

Changes your view to third-person, similarly to the third-person Spectator view. Can be undone with firstperson or taunting.

See also