[need more info][Feature Request] +NOALTHUD DECORATE flag
Moderator: Graf Zahl
-
- Posts: 1000
- Joined: Wed Jul 06, 2005 11:58
- Location: What's that fucking smell
[need more info][Feature Request] +NOALTHUD DECORATE flag
The reason I am requesting this flag is so I can have my Heat meters (Icon STTPRCNT) hidden from the new hud since it looks at odds, IMO.
-
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
No. I don't like the idea of a mapper being able to block a feature.
Instead use the ACS function GetCVar("hud_althud") to test whether it is active and react accordingly. You can place the thing elsewhere or skip it altogether.
That code would be compatible with ZDoom as well because ZDoom just returns 0 for unknown CVARs.
EDIT: Sorry, apparently I didn't read your post. What exactly are you doing?
Instead use the ACS function GetCVar("hud_althud") to test whether it is active and react accordingly. You can place the thing elsewhere or skip it altogether.
That code would be compatible with ZDoom as well because ZDoom just returns 0 for unknown CVARs.
EDIT: Sorry, apparently I didn't read your post. What exactly are you doing?
-
- Posts: 1000
- Joined: Wed Jul 06, 2005 11:58
- Location: What's that fucking smell
Basically, I want to hide heat levels (which are ammo types) from the althud since it looks daft having STTPRCNT (Not very descriptive, visually) among the other ammo types.
Basically I want something like this (Might not be correct: I'm posting from school and I don't have any reference material to hand)
Basically I want something like this (Might not be correct: I'm posting from school and I don't have any reference material to hand)
Code: Select all
ACTOR HeatLevel : Ammo
{
+NOALTHUD //Prevents the ammo type being displayed on the alt hud
Inventory.MaxAmount 100
Ammo.BackpackAmount 0
Ammo.BackpackMaxAmount 100
Inventory.Icon STTPRCNT
}
-
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
-
- Posts: 1000
- Joined: Wed Jul 06, 2005 11:58
- Location: What's that fucking smell
It's an ammo type since it's the weapons "secondary" ammo (I.E it's supposed to be displayed as the seconadary ammo type for the weapon so the player can see the heat level when using ZDoom's Fullscreen HUD. A hack, I know.)
About compatability, I'm was thinking of releasing a "patch" WAD with my WAD so it can take advantage of GZDoom's (and ZDoomGL's if it eventually includes DECORATE) Open GL features (Such as dynamic lights).
About compatability, I'm was thinking of releasing a "patch" WAD with my WAD so it can take advantage of GZDoom's (and ZDoomGL's if it eventually includes DECORATE) Open GL features (Such as dynamic lights).
-
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
Yes, it's a hack. And there lies the problem. If you hack around to coerce ZDoom's HUD into doing such stuff you should not be surprised that it doesn't work with alternates.
As for other features, I don't plan to add anything to DECORATE. All GL related stuff will be defined in separate lumps so they don't interfere with ZDoom's handling of it.
As for other features, I don't plan to add anything to DECORATE. All GL related stuff will be defined in separate lumps so they don't interfere with ZDoom's handling of it.