Tremulous Forum

Mods => Modding Center => Topic started by: Shifty on May 24, 2011, 12:12:19 pm

Title: Ammo bar
Post by: Shifty on May 24, 2011, 12:12:19 pm
So I just started a whole awsome HUD and all, but it needs a ammo bar. IS there a way of doing this? CG_PLAYER_AMMO_VALUE_BAR doesnt work.
Title: Re: Ammo bar
Post by: FukinRave_ on May 24, 2011, 11:48:57 pm
You'd have to compile a ui.qvm and add the code in by copying how the stamina bar does it but putting in the clip values. It wouldn't work on non-pureservers. Sorry bud :(
Title: Re: Ammo bar
Post by: Shifty on May 25, 2011, 05:24:20 am
Aw :( Ill have to come up with something else then =/. I would have thought that would be a standard feature in any games HUD where you used ammo...obviously not.