A BrainExplode
From DoomWiki.org
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.
Uses[edit]
The A_BrainExplode
code pointer appears in the following states in Doom's state table:
Frame number | Doom internal name | Use |
---|---|---|
801 | S_BRAINEXPLODE3 | death animation for the Romero's head |
Example[edit]
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:
[CODEPTR] Frame 1234 = BrainExplode
External links[edit]
- A_BrainExplode in the Doom source code.
- A_BrainExplode at the ZDoom wiki
- BrainExplode at the Eternity Engine wiki