A_Metal
From DoomWiki.org
A_Metal is a code pointer used in the normal animation for the cyberdemon and spiderdemon.
A_Metal
is a wrapper around A_Chase that also plays the sound effect DSMETAL. It allows the normal monster chase AI to run while adding sound effects for the boss monsters' footsteps.
Uses[edit]
The A_Metal
code pointer appears in the following states in Doom's state table:
Frame number | Doom internal name | Use |
---|---|---|
603 | S_SPID_RUN1 | normal animation for the spiderdemon |
607 | S_SPID_RUN5 | normal animation for the spiderdemon |
611 | S_SPID_RUN9 | normal animation for the spiderdemon |
682 | S_CYBER_RUN7 | normal animation for the cyberdemon |
Example[edit]
The following is an example of how to set the A_Metal
code pointer in a DeHackEd file:
Pointer 21 (Frame 34) Codep Frame = 682
Or using BEX syntax:
[CODEPTR] Frame 1234 = Metal