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.
MRF_RESTOREARMOR
Moderator: GZDoom Developers
-
Major Cooke
- Posts: 8217
- Joined: Sun Jan 28, 2007 3:55 pm
- Preferred Pronouns: He/Him
- Operating System Version (Optional): Windows 10
- Graphics Processor: nVidia with Vulkan support
- Location: GZBoomer Town
-
Ichor
- Posts: 1784
- Joined: Wed Jul 23, 2003 9:22 pm
Re: MRF_RESTOREARMOR
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.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.
-
jdagenet
- Posts: 77
- Joined: Tue Aug 09, 2011 10:26 pm
Re: MRF_RESTOREARMOR
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.
-
Ichor
- Posts: 1784
- Joined: Wed Jul 23, 2003 9:22 pm
Re: MRF_RESTOREARMOR
That's not so easy to do in Hexen because of the odd way armors work in that game.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.
-
Major Cooke
- Posts: 8217
- Joined: Sun Jan 28, 2007 3:55 pm
- Preferred Pronouns: He/Him
- Operating System Version (Optional): Windows 10
- Graphics Processor: nVidia with Vulkan support
- Location: GZBoomer Town
Re: MRF_RESTOREARMOR
Indeed. The armors can have different absorption numbers. And I agree, MRF_RESTOREHEALTH would be valuable too.