Morphed player not showing crouch sprites, instead shrunking

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!

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!)
Post Reply
User avatar
Barny-kun
Posts: 14
Joined: Wed May 03, 2017 2:28 pm
Location: Inside your mind

Morphed player not showing crouch sprites, instead shrunking

Post by Barny-kun »

Is that a limitation? Or am i commiting mistake on my codes?
Spoiler:
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49225
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Morphed player not showing crouch sprites, instead shrun

Post by Graf Zahl »

It cannot deduce the real sprite because you used TNT1 in the spawn state. The spawn state's sprite must be valid for the replacement to occur.
User avatar
Barny-kun
Posts: 14
Joined: Wed May 03, 2017 2:28 pm
Location: Inside your mind

Re: Morphed player not showing crouch sprites, instead shrun

Post by Barny-kun »

Graf Zahl wrote:It cannot deduce the real sprite because you used TNT1 in the spawn state. The spawn state's sprite must be valid for the replacement to occur.
Thank you, it's working now!! Damn, i worked so much on that crouching sprite, i was afraid that i wouldn't be able to use it due to possible limitations!
Post Reply

Return to “Scripting”