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.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.