MRF_RESTOREARMOR

Remember, just because you request it, that doesn't mean you'll get it.

Moderator: GZDoom Developers

User avatar
Major Cooke
Posts: 8175
Joined: Sun Jan 28, 2007 3:55 pm
Preferred Pronouns: He/Him
Location: QZDoom Maintenance Team

MRF_RESTOREARMOR

Post by Major Cooke »

This flag will restore the armor of the actor when unmorphing and discard any armor gained while morphed.

I'd do this myself but the armor stuff is a bit confusing.
User avatar
Ichor
Posts: 1783
Joined: Wed Jul 23, 2003 9:22 pm

Re: MRF_RESTOREARMOR

Post by Ichor »

Major Cooke wrote:This flag will restore the armor of the actor when unmorphing and discard any armor gained while morphed.

I'd do this myself but the armor stuff is a bit confusing.
Maybe throw in MRF_RESTOREHEALTH as well. If you should get turned into a pig or chicken while you have, say, 5% health, when you return to normal, you get a free boost to 100% health.
jdagenet
Posts: 77
Joined: Tue Aug 09, 2011 10:26 pm

Re: MRF_RESTOREARMOR

Post by jdagenet »

This can already be achieved in ACS, just store the armor data in a variable before the player morphs. When he morphs back, give the player that same armor amount.
User avatar
Ichor
Posts: 1783
Joined: Wed Jul 23, 2003 9:22 pm

Re: MRF_RESTOREARMOR

Post by Ichor »

jdagenet wrote:This can already be achieved in ACS, just store the armor data in a variable before the player morphs. When he morphs back, give the player that same armor amount.
That's not so easy to do in Hexen because of the odd way armors work in that game.
User avatar
Major Cooke
Posts: 8175
Joined: Sun Jan 28, 2007 3:55 pm
Preferred Pronouns: He/Him
Location: QZDoom Maintenance Team

Re: MRF_RESTOREARMOR

Post by Major Cooke »

Indeed. The armors can have different absorption numbers. And I agree, MRF_RESTOREHEALTH would be valuable too.
Post Reply

Return to “Feature Suggestions [GZDoom]”