I'm trying to get the Xdeath mugshot to play when player gets crushed by doors or ceilings, but I can't figure how to do it, I checked some PSX to PC mods which do have this feature, but I can't find where it's defined in decorate nor ACS.
Sorry for my rough English.
Crushing player plays custom mugshot
Moderator: GZDoom Developers
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
- Dan_The_Noob
- Posts: 880
- Joined: Tue May 07, 2019 12:24 pm
- Graphics Processor: nVidia with Vulkan support
- Contact:
Re: Crushing player plays custom mugshot
I think you use the "Crush" state.
like Xdeath but just put "Crush:"
like Xdeath but just put "Crush:"
Re: Crushing player plays custom mugshot
I've already tried that unfortunately
Re: Crushing player plays custom mugshot
You can define a new face animation in SBARINFO.
For reference, Doom's death and xdeath animations:
For reference, Doom's death and xdeath animations:
Spoiler:Afterwards, you can call a new animation in the Crush state of the actor with A_SetMugShotState.
Re: Crushing player plays custom mugshot
I just tried that, and it worked but for some reason it's using the regular death animation instead of the Xdeath one, strangely enough, if i use just "death" nothing happens.Jarewill wrote:You can define a new face animation in SBARINFO.
For reference, Doom's death and xdeath animations:Spoiler:Afterwards, you can call a new animation in the Crush state of the actor with A_SetMugShotState.
Re: Crushing player plays custom mugshot
Just figured out the function needs to be defined manually into GZDoom.