Cheat code

From DoomWiki.org

Revision as of 15:09, 23 September 2005 by Janizdreg (talk | contribs) (See also)


Doom contains various cheat codes, which are activated by typing the correct series of letters in-game (some source ports support activating additional cheat codes from the console). The cheat codes were added to the game by Dave Taylor.

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.

In some ports and in the original executables, 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.

All Doom versions

idbehold# When # is one of the letters below, this gives an item:

In Ultimate Doom and some source ports, radiation suits obtained in this way protect the player from all radiation damage, even on surfaces which inflict 20% damage per second. Also, in some source ports, when a temporary powerup (e.g. invulnerability) is gained using idbehold, it is permanent until toggled off again.

idchoppers1 Gives the chainsaw.
idclev##2 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 due to cheat codes.
iddqd3 Sets health to 100% and makes player immune to damage ("God mode").
iddt4 First time: full automap (reveals unexplored areas).
Second time: full automap with items and enemies.
Third time: back to normal.
idfa5 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.
idkfa6 Gives all 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##7 Plays music from level E#M# or MAP##.
idmypos8 Shows the player's coordinates and compass direction (note that these numbers are hexadecimal, and may require some practice to interpret quickly).
idspispopd9 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; the player is also immune to all firearms and projectile attacks. Doom 1/Ultimate Doom only, although some source ports do support it while playing Doom II/Final Doom).
  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."
  2. CLEV stands for 'change level'.
  3. Taylor and two fellow hackers made up an informal fraternity called Delta-Q-Delta (hence the DQD) during their college days.
  4. DT stands for 'Dave Taylor'. The code can be used in cooperative multiplayer by first pressing T and then typing the code while holding ALT.
  5. FA stands for 'full ammo'.
  6. KFA stands for 'kick fucking ass' or 'keys & full ammo'.
  7. MUS stands for 'music'. This cheat only works in Doom v1.666 or later.
  8. MYPOS stands for 'my position'.
  9. See SPISPOPD.

Doom II and Final Doom

idclip No clipping (replaces idspispopd, although some source ports support both).

Ports

Doom 95

fhhall Kills all monsters in the level, excepting Lost Souls and the Icon of Sin. (Pain Elementals 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 Monolith, who requested that particular cheat (hence the "BY REQUEST..." message that displays when the code is executed).

Boom

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.

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.

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.
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 (toggle on/off).
powerup Gives the same power as the Tome of Power if playing Heretic.
summon * Spawns an actor (monster). The dumpclasses actor 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. "#" can be any number from 10-256; the default is "100".

See also

External links