Difference between revisions of "A BabyMetal"
From DoomWiki.org
[checked revision] | [checked revision] |
(move to subcategory) |
(add to new subcategory) |
||
Line 37: | Line 37: | ||
[[Category:Monster code pointers]] | [[Category:Monster code pointers]] | ||
+ | [[Category:Sound effect code pointers]] |
Revision as of 15:48, 3 March 2022
A_BabyMetal is a code pointer used in the normal animation for the Arachnotron.
A_BabyMetal
is a wrapper around A_Chase that plays the sound effect DSBSPWLK before calling that other function. This makes the Arachnotron play its walking sound while invoking the usual monster AI.
Uses
The A_BabyMetal
code pointer appears in the following states in Doom's state table:
Frame number | Doom internal name | Use |
---|---|---|
635 | S_BSPI_RUN1 | normal animation for the Arachnotron |
641 | S_BSPI_RUN7 | normal animation for the Arachnotron |
Example
The following is an example of how to set the A_BabyMetal
code pointer in a Dehacked file:
Pointer 21 (Frame 34) Codep Frame = 641
Or using BEX syntax:
[CODEPTR] Frame 1234 = BabyMetal
External links
- A_BabyMetal in the Doom source code.
- A_BabyMetal at the ZDoom wiki
- BabyMetal at the Eternity Engine wiki