Difference between revisions of "Cheats"

From Team Fortress Wiki
Jump to: navigation, search
(Debug commands)
(addcond)
Line 10: Line 10:
 
The <tt>addcond</tt> command changes the state of the user. It can be used on bots with <tt>bot_command</tt>. The <tt>addcond</tt> command must be followed by a number, such as <tt>addcond 5</tt>. Different numbers have different effects, as listed below.
 
The <tt>addcond</tt> command changes the state of the user. It can be used on bots with <tt>bot_command</tt>. The <tt>addcond</tt> command must be followed by a number, such as <tt>addcond 5</tt>. Different numbers have different effects, as listed below.
 
*<tt>0</tt> or lower: [[Civilian]]
 
*<tt>0</tt> or lower: [[Civilian]]
*<tt>1</tt>: [[Sniper Rifle]] zoom. Will crash on non-Sniper primary weapons.
+
*<tt>1</tt>: <span class="plainlinks">[http://wiki.teamfortress.com/wiki/Sniper%20rifle Sniper rifle]</span> zoom
*<tt>2</tt>: [[Disguise]] smoke
+
*<tt>2</tt>: <span class="plainlinks">[http://wiki.teamfortress.com/wiki/Disguise Disguise]</span> smoke
*<tt>3</tt>: Disguise donning. All classes will run at an even speed, even if scoped.
+
*<tt>3</tt>: Disguise donning
*<tt>5</tt>: [[ÜberCharge]] effect
+
*<tt>5</tt>: <span class="plainlinks">[http://wiki.teamfortress.com/wiki/%C3%9Cbercharge Übercharge]</span> effect
*<tt>6</tt>: [[Teleporter]] dust
+
*<tt>6</tt>: <span class="plainlinks">[http://wiki.teamfortress.com/wiki/Teleporter Teleporter]</span> dust
*<tt>11</tt>: [[Kritzkrieg]] effect
+
*<tt>11</tt>: <span class="plainlinks">[http://wiki.teamfortress.com/wiki/Kritzkrieg Kritzkrieg]</span> effect
*<tt>14</tt>: [[Bonk! Atomic Punch]] effect
+
*<tt>14</tt>: <span class="plainlinks">[http://wiki.teamfortress.com/wiki/Bonk%21%20Atomic%20Punch Bonk! Atomic Punch]</span> effect
*<tt>16</tt>: [[Buff Banner]] effect
+
*<tt>16</tt>: <span class="plainlinks">[http://wiki.teamfortress.com/wiki/Buff%20banner Buff banner]</span> effect
*<tt>17</tt>: If moving forward, [[Chargin' Targe]] effect and charge, but no damage boost
+
*<tt>17</tt>: If moving forward, <span class="plainlinks">[http://wiki.teamfortress.com/wiki/Chargin%27%20Targe Chargin' Targe]</span> effect and charge, but no damage boost
*<tt>19</tt>: [[Crit-a-Cola]] effect
+
*<tt>19</tt>: <span class="plainlinks">[http://wiki.teamfortress.com/wiki/Crit-a-Cola Crit-a-Cola]</span> effect
*<tt>21</tt>: [[fire|Ignite]] reaction (sound and speech, but no fire)  
+
*<tt>20</tt>: <span class="plainlinks">[http://tf2wiki.net/wiki/Medicating_Melody Medicating Melody]</span> effect
*<tt>23</tt>: [[Jarate]] effect
+
*<tt>21</tt>: <span class="plainlinks">[http://wiki.teamfortress.com/wiki/fire Ignite]</span> reaction (sound and speech, but no fire)  
*<tt>50</tt>: [[Milk]] effect
+
*<tt>24</tt>: <span class="plainlinks">[http://wiki.teamfortress.com/wiki/Jarate Jarate]</span> effect
Most effects of <tt>addcond</tt> are indefinite, ending when the user dies or manually removes them with the <tt>removecond</tt> command. The buff effects, however only last half a second.
+
*<tt>27</tt> or higher: <span class="plainlinks">[http://tf2wiki.net/wiki/Mad_Milk Mad Milk]</span> effect
 +
Most effects of <tt>addcond</tt> are indefinite, ending when the user dies or manually removes them with the <tt>removecond</tt> command.
  
 
=== bot ===
 
=== bot ===

Revision as of 13:58, 1 March 2011

Cheatin' only gets ya so far.
The Sniper

There are a number of cheats players can use on servers set to sv_cheats 1. These can be used for a variety of applications. Please note, however, that these cheats are not what the Cheater's Lament's name refers to.

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.

Most effects of addcond are indefinite, ending when the user dies or manually removes them with the removecond command.

bot

Bots can be spawned and be given commands. See Bots.

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.

  • 100: toggles your flashlight, needs mp_flashlight set to 1 however
  • 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: acts as if you just switched to current weapon
  • 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

Changing your view to thirdperson, similarly to third-person spectator view. Can be undone with firstperson, or taunting.

See also