A_Fall
From DoomWiki.org
A_Fall is a code pointer used in the explode and death animations for the Player and various monsters.
A_Fall
removes the SOLID flag from the object it is attached to. It is used during death animations to transition monsters from their normal blocking state to corpses that can be walked over.
Uses[edit]
The A_Fall
code pointer appears in the following states in Doom's state table:
Frame number | Doom internal name | Use |
---|---|---|
160 | S_PLAY_DIE3 | death animation for the Player |
167 | S_PLAY_XDIE3 | explode animation for the Player |
191 | S_POSS_DIE3 | death animation for the Trooper |
196 | S_POSS_XDIE3 | explode animation for the Trooper |
224 | S_SPOS_DIE3 | death animation for the Sargeant |
229 | S_SPOS_XDIE3 | explode animation for the Sargeant |
273 | S_VILE_DIE3 | death animation for the Archvile |
348 | S_SKEL_DIE4 | death animation for the Revenant |
390 | S_FATT_DIE3 | death animation for the Mancubus |
424 | S_CPOS_DIE3 | death animation for the Chaingun Sargeant |
431 | S_CPOS_XDIE3 | explode animation for the Chaingun Sargeant |
460 | S_TROO_DIE4 | death animation for the Imp |
465 | S_TROO_XDIE4 | explode animation for the Imp |
493 | S_SARG_DIE4 | death animation for the Spectre and Demon |
514 | S_HEAD_DIE5 | death animation for the Cacodemon |
545 | S_BOSS_DIE4 | death animation for the Baron of Hell |
574 | S_BOS2_DIE4 | death animation for the Hell Knight |
598 | S_SKULL_DIE4 | death animation for the Lost Soul |
622 | S_SPID_DIE2 | death animation for the Spiderdemon |
654 | S_BSPI_DIE2 | death animation for the Arachnotron |
696 | S_CYBER_DIE6 | death animation for the Cyberdemon |
746 | S_SSWV_DIE3 | death animation for the SS Nazi |
751 | S_SSWV_XDIE3 | explode animation for the SS Nazi |
Example[edit]
The following is an example of how to set the A_Fall
code pointer in a Dehacked file:
Pointer 21 (Frame 34) Codep Frame = 751
Or using BEX syntax:
[CODEPTR] Frame 1234 = Fall