Cheat code

From DoomWiki.org

Revision as of 14:07, 24 April 2006 by 201.27.223.23 (talk) (Full Version)


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 ports). Certain source ports also support the activation of cheat codes via a console. The 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.

Cheat codes in vanilla Doom are disabled on the Nightmare! skill level, except for the iddt and idclev cheats. However, many source ports enable cheats for all skill levels.

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 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 (or the level ends).

idchoppers1 Gives the chainsaw.
idclev##2 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 fist upon entering the new level.
  • The -respawn and -nomonsters command line arguments are ignored, if either was used when originally launching the game.
  • If 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 Demons, Spectres, and certain projectile weapons remains the same.
iddqd3 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 of type 11, the invulnerability effect is nullified.
iddt4 First time: full automap (reveals unexplored areas, including invisible linedefs not shown by a computer map pickup).
Second time: full automap with items, enemies, obstacles, and decorations.
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 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).
  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. The "Q" stands for "quit", and represents the grade members should strive to receive in their classes.
  4. 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.
  5. FA stands for 'full ammo'.
  6. KFA stands for 'kick fucking ass', Killer Fucking Arsenal 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 (some source ports also allow this while playing Doom 1/Ultimate Doom).

Heretic

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:
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

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

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.

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.

Eternity

As well as supporting the additional Boom/MBF cheats, Eternity adds a number of its own.

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.

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 "murder death kill", a reference to the movie 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 * 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, similar to the "-turbo" command line in vanilla Doom. "#" can be any number from 10-256; the default is "100".

See also

External links