Difference between revisions of "Doom cheat codes"

From DoomWiki.org

[checked revision][checked revision]
(The IDBEHOLDA cheat will not remove the Computer Area Map if one is in effect.)
(All Doom engine versions: Added messages)
 
Line 10: Line 10:
 
{| {{prettytable}}
 
{| {{prettytable}}
 
|-
 
|-
! Code !! Effects
+
! Code !! Effects !! Displayed message
 
|-
 
|-
 
|'''idbehold'''''#''||<span id="idbehold"></span>When ''#'' is one of the letters below, this gives the player the chosen power-up:
 
|'''idbehold'''''#''||<span id="idbehold"></span>When ''#'' is one of the letters below, this gives the player the chosen power-up:
Line 20: Line 20:
 
* "S": [[Berserk]].
 
* "S": [[Berserk]].
 
If you already have one of those power-ups in any way; same power-up will be toggled off (with the exception of the Computer area map).
 
If you already have one of those power-ups in any way; same power-up will be toggled off (with the exception of the Computer area map).
 +
||''When "idbehold" typed:'' "inVuln, Str, Inviso, Rad, Allmap, or Lite-amp"<br />''When final letter is typed:'' "Power-up Toggled"
 
|-
 
|-
|'''idchoppers'''<ref group="note" name="mnote1"/>||<span id="idchoppers"></span>Gives the option to select the [[chainsaw]].
+
|'''idchoppers'''<ref group="note" name="mnote1"/>||<span id="idchoppers"></span>Gives the option to select the [[chainsaw]].||"... doesn't suck - GM"
 
|-
 
|-
|'''idclip'''||<span id="idclip"></span>No clipping in [[Doom II]] (see {{c|[[#idspispopd|idspispopd]]}} below for technical details).
+
|'''idclip'''||<span id="idclip"></span>No clipping in [[Doom II]] (see {{c|[[#idspispopd|idspispopd]]}} below for technical details).||"No Clipping Mode ON"<br />"No Clipping Mode OFF"
 
|-
 
|-
|'''idclev'''''##''<ref group="note" name="mnote2"/>||<span id="idclev"></span>Warps to level E''#''M''#'' or MAP''##''. This may have certain side effects (see [[IDCLEV idiosyncrasies]]).
+
|'''idclev'''''##''<ref group="note" name="mnote2"/>||<span id="idclev"></span>Warps to level E''#''M''#'' or MAP''##''. This may have certain side effects (see [[IDCLEV idiosyncrasies]]).||"Changing Level..."<ref group="note" name="mnote2a"/>
 
|-
 
|-
|'''iddqd'''<ref group="note" name="mnote3"/>||<span id="iddqd"></span>Sets health to 100% and makes player immune to damage ("god mode", "degreelessness").  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. The invulnerable player can also be killed by a [[telefrag]], and projectiles with extremely high damage ratings (such as from a [[DeHackEd]] modification, or standing on the landing spot of a spawn cube when it lands) can also kill a player in god mode.<ref group="note" name="mnote4"/>
+
|'''iddqd'''<ref group="note" name="mnote3"/>||<span id="iddqd"></span>Sets health to 100% and makes player immune to damage ("god mode", "degreelessness").  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. The invulnerable player can also be killed by a [[telefrag]], and projectiles with extremely high damage ratings (such as from a [[DeHackEd]] modification, or standing on the landing spot of a spawn cube when it lands) can also kill a player in god mode.<ref group="note" name="mnote4"/>||"Degreelessness Mode On"<br />"Degreelessness Mode Off"
 
|-
 
|-
 
|'''iddt'''<ref group="note" name="mnote5"/>||<span id="iddt"></span>This cheat reveals information if used while in [[automap]] mode, showing additional data the second time it is used:
 
|'''iddt'''<ref group="note" name="mnote5"/>||<span id="iddt"></span>This cheat reveals information if used while in [[automap]] mode, showing additional data the second time it is used:
Line 33: Line 34:
 
* Second use: full automap with [[items]], [[monsters]], [[player]]s, [[Thing_types#Obstacles|obstacles, and decorations]].<br/>
 
* Second use: full automap with [[items]], [[monsters]], [[player]]s, [[Thing_types#Obstacles|obstacles, and decorations]].<br/>
 
* Third use: the automap is restored to normal.
 
* Third use: the automap is restored to normal.
 +
||None
 
|-
 
|-
|'''idfa'''<ref group="note" name="mnote6"/>||<span id="idfa"></span>This is the same as {{c|idkfa}} below, but excludes the keys.
+
|'''idfa'''<ref group="note" name="mnote6"/>||<span id="idfa"></span>This is the same as {{c|idkfa}} below, but excludes the keys.||"Ammo (no keys) Added"
 
|-
 
|-
|'''idkfa'''<ref group="note" name="mnote7"/>||<span id="idkfa"></span>Grants full [[megaarmor]] protection (200%), all [[weapons]], full [[ammo]], and all the [[key]]s.
+
|'''idkfa'''<ref group="note" name="mnote7"/>||<span id="idkfa"></span>Grants full [[megaarmor]] protection (200%), all [[weapons]], full [[ammo]], and all the [[key]]s.||"Very Happy Ammo Added"
 
|-
 
|-
|'''idmus'''##<ref group="note" name="mnote8"/>||<span id="idmus"></span>Plays [[music]] from level MAP''##'' in Doom II or [[Doom]], and E''#''M''#'' in [[The Ultimate Doom]]. Using this cheat code will make the player change weapons in hand if the numbers pressed correspond to available weapons.
+
|'''idmus'''##<ref group="note" name="mnote8"/>||<span id="idmus"></span>Plays [[music]] from level MAP''##'' in Doom II or [[Doom]], and E''#''M''#'' in [[The Ultimate Doom]]. Using this cheat code will make the player change weapons in hand if the numbers pressed correspond to available weapons.||''Valid selection:'' "Music Change"<br />''Invalid selection:'' "IMPOSSIBLE SELECTION"
 
|-
 
|-
|'''idmypos'''<ref group="note" name="mnote9"/>||<span id="idmypos"></span>Shows the player's coordinates and compass direction. These numbers are {{wp|hexadecimal}} representations of Doom's internal coordinate format, and can therefore be difficult to read; an [https://soulsphere.org/tools/idmypos.html online IDMYPOS converter] can be used to decode them.
+
|'''idmypos'''<ref group="note" name="mnote9"/>||<span id="idmypos"></span>Shows the player's coordinates and compass direction. These numbers are {{wp|hexadecimal}} representations of Doom's internal coordinate format, and can therefore be difficult to read; an [https://soulsphere.org/tools/idmypos.html online IDMYPOS converter] can be used to decode them.||"ang=''[angle]'';x,y=(''[x]'',''[y]'')"
 
|-
 
|-
|'''idspispopd'''<ref group="note" name="mnote10"/>||<span id="idspispopd"></span>No clipping (the player can walk through walls, monsters, and obstacles, climb high ledges instantly, and pass through [[Thing types|items]] and across all tagged [[linedefs]] with no effect. This works only in Doom and The Ultimate Doom (see above for the equivalent {{c|idclip}} for Doom II).
+
|'''idspispopd'''<ref group="note" name="mnote10"/>||<span id="idspispopd"></span>No clipping (the player can walk through walls, monsters, and obstacles, climb high ledges instantly, and pass through [[Thing types|items]] and across all tagged [[linedefs]] with no effect. This works only in Doom and The Ultimate Doom (see above for the equivalent {{c|idclip}} for Doom II).||"No Clipping Mode ON"<br />"No Clipping Mode OFF"
 
|}
 
|}
  
Line 49: Line 51:
 
<ref name="mnote1">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." This cheat code was also apparently meant to make the player invulnerable, but [[Chainsaw#Notes|due to a typo]] the invulnerability only lasts one [[tic]]. </ref>
 
<ref name="mnote1">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." This cheat code was also apparently meant to make the player invulnerable, but [[Chainsaw#Notes|due to a typo]] the invulnerability only lasts one [[tic]]. </ref>
 
<ref name="mnote2">CLEV stands for ''''c'''hange '''lev'''el'; it could also be interpereted as "see (C) level."</ref>
 
<ref name="mnote2">CLEV stands for ''''c'''hange '''lev'''el'; it could also be interpereted as "see (C) level."</ref>
 +
<ref name="mnote2a">This message appears in the source code, but is not actually displayed in the original DOS executables. It is, however, displayed in some source ports.</ref>
 
<ref name="mnote3">Taylor and two fellow {{wp|hacker}}s 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.</ref>
 
<ref name="mnote3">Taylor and two fellow {{wp|hacker}}s 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.</ref>
 
<ref name="mnote4">According to the function {{c|P_DamageMobj}} in {{c|[[Doom source code files|p_inter.c]]}}, "invulnerability"  only protects the player from attacks doing less than 1000 [[Hit point|points of damage]].  There is no form of attack in the game that does more damage than this number, except one: a [[telefrag]], which inflicts 10000 points on the target.  This is why a player in God mode can still be killed by telefragging.  This also means that [[DeHackEd]] can be used to circumvent god mode by creating incredibly powerful weapons; some examples of this effect can be found in [[The Sky May Be]].</ref>
 
<ref name="mnote4">According to the function {{c|P_DamageMobj}} in {{c|[[Doom source code files|p_inter.c]]}}, "invulnerability"  only protects the player from attacks doing less than 1000 [[Hit point|points of damage]].  There is no form of attack in the game that does more damage than this number, except one: a [[telefrag]], which inflicts 10000 points on the target.  This is why a player in God mode can still be killed by telefragging.  This also means that [[DeHackEd]] can be used to circumvent god mode by creating incredibly powerful weapons; some examples of this effect can be found in [[The Sky May Be]].</ref>

Latest revision as of 06:59, 13 July 2019

Doom has many cheat codes. To use a cheat code in PC versions of the game, one simply types the code while playing (this includes automap mode). After the last letter of a code has been entered, a message of acknowledgment will appear at the top of the screen. The status bar, player face, and in-game view may also change, depending on the effects of the code.

In the Doom Classic version of the game for iPhone, touch the screen with four fingers at any time to bring up an on-screen keyboard.

Cheat codes are disabled on the "Nightmare!" skill level, except for the iddt and idclev cheats.

Cheat codes may be different on non-QWERTY keyboards. For example, in France, idkfa may be idkfq, because of the AZERTY keyboard layout commonly used there. This is due to the fact that Doom's keyboard interrupt handling code reads raw scan codes from the hardware, which are not subject to any form of localization.

All Doom engine versions[edit]

Code Effects Displayed message
idbehold# When # is one of the letters below, this gives the player the chosen power-up:

If you already have one of those power-ups in any way; same power-up will be toggled off (with the exception of the Computer area map).

When "idbehold" typed: "inVuln, Str, Inviso, Rad, Allmap, or Lite-amp"
When final letter is typed: "Power-up Toggled"
idchoppers[note 1] Gives the option to select the chainsaw. "... doesn't suck - GM"
idclip No clipping in Doom II (see idspispopd below for technical details). "No Clipping Mode ON"
"No Clipping Mode OFF"
idclev##[note 2] Warps to level E#M# or MAP##. This may have certain side effects (see IDCLEV idiosyncrasies). "Changing Level..."[note 3]
iddqd[note 4] Sets health to 100% and makes player immune to damage ("god mode", "degreelessness"). If the player is currently standing on or subsequently enters a damaging floor of type 11, the invulnerability effect is nullified. The invulnerable player can also be killed by a telefrag, and projectiles with extremely high damage ratings (such as from a DeHackEd modification, or standing on the landing spot of a spawn cube when it lands) can also kill a player in god mode.[note 5] "Degreelessness Mode On"
"Degreelessness Mode Off"
iddt[note 6] This cheat reveals information if used while in automap mode, showing additional data the second time it is used: None
idfa[note 7] This is the same as idkfa below, but excludes the keys. "Ammo (no keys) Added"
idkfa[note 8] Grants full megaarmor protection (200%), all weapons, full ammo, and all the keys. "Very Happy Ammo Added"
idmus##[note 9] Plays music from level MAP## in Doom II or Doom, and E#M# in The Ultimate Doom. Using this cheat code will make the player change weapons in hand if the numbers pressed correspond to available weapons. Valid selection: "Music Change"
Invalid selection: "IMPOSSIBLE SELECTION"
idmypos[note 10] Shows the player's coordinates and compass direction. These numbers are hexadecimal representations of Doom's internal coordinate format, and can therefore be difficult to read; an online IDMYPOS converter can be used to decode them. "ang=[angle];x,y=([x],[y])"
idspispopd[note 11] No clipping (the player can walk through walls, monsters, and obstacles, climb high ledges instantly, and pass through items and across all tagged linedefs with no effect. This works only in Doom and The Ultimate Doom (see above for the equivalent idclip for Doom II). "No Clipping Mode ON"
"No Clipping Mode OFF"

Notes[edit]

  1. 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." This cheat code was also apparently meant to make the player invulnerable, but due to a typo the invulnerability only lasts one tic.
  2. CLEV stands for 'change level'; it could also be interpereted as "see (C) level."
  3. This message appears in the source code, but is not actually displayed in the original DOS executables. It is, however, displayed in some source ports.
  4. 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.
  5. According to the function P_DamageMobj in p_inter.c, "invulnerability" only protects the player from attacks doing less than 1000 points of damage. There is no form of attack in the game that does more damage than this number, except one: a telefrag, which inflicts 10000 points on the target. This is why a player in God mode can still be killed by telefragging. This also means that DeHackEd can be used to circumvent god mode by creating incredibly powerful weapons; some examples of this effect can be found in The Sky May Be.
  6. DT stands for 'Dave Taylor'. The code can be used in cooperative multiplayer games by first pressing T and then typing the code while holding ALT.
  7. FA stands for 'full ammo'. This cheat code is not present in versions prior to 1.666.
  8. According to John Romero in an interview in The Official Doom Survivor's Strategies & Secrets, KFA stands for 'killer fucking arsenal'. Frequent fan interpretations include 'kick fucking ass' and 'keys and full ammo'.
  9. MUS stands for 'music'. Certain selections may call for invalid music lumps (see IDMUS requests invalid music). In The Ultimate Doom, idmus40 will play the same music as idmus39 (D_E3M9) and idmus41 to idmus45 will play music from the intermission, main, and end screens. In Doom II, the non-level tracks are idmus33 to idmus35.
  10. MYPOS stands for 'my position'.
  11. SPISPOPD stands for 'S'mashing 'P'umpkins 'I'nto 'S'mall 'P'iles 'O'f 'P'utrid 'D'ebris. See more in SPISPOPD article.

Doom95[edit]

The prefix FH in Doom95 cheat codes stands for the initials of Fred Hommel, the programmer who created the codes.

Code Effects
fhhall1 Kills all monsters in the level, excepting lost souls. (Pain elementals killed in this manner will still generate extra lost souls as normal).
fhshh2 Monsters do not notice players unless they are hurt or hear a shot.
  1. HALL refers to Jason Hall, CEO of Monolith Productions, who requested that particular cheat (hence the "BY REQUEST..." message that displays when the code is executed). The actual damage done to each monster is 10,000 hit points.
  2. Upon typing the fhshh cheat the message "be vewy vewy quiet..." is displayed. This is a reference to Elmer Fudd's catchphrase "Be vewy vewy quiet, I'm hunting wabbits!", in the beginning of a Looney Tunes or Merrie Melodies animated short. The message "Achoo!" appears when the cheat is disabled (the joke being that you sneezed, and the monsters have heard you).

See also[edit]

Sources[edit]