Difference between revisions of "Spawn spot"

From DoomWiki.org

[checked revision][checked revision]
(Appearance statistics)
(update data table)
Line 3: Line 3:
 
!colspan="2"|Spawn spot data
 
!colspan="2"|Spawn spot data
 
|-
 
|-
| Thing type||87 (decimal), 57 (hex)
+
| [[Thing types|Thing type]]||87 (decimal), 57 (hex)
 
|-
 
|-
| Appears in||Doom II/Final Doom
+
| [[Mobj|Enum]]||MT_BOSSTARGET (27)
 +
|-
 +
| Appears in||[[Doom II]]/[[Final Doom]]
 
|-
 
|-
 
| Radius||20
 
| Radius||20
Line 11: Line 13:
 
| Height||32
 
| Height||32
 
|-
 
|-
| [[Sprite]]||(none; FIRE is used<br/>as a monster appears)
+
| [[Sprite]]||''none'' (FIRE is used<br/>as a monster appears)
 +
|-
 +
| [[Thing types|Class]]||''none''
 
|-
 
|-
| [[Thing types|Class]]|||''none''
+
| Flags||{{c|24}} (decimal)<br>{{c|00000018}} (hex)
 
|-
 
|-
 +
| Flags list|| 3: No sector links (Invisible)<br> 4: No blocklinks (Inert)
 
|}
 
|}
 
</div>
 
</div>

Revision as of 08:59, 26 September 2022

Spawn spot data
Thing type 87 (decimal), 57 (hex)
Enum MT_BOSSTARGET (27)
Appears in Doom II/Final Doom
Radius 20
Height 32
Sprite none (FIRE is used
as a monster appears)
Class none
Flags 24 (decimal)
00000018 (hex)
Flags list 3: No sector links (Invisible)
4: No blocklinks (Inert)

A spawn spot is a target for spawn cubes ejected by the monster spawner, and is part of the final boss. The spawn spots are things defined in the source code, but they are rendered invisibly by the engine, and thus are not directly visible (they have no sprite associated to them, in any case).

The monster spawner fires its cubes toward each spawn spot in rotation, in the order they appear in the THINGS lump. When a cube reaches a spawn spot, a burst of yellow flames is rendered, and a hellish monster (excluding the two major bosses) appears in the location. If the spawner and its spawn spots are placed in MAP30 any cube landing at a spawn spot currently occupied by a player or monster will telefrag it. If the boss-related things are placed in another level, however, the new monster and the thing currently occupying its location will simply become stuck together.

There may be up to 32 spawn spots in a level, and if there are no spawn spots, a spawn shooter will not create any cubes. If there are too many spawn spots, the game will crash immediately after the spawn shooter awakens. This is due to overflowing the array used to store pointers to the spots.

Appearance statistics

The IWADs contain the following numbers of spawn spots per skill level:

Game 1-2 3 4-5
Doom II 13 13 13
TNT: Evilution 4 4 4
Plutonia 9 9 9

See also