A_BruisAttack
From DoomWiki.org
A_BruisAttack is a code pointer used in the melee attack animation for the Hell knight and baron of Hell.
The name A_BruisAttack refers to the name used for the baron during Doom's development, the "bruiser brothers" (since two barons appear as the episode 1 bosses).
Contents
Uses[edit]
The A_BruisAttack
code pointer appears in the following states in Doom's state table:
Frame number | Doom internal name | Use |
---|---|---|
539 | S_BOSS_ATK3 | melee attack animation for the baron of Hell |
568 | S_BOS2_ATK3 | melee attack animation for the Hell knight |
Example[edit]
The following is an example of how to set the A_BruisAttack
code pointer in a DeHackEd file:
Pointer 21 (Frame 34) Codep Frame = 568
Or using BEX syntax:
[CODEPTR] Frame 1234 = BruisAttack
Code structure[edit]
The baron has the same kind of attacks as the imp, so the code structure for A_BruisAttack
is largely identical to A_TroopAttack (except without a call to A_FaceTarget).
External links[edit]
- A_BruisAttack in the Doom source code.
- A_BruisAttack at the ZDoom wiki
- BruisAttack at the Eternity Engine wiki