Cheats

From Team Fortress Wiki
Revision as of 18:37, 21 August 2012 by Sandvich Heavinski (talk | contribs) (currency_give)
Jump to: navigation, search
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. The duration of the condition can be set by following the command with a second number, such as addcond 5 10, where 10 is the duration in seconds. The effects can usually be removed via removecond followed by the corresponding number. Different numbers have different effects as listed below:

  • 0 or lower: Slowed (as in when revving Minigun or zooming in with Sniper Rifles). Places the player in the reference pose.
  • 1: Sniper Rifle zoom/scope (Crashes game unless your active weapon can scope).
  • 2: Disguise smoke.
  • 3: Disguise donning.
  • 4: Cloak effect.
  • 5: Medi Gun invulnerability effect. Will drop as soon as the user starts to receive continuous healing from a Dispenser, Payload cart or Medic's secondary healing gun. Also drops from a Medic as soon as he activates or comes to the end of his own ÜberCharge. Not affected by a Medic's self-healing.
  • 6: Teleporter dust.
  • 7: Intended to be taunting. Does nothing via addcond, but can be used with removecond to immediately stop taunting.
  • 8: ÜberCharge expiration effect, if the player is ÜberCharged.
  • 9: Intended to be flickering effect if Cloaked. Removed immediately if added.
  • 10: Intended to be condition for Teleporting. Does nothing via addcond.
  • 11: Crit boost (Kritzkrieg, Revenge crits).
  • 12: Intended to be a temporary damage buff. Does nothing.
  • 13: Dead Ringer Cloak defense buff, works with any watch as Spy.
  • 14: Bonk! Atomic Punch effect.
  • 15: Intended to be the Stunned effect. Can be used with removecond to remove a stun.
  • 16: Buff Banner effect.
  • 17: Chargin' Targe effect. While the charging yell sound will play, charging will only work on the Demoman, and will expire when the charging meter is empty.
  • 18: Intended to be the glowing eye effect associated with the Eyelander's head-taking capability. Can be used with removecond to remove such a glow.
  • 19: Crit-a-Cola effect.
  • 20: Medicating Melody effect (does not heal).
  • 21: Intended to be the effect associated with any kind of continuous healing. Can be used with removecond to remove such an effect.
  • 22: Ignite reaction (sound and speech, but no fire). Can be used with removecond to remove afterburn.
  • 23: Intended to indicate Overhealing. Does not work with either addcond or removecond.
  • 24: Jarate effect.
  • 25: Intended to be the Bleeding effect. Can only be used with removecond to remove bleeding.
  • 26: Battalion's Backup effect.
  • 27: Mad Milk effect.
  • 28: Quick-Fix visual effects + knock back/movement immunity (no healing). Will drop under the same conditions as addcond 5.
  • 29: Concheror effect.
  • 30: Fan o' War effect (marked for death).
  • 31: All attacks are mini-crits (no effect or fire sounds, crit hit sounds play). Player cannot be healed in any way.
  • 32: Disciplinary Action effect.
  • 33: Halloween pumpkin crit boost.
  • 34: Canteen crit boost.
  • 35: Misc crit boost effect with sound effects similar to Chargin' Targe or Kritzkrieg.
  • 36: Hype mini-crits.
  • 37: First blood crit boost.
  • 38: Winning team crit boost.
  • 39: Intelligence capture crit boost.
  • 40: Crit boost from crit-on-kill weapons (Killing Gloves of Boxing, Cleaner's Carbine).
  • 41: Cannot switch away from melee weapon (as for Buffalo Steak Sandvich).
  • 42: Player takes 35% less damage, gains team-colored buff rings.
  • 43: "Reprogrammed". Swaps the player from BLU to RED for the duration of the condition. Removal of this condition causes the player to swap from RED to BLU. Adds sparks to player's head. Automatically adds condition 15 and slows the player for 5 seconds.
  • 44: Mmmph crit boost.
  • 45: Mmmph activation defense buff.
  • 46: Focus effect.
  • 47: Causes the Enforcer to lose its 20% damage bonus, as when firing it to remove a disguise.
  • 48: Self marked for death (as for Gloves of Running Urgently).
  • 49: Crouching causes the player to appear to be a Dispenser of the enemy team to enemy players. As a side effect, forces the player's speed to 450 Hammer Units/second (diagonal movement is at 520 HU/s). Swapping weapons while in this state will cause the player to temporarily stop moving, then return to 450 HU/s.
  • 50: Adds a sparking effect to the player's head (associated with sapping a Robot in Mann vs. Machine).
  • 51: "Hidden" ÜberCharge (player sees their arms as ÜberCharged, but their appearance is not ÜberCharged unless they are hit by a source of damage, after which the player appears ÜberCharged for several seconds).
  • 52: Canteen ÜberCharge.
  • 53: Player emits a short puff of smoke from their back. Listed as "Rocket Pack".

Pictogram comment.png Most effects of addcond are indefinite if no duration is specified, 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.
  • 202: Plays a custom sound to players who have set cl_customsounds 1. The sound is configured using cl_soundfile filename.wav.
  • 203: Removes object being aimed at (like ent_remove and ent_fire _____ kill, but doesn't print "Removed [entity name] (Name)" in the console.
  • 221-239: If the player is a Spy, starts the disguise process. 221-229 are for a RED disguise, while 231-239 are for a BLU disguise (230 is non-functional). The final digit selects the disguise class, but this number does not correspond to the class numbers shown on the class selection screen.

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.

currency_give

Gives a specified amount of credits in Mann vs. Machine. Too much can crash a server.

Ex. "currency_give 10000" gives you 10,000 credits.

See also