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

The name "A_BabyMetal" refers to the Arachnotron, which is known within the Doom source code as MT_BABY (or "baby spider").

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:

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