A BrainExplode

From DoomWiki.org

Revision as of 12:49, 14 January 2024 by Gregor (talk | contribs) (add image with description)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Wall of explosions spawned across the face of the Icon of Sin through A_BrainExplode during the death animation of Romero's head.

A_BrainExplode is a code pointer used in the death animation for the Romero's head.

A_BrainExplode spawns a rocket explosion effect near the thing that triggered the function, and sets the state of that thing to S_BRAINEXPLODE1 (frame #799). Since this is followed after two frames by S_BRAINEXPLODE3 which again calls A_BrainExplode, the result is a continually exploding wall effect that completes until the boss brain object calls A_BrainDie that triggers the level exit.


The A_BrainExplode code pointer appears in the following states in Doom's state table:


The following is an example of how to set the A_BrainExplode code pointer in a DeHackEd file:

Pointer 21 (Frame 34)
Codep Frame = 801

Or using BEX syntax:

Frame 1234 = BrainExplode

External links[edit]