Gez
Why don't I have a custom title by now?!
Posts: 7046
Registered: 07-07 |
Doom (and thus by default, all ports that haven't changed this for a reason or another) do this when a corpse is crushed:
code: // crunch bodies to giblets
if (thing->health <= 0)
{
P_SetMobjState (thing, S_GIBS);
thing->flags &= ~MF_SOLID;
thing->height = 0;
thing->radius = 0;
The fuzz effect is caused by the actor having the MF_SHADOW flag. As you can see, this flag isn't affected -- the MF_SOLID flag is removed, the height and radius are set to 0, and the state is set to the S_GIBS state (which displays the POL5 sprite's A frame), but that's all. The rest of the actor is unchanged. Fortunately, the MF_SHOOTABLE flag isn't removed, or ghost monsters would truly be invulnerable, even to explosions.
@Myk: thanks for the info about Plutonia 2.
|