Ok I like these 2 sbar settings (sbar_scorerank and sbar_gametime) for the DP sbar for my mod. Trouble is, Im using the custom hud, and there is a conflict if If I shut the DP bar off, I wont be able to see these 2 settings, and if I keep it on, the custom hud seems not drawn at all.
I spoke with PrimalLove about this a while ago and I forgot what he said....but would it be possible to hand code these in csqc? I guess the timelimit cvar would have to get floated over to csqc?
Scorerank & gametime with DP sbar
Re: Scorerank & gametime with DP sbar
Code: Select all
screen_size_x = cvar("vid_conwidth");
switch vid_conwidth with any cvar.
I havent seen what you're talking about. but its most certainly doable in csqc.
Re: Scorerank & gametime with DP sbar
Here is a screenshot of in with the normal Quake hud:

Far to the Hud's left, the 5 3 and the big zero in the center are when sbar_gametime is > 0. The time indicator right below it is the gametime > 0 cvar.

Far to the Hud's left, the 5 3 and the big zero in the center are when sbar_gametime is > 0. The time indicator right below it is the gametime > 0 cvar.
gnounc wrote:works just fine in csqc.Code: Select all
screen_size_x = cvar("vid_conwidth");
switch vid_conwidth with any cvar.
I havent seen what you're talking about. but its most certainly doable in csqc.