Difference between revisions of "Cheat code"

From DoomWiki.org

[unchecked revision][checked revision]
(A couple of things in ZDoom)
(Redirecting to Cheat)
(28 intermediate revisions by 11 users not shown)
Line 1: Line 1:
Doom contains various '''cheat codes''', which are activated by typing the correct series of letters in-game (some codes appear in virtually all versions of the game, while others are specific to a particular family of [[source port]]s).  Certain source ports also support the activation of cheat codes via a console. The codes were added to the game by [[Dave Taylor]].
+
#REDIRECT [[cheat]]
 
 
==Original game==
 
 
 
To use a cheat code in most versions of the game, one simply types the code while playing (this also applies while in [[automap]] mode).  After the last letter has been entered, a message of acknowledgement will appear at the top of the screen.  The [[status bar]], [[face]], and ingame view may also change, depending on the effects of the code.  All of the codes for the original game work in all ports, unless otherwise noted.
 
 
 
Cheat codes in [[vanilla Doom]] are disabled on the [[Skill level|Nightmare!]] skill level, except for the <tt>iddt</tt> and <tt>idclev</tt> cheats.  However, many [[source port]]s enable cheats for all skill levels.
 
 
 
In some ports and in the original executables, cheat codes may be different on non-[[Wikipedia:QWERTY|QWERTY]] keyboards.  For example, in France, <tt>idkfa</tt> may be <tt>idkfq</tt>, because of the AZERTY keyboard layout commonly used there.
 
 
 
===All Doom versions===
 
{| {{prettytable}}
 
|-
 
|idbehold''#''||When ''#'' is one of the letters below, this gives an item:
 
* "R": [[Radiation suit]].
 
* "I": [[Invisibility]].
 
* "V": [[Invulnerability]].
 
* "A": [[Computer map]].
 
* "L": [[Light amplification visor]].
 
* "S": [[Berserk]].
 
In some source ports, radiation suits obtained in this way protect the player from all radiation damage, even on surfaces which inflict [[Damaging floor#Technical_information|20% damage per second]].  Also, in some source ports, when a temporary powerup (e.g. invulnerability) is gained using <i>idbehold</i>, it is permanent until toggled off again (or the level ends).
 
|-
 
|idchoppers<sup>1</sup>||Gives the [[chainsaw]].
 
|-
 
|idclev''##''<sup>2</sup>||Warps to level E''#''M''#'' or MAP''##''.  In vanilla Doom, this resets the player's status to that of a newly launched game (e.g. 100% health, no armor, a pistol and 50 bullets) and deactivates any other powerups still in effect (whether obtained using cheat codes or otherwise).
 
|-
 
|iddqd<sup>3</sup>||Sets health to 100% and makes player immune to damage ("God mode").  In vanilla Doom, if the player is currently standing on or subsequently enters a [[Damaging floor#Technical_information|damaging floor of type 11]], the invulnerability effect is nullified.
 
|-
 
|iddt<sup>4</sup>||First time: full [[automap]] (reveals unexplored areas, including invisible linedefs not shown by a [[computer map]] pickup).<br/>Second time: full automap with [[items]], [[Monsters|enemies]], [[Thing_types|obstacles, and decorations]].<br/>Third time: back to normal.
 
|-
 
|idfa<sup>5</sup>||Full armor, all weapons, and full ammo.  In certain source ports, this also includes a backpack if the player does not have one already. Includes the chainsaw in certain source ports, but not in vanilla Doom.  Not present prior to [[Ultimate Doom]].
 
|-
 
|idkfa<sup>6</sup>||Gives all [[Key_(Doom)|keys]], [[combat armor]], all weapons, and full [[ammo]].  In certain source ports, this also includes a backpack if the player does not have one already.  Includes the chainsaw in certain source ports, but not in vanilla Doom.
 
|-
 
|idmus##<sup>7</sup>||Plays [[music]] from level E''#''M''#'' or MAP''##''.
 
|-
 
|idmypos<sup>8</sup>||Shows the player's coordinates and compass direction (note that these numbers are hexadecimal, and may require some practice to interpret quickly).
 
|-
 
|idspispopd<sup>9</sup>||No clipping (the player can walk through walls, monsters, and obstacles, climb high ledges instantly, and pass through [[Thing types|pickups]] and across all tagged [[linedefs]] with no effect. Doom 1/Ultimate Doom only, although some source ports do support it while playing Doom II/Final Doom).
 
|}
 
<div style="font-size:small">
 
#Prints the message "Doesn't suck - GM". Taylor's explanation for this message: "Choppers is a State Programming Contest game that a friend of mine named Guy Maor (GM) helped write. He's a little defensive of it 'cause it wasn't *quite* finished on the release day. Was a cool two-player Rescue Raiders rip-off. He was drunk and talked to me one night, and I thought I'd put it in."
 
#CLEV stands for ''''c'''hange '''lev'''el'.
 
#Taylor and two fellow hackers made up an informal fraternity called Delta-Q-Delta (hence the DQD) during their college days. The "Q" stands for "quit", and represents the grade members should strive to receive in their classes.
 
#DT stands for ''''D'''ave '''T'''aylor'. The code can be used in cooperative [[multiplayer]] games by first pressing T and then typing the code while holding ALT.
 
#FA stands for ''''f'''ull '''a'''mmo'.
 
#KFA stands for ''''k'''ick '''f'''ucking '''a'''ss', '''K'''iller '''F'''ucking '''A'''rsenal or ''''k'''eys & '''f'''ull '''a'''mmo'.
 
#MUS stands for ''''mus'''ic'. This cheat only works in Doom v1.666 or later.
 
#MYPOS stands for ''''my''' '''pos'''ition'.
 
#See [[SPISPOPD]].
 
</div>
 
 
 
===Doom II and Final Doom===
 
{| {{prettytable}}
 
|idclip||No clipping (some source ports also allow this while playing Doom 1/Ultimate Doom).
 
|}
 
 
 
==Ports==
 
===Doom 95===
 
{| {{prettytable}}
 
|fhhall||Kills all [[monsters]] in the level, excepting [[Lost Soul]]s and the [[Icon of Sin]]. ([[Pain Elemental]]s killed in this manner will still generate extra Lost Souls as normal.)
 
|-
 
|fhshh||Monsters do not notice players unless they are hurt or hear a shot.
 
|}
 
The prefix "fh" stands for the initials of Fred Hommel, the Doom 95 author who created the codes.
 
 
 
The "hall" in "fhhall" refers to Jason Hall, CEO of [[Wikipedia:Monolith Productions|Monolith]], who requested that particular cheat (hence the "BY REQUEST..." message that displays when the code is executed).
 
 
 
===Boom===
 
 
 
{| {{prettytable}}
 
|tntammo, tntamo||Gives the player full ammo.
 
|-
 
|tntcomp||Toggles compatibility with version 1.9 of the Doom executables.
 
|-
 
|tntem||Kills all monsters.
 
|-
 
|tntfast||Toggles fast monsters.
 
|-
 
|tnthom||Toggles [[HOM]] autodetector.
 
|-
 
|tntice||Toggles variable friction on floors.
 
|-
 
|tntka||Gives the player all keys.
 
|-
 
|tntkeyb||Gives the player both blue keys.
 
|-
 
|tntkeybc||Gives the player the blue keycard.
 
|-
 
|tntkeybs||Gives the player the blue skull key.
 
|-
 
|tntkeyr||Gives the player both red keys.
 
|-
 
|tntkeyrc||Gives the player the red keycard.
 
|-
 
|tntkeyrs||Gives the player the red skull key.
 
|-
 
|tntkeyy||Gives the player both yellow keys.
 
|-
 
|tntkeyyc||Gives the player the yellow keycard.
 
|-
 
|tntkeyys||Gives the player the yellow skull key.
 
|-
 
|tntpitch||Toggles pitched sounds.
 
|-
 
|tntpush||Toggles point pushers.
 
|-
 
|tntsmart||Toggles smart monsters.
 
|-
 
|tntran, tnttran||Toggles translucency.
 
|-
 
|tntweap||Gives the player all [[weapons]].
 
|}
 
 
 
===Eternity===
 
As well as supporting the additional Boom/MBF cheats, Eternity adds a number of its own.
 
 
 
{| {{prettytable}}
 
|ghost||Toggles Heretic [[Shadowsphere]] effect.
 
|-
 
|hideme||Toggles total invisibility. Monsters are not activated unless they are hurt or hear a shot.
 
|-
 
|iamtheone||Toggles god mode, total invisibility, silencer, and infinite ammo cheats, while also providing full armor, ammo, and weapons.
 
|-
 
|infshots||Toggles infinite ammo.
 
|-
 
|silence||Toggles silencer powerup. Weapon sounds will not activate monsters.
 
|-
 
|}
 
 
 
===ZDoom===
 
 
 
In order to use cheat codes in ZDoom, the variable "sv_cheats" must be set to "1" (true).  This variable can be set by launching ZDoom, accessing the console via the tilde ( ~ ) key, and typing "sv_cheats 1".  One should then be able to use any ZDoom-specific cheat by typing it into the console.
 
 
 
{| {{prettytable}}
 
|anubis||Makes monsters afraid of the player (toggle on/off).
 
|-
 
|fly||Allows the player to fly (toggle on/off).
 
|-
 
|freeze||Freeze Mode (stops all monsters, projectiles, friendlies and item animations, but not the player or environmental animations like wall and floor animations. Additionally allows the player to harmlessly walk through frozen projectile attacks. Toggle on/off).
 
|-
 
|give *||Gives the player items: "*" can be "all" (give everything), "health" (give full health), "weapons" (give all weapons), "ammo" (give full ammo), "armor" (give full armor), "keys" (give all keys), or the name of a specific item.
 
|-
 
|god||God mode (toggle on/off).
 
|-
 
|iddqd||God mode and 100% health.
 
|-
 
|kill *||Kills "*", where "*" is either blank (which kills you) or "monsters" (which kills all monsters on the level).
 
|-
 
|mdk||Kills whatever the player's crosshair is pointing at. Stands for "'''m'''urder '''d'''eath '''k'''ill", a reference to the movie ''[[Wikipedia:Demolition Man|Demolition Man]]''.
 
|-
 
|morphme||When playing in [[Hexen]] or [[Doom]], turns the player into a Hexen [[pig]], if the appropriate graphics are available.  When playing [[Heretic]], this code transforms the player into a Heretic [[chicken]].
 
|-
 
|noclip||No-clipping mode (toggle on/off).
 
|-
 
|notarget||Monsters will not see the player unless hurt. If a monster has already seen a player, it will still persue the player even when the cheat is activated. (toggle on/off).
 
|-
 
|powerup||Gives the same power as the [[Tome of Power]] if playing Heretic.
 
|-
 
|summon *||[[Spawn]]s an [[actor]] (monster).  The <i>dumpclasses actor</i> command can be used to see all the spawnable actors.
 
|-
 
|summonfriend *||Same as "summon", except that the spawned monster will attack enemies.
 
|-
 
|sv_fastweapons #||Changes speed of weapons.  "#" can be any number from 0-2; the default is 0.
 
|-
 
|turbo #||Changes player speed, similar to the "-turbo" command line in [[vanilla Doom]].  "#" can be any number from 10-256; the default is "100".
 
|}
 
 
 
==See also==
 
*[[Heretic cheat codes]]
 
*[[Hexen cheat codes]]
 
*[[Strife cheat codes]]
 
*[[Secrets]]
 
*[[SPISPOPD]]
 
*[[Easter eggs]]
 
 
 
==External links==
 
*[http://classicdoom.com/doomcode.htm ClassicDOOM.com's cheats guide]
 
*[http://www.rome.ro/lee_killough/history/cheat.shtml The etymology of Doom cheat codes], from Lee Killough's archive
 
[[Category:Cheating]]
 

Revision as of 16:39, 1 April 2008

Redirect to: