Rise and fall animation

Dylan Sahr

Member
Hello! I'm trying to create a script where instead of the player rising and then falling down when dying, it just slowly descends into the ground. Seems like S_PLAY_DEAD is hard coded to be unwritable or overwritable.
 
Sorry if I'm late.
You should be able to override and control the player's Z momentum, or all their momentum freely while in their death animation.
Make sure your code actually *runs* on dead players as well, if that helps.

AFAIK all the death sequence does is set a few mobj flags, fling you upwards and set the playerstate to dead.
I forget the ones off the top of my head but noclip and shootable are a few flags that get changed.
 

Who is viewing this thread (Total: 0, Members: 0, Guests: 0)

Back
Top