Make HUD Sprite not affected by Invisibility?

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!)
User avatar
Enjay
 
 
Posts: 26403
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland

Make HUD Sprite not affected by Invisibility?

Post by Enjay »

Is there a way, in DECORATE, to make a the HUD view of a specific weapon not become translucent when the invisibility powerup is active?
User avatar
Virathas
Posts: 220
Joined: Thu Aug 10, 2017 9:38 am

Re: Make HUD Sprite not affected by Invisibility?

Post by Virathas »

Not exactly sure, but [wiki]A_Overlay[/wiki] and [wiki]A_OverlayFlags[/wiki] might be what you are looking for.
User avatar
Enjay
 
 
Posts: 26403
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland

Re: Make HUD Sprite not affected by Invisibility?

Post by Enjay »

Thanks. It looks like PSPF_FORCESTYLE might do the trick.

Now to figure out how to actually use overlays. I've not done that before.

Return to “Scripting”