Fandom

Doom Wiki

Thing

3,484pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

Things represent players, monsters, pick-ups, and projectiles. Inside the game, these are known as "actors." They also represent obstacles, certain decorations, player start positions and teleport landing sites. See Thing types for a listing of all things.

DoomEd numbers are the numbers used in the editor to represent an actor. When the map is loaded, an actor that corresponds to that number will be spawned at the location of that map thing. Although many actors have DoomEd numbers, not all of them do. For instance, a blue key card has a DoomEd number, but a rocket flying through the air does not.

THINGS lump

Doom level format

Extensions:

Level thing data is stored in the THINGS lump. Each entry is 10 bytes long. This format is used by both Doom and Heretic.

Offset Size (bytes) Description
0 2 x position
2 2 y position
4 2 Angle facing
6 2 DoomEd thing type
8 2 Flags

Flags

bithexdescription
00x0001Thing is on skill levels 1 & 2
10x0002Thing is on skill level 3
20x0004Thing is on skill levels 4 & 5
30x0008Thing is deaf
40x0010Thing is not in single player

Boom flags

Boom adds the flags:

bithexdescription
50x0020Thing is not in deathmatch
60x0040Thing is not in coop

MBF flag

MBF added the flag:

bithexdescription
70x0080Friendly monster

Hexen Format

Hexen extended upon the things lump. Hexen things may contain an action special which is executed upon death or pickup of the thing (for monsters and items, respectively). Hexen format also introduced true z-clipping, allowing placement of monsters on the z-axis. Finally, Hexen monsters are also able to have a tag similar to sectors. This is called the thing ID or TID.

Offset Size (bytes) Description
02Thing id (tid)
22X position
42Y position
62Starting height
82Angle facing
102DoomEd thing type
122Flags
141Hexen action special
151Argument 1
161Argument 2
171Argument 3
181Argument 4
191Argument 5

Note that Hexen things are 20 bytes in size; 10 bytes larger than things in Doom.

Hexen Flags

bithexdescription
00x0001Thing is on skill levels 1 & 2
10x0002Thing is on skill level 3
20x0004Thing is on skill levels 4 & 5
30x0008Thing is deaf
40x0010Thing is dormant - it will not wake up until it is activated using Thing_Activate
50x0020Thing appears only to the Fighter class
60x0040Thing appears only to the Cleric class
70x0080Thing appears only to the Mage class
80x0100Thing appears only in single-player games
90x0200Thing appears only in cooperative games
100x0400Thing appears only in deathmatch games

Strife Format

Strife did not alter the thing structure like Hexen did, however it did make use of the unused flag bits.

Strife Flags

bithexdescription
00x0001Thing is on skill levels 1 & 2
10x0002Thing is on skill level 3
20x0004Thing is on skill levels 4 & 5
30x0008Thing stands still (only useful for specific enemies)
40x0010Thing will not appear in single player
50x0020Thing is deaf
70x0080Thing is a friendly monster
80x0100Thing is 25% translucent
90x0200Thing is invisible

Also on Fandom

Random Wiki