Difference between revisions of "Cheat code"

From DoomWiki.org

[unchecked revision][checked revision]
(Ports)
(Redirecting to Cheat)
(20 intermediate revisions by 11 users not shown)
Line 1: Line 1:
Doom, Heretic and Hexen 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]]
 
 
==Doom 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 [[Wikipedia:France|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 has the following side effects:
 
* The player's status is reset to that of a newly launched game (e.g. 100% health, no armor, a [[pistol]] and 50 [[bullets]]). This also deactivates any other powerups still in effect, whether obtained using cheat codes or otherwise.
 
* If the last "#" is "1", the player will switch to the [[Fists|fist]] upon entering the new level.
 
* The <tt>-respawn</tt> and <tt>-nomonsters</tt> [[command line arguments]] are ignored, if either was used when originally launching the game.
 
* If [[Command line arguments|fast monsters]] were being used before warping (on a skill level other than [[Nightmare!]]), their attack frequency reverts to normal, although the increased speed of [[Demon]]s, [[Spectre]]s, and certain [[projectile]] weapons remains the same.
 
|-
 
|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 [[Wikipedia:Hexadecimal|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).
 
|}
 
 
 
==Heretic==
 
 
 
{| {{prettytable}}
 
|-
 
|quicken||Makes player immune to damage ("God mode").
 
|-
 
|ponce||Sets health to 100%.
 
|-
 
|kitty||No clipping (the player can walk through walls, characters, and obstacles, climb high ledges instantly, and pass through items and across all tagged [[linedefs]] with no effect.
 
|-
 
|rambo||Gives all weapons and full ammo.
 
|-
 
|ravskel||Gives all keys.
 
|-
 
|gimme##||The code is followed by a letter (a-j) and a number (1-9). The letter defines which item is given, the number the amount of items given. The letters and corresponding items are:
 
*"A": [[Ring of Invulnerability]]
 
*"B": [[Shadowsphere]]
 
*"C": [[Quartz Flask]]
 
*"D": [[Mystic Urn]]
 
*"E": [[Tome of Power]]
 
*"F": [[Torch]]
 
*"G": [[Timebomb of the Ancients]]
 
*"H": [[Morph Ovum]]
 
*"I": [[Wings of Wrath]]
 
*"J": [[Chaos Device]]
 
|-
 
|shazam||Gives and activates the Tome of Power.
 
|-
 
|engage##||Warps to level E#M#.
 
|-
 
|ravmap||First time: full automap (reveals unexplored areas).
 
 
 
Second time: full automap with items and enemies.
 
 
 
Third time: back to normal.
 
|-
 
|massacre||Kills all monsters.
 
|-
 
|ravpic||Type at the title screen: makes the F1 key take screenshots instead of displaying the in-game help.
 
|-
 
|ticker||Toggles ticks-per-frame counter.
 
|-
 
|noise||Toggles sound debug.
 
|-
 
|cockadooledoo||Turns the player into a chicken.
 
|-
 
|iddqd||Kills the player.
 
|-
 
|idkfa||Removes all weapons and ammo the player is carrying.
 
|}
 
 
 
==Hexen==
 
 
 
===Demo Version===
 
{| {{prettytable}}
 
|-
 
|bgokey||Toggle God mode; can't be injured, except in teleport frags and when falling from extreme heights.
 
|-
 
|ebiessman||Pig mode; turns player into pig w/ 30% health.
 
|-
 
|cstika||Carnage; kill all monsters on level.
 
|-
 
|sgurno||100% health.
 
|-
 
|crhinehart||All Weapons, full Mana, full Armor.
 
|-
 
|mraymondjudy||All Keys.
 
|-
 
|braffel||Full Inventory; max. 25 of each artifact.
 
|-
 
|tmoore||All Puzzle items.
 
|-
 
|rjohnson||Toggle no clipping (walk through walls).
 
|-
 
|bpelletier##||Warp to level ## [01-04] (does not deactivate '-nomonsters' command-line option).
 
|-
 
|init||Reload level from disk.
 
|-
 
|plipo#||Change player class to #: 0 = Fighter, 1 = Cleric, 2 = Mage.
 
|-
 
|mwagabaza##||Run script ## [01-99].
 
|-
 
|jsumwalt||Display map ## & x/y/z co-ordinates in decimal notation.
 
|-
 
|rrettenmund||Display fps dots (fps = 70 / ).<dots+1>
 
|-
 
|kschilder||Display sound debug info.
 
|-
 
|pmacarther||Display version info.
 
|-
 
|reveal||Toggle map detail (can use in Map Mode only; repeatable) 3 modes: normal -> all walls -> all monsters (-> normal).
 
|-
 
|quicken||1st time: "trying to cheat? that's one..."; 2nd time: "that's two..."; 3rd time: "that's three! time to die."
 
|-
 
|rambo||"cheater - you don't deserve weapons".
 
|-
 
|wewin||disabled (wins the game; only in first demo version).
 
|}
 
 
 
===Full Version===
 
 
{| {{prettytable}}
 
|-
 
|satan||Toggle God mode; can't be injured, except in teleport frags and when falling from extreme heights.
 
|-
 
|deliverance||Pig mode; turns player into pig w/ 30% health.
 
|-
 
|butcher||Carnage; kill all monsters on level.
 
|-
 
|clubmed||100% health.
 
|-
 
|nra||All Weapons, full Mana, full Armor.
 
|-
 
|locksmith||All Keys.
 
|-
 
|indiana||Full Inventory; max. 25 of each artifact.
 
|-
 
|sherlock||All Puzzle items.
 
|-
 
|casper||Toggle no clipping (walk through walls).
 
|-
 
|visit##||Warp to level ## [01-04] (does not deactivate '-nomonsters' command-line option).
 
|-
 
|init||Reload level from disk.
 
|-
 
|shadowcaster#||Change player class to #: 0 = Fighter, 1 = Cleric, 2 = Mage.
 
|-
 
|puke##||Run script ## [01-99].
 
|-
 
|where||Display map ## & x/y/z co-ordinates in decimal notation.
 
|-
 
|ticker||Display fps dots (fps = 70 / ).<dots+1>
 
|-
 
|noise||Display sound debug info.
 
|-
 
|mrjones||Display version info.
 
|-
 
|mapsco||Toggle map detail (can use in Map Mode only; repeatable) 3 modes: normal -> all walls -> all monsters (-> normal).
 
|-
 
|martek||1st time: "trying to cheat? that's one..."; 2nd time: "that's two..."; 3rd time: "that's three! time to die."
 
|-
 
|conan||"cheater - you don't deserve weapons".
 
|-
 
|~##||Play track ## of a CD.
 
|}
 
 
 
==Other 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]]
 
*[[Doom RPG cheat codes]]
 
 
 
==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: