Heretic keys


The Heretic keys are the three color-coded key objects found in Heretic which allow the player's progress through the game's levels to be controlled. While Heretic's keys are more similar to Doom's in their behavior than to the Hexen keys, there are still a few differences:

  • There is only one type for each key color, as opposed to Doom's system of like-colored key cards and skull keys.
  • The colors are yellow, green and blue instead of yellow, red and blue.
  • Vanilla levels are always designed so that keys are obtained in the order yellow, then green, then blue. This convention is not necessarily respected by mods.
  • On the easiest skill level, keys appear on the automap.
  • Locked doors are drawn with their key color on the automap.
  • Almost all levels are consciously designed to use raise-and-stay-open door types for locked doors. This has a significant positive impact on cooperative multiplayer, ensuring that players who die do not need to pick up every key in the map again to keep playing.


The automap color corresponds to the PLAYPAL palette index used to draw locked doors and, if appropriate, keys themselves in the automap. For convenience, the RGB value for that index in the first palette is also provided.

Key data
Yellow key Green key Blue key
Thing type 80 (decimal), 50 (hex) 73 (decimal), 49 (hex) 79 (decimal), 4F (hex)
Enum MT_CKEY (145) MT_AKYY (143) MT_BKYY (144)
Radius 20
Height 16
Class Key
Flags 33554433 (decimal)
02000001 (hex)
Flags list 0: Can be picked up
25: Not in deathmatch
Flags2 0 (decimal)
00000000 (hex)
Automap color 144 (#FFFF00) 220 (#5BBF4F) 197 (#2028C8)

Appearance statistics[edit]

The IWAD contains the following numbers of keys:

Episode Yellow keys Green keys Blue keys
City of the Damned 8 7 4
Hell's Maw 8 8 6
The Dome of D'Sparil 8 8 5
The Ossuary 8 6 5
The Stagnant Demesne 8 8 7
Fate's Path 0 0 0

Key gizmos[edit]

Gizmos (Heretic).png

Unlike in Doom where special textures are used on door jambs to indicate the color of key needed to open that door, Heretic relies on special objects internally referred to as "key gizmos."

In game, these appear as carved stone statues in the form of a winged and horned creature with a coiled serpent tail, similar in design to the Ssair dragons from Shadowcaster, which each hold up an orb of the same color as the respective key needed to open the door.

Most locked doors are flanked by two such statues, though they occasionally occur alone or not at all.