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 zombieman |
196 | S_POSS_XDIE3 | explode animation for the zombieman |
224 | S_SPOS_DIE3 | death animation for the shotgun guy |
229 | S_SPOS_XDIE3 | explode animation for the shotgun guy |
273 | S_VILE_DIE3 | death animation for the arch-vile |
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 heavy weapon dude |
431 | S_CPOS_XDIE3 | explode animation for the heavy weapon dude |
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 Wolfenstein SS |
751 | S_SSWV_XDIE3 | explode animation for the Wolfenstein SS |
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