[need more info][Feature Request] +NOALTHUD DECORATE flag

Moderator: Graf Zahl

User avatar
TheDarkArchon
Posts: 1000
Joined: Wed Jul 06, 2005 11:58
Location: What's that fucking smell

[need more info][Feature Request] +NOALTHUD DECORATE flag

Post by TheDarkArchon »

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.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany

Post by Graf Zahl »

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?
User avatar
TheDarkArchon
Posts: 1000
Joined: Wed Jul 06, 2005 11:58
Location: What's that fucking smell

Post by TheDarkArchon »

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)

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
}
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany

Post by Graf Zahl »

Why is this an ammo type?

About the flag, that itself is no problem. I hesitate because it would introduce incompatibility with ZDoom for a rather minor feature.
User avatar
TheDarkArchon
Posts: 1000
Joined: Wed Jul 06, 2005 11:58
Location: What's that fucking smell

Post by TheDarkArchon »

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).
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany

Post by Graf Zahl »

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.

Return to “Closed Feature Suggestions”