Digital Paint Discussion Board

Development => Bugs, Feature Requests, and Feedback => Topic started by: jitspoe on March 22, 2006, 02:36:49 AM

Title: TimeElapsed
Post by: jitspoe on March 22, 2006, 02:36:49 AM
Is anybody using the TimeElapsed serverinfo cvar for anything?  I think it would make more sense to replace it with a TimeLeft cvar that reads in a min:sec format, so instead of saying TimeElapsed 30.0, it would say TimeLeft 19:30 (assuming the timelimit was 20 minutes).
Title: Re: TimeElapsed
Post by: Eiii on March 22, 2006, 09:38:50 AM
Makes sense. While we're talking about serverinfo cvars, is there a 'build' one? I don't see it in your fancy server browser...
Title: Re: TimeElapsed
Post by: jitspoe on March 22, 2006, 12:57:04 PM
No, but I can set the build cvar to be a serverinfo value easily enough.
Title: Re: TimeElapsed
Post by: b00nlander on March 23, 2006, 02:45:19 AM
I currently do use this serverinfo cvar, and just set my own "timeleft" feature by setting a variable to "20 - TimeElapsed", as it only displays my server's info, which is always set to 20 minutes. Changing that would be easy, and the TimeLeft would be better to handle different server's infos.
Title: Re: TimeElapsed
Post by: Eiii on March 23, 2006, 09:23:56 AM
Does that actually work? Could you explain HOW exactly it works? (Or what you have to do to make it work?)
Title: Re: TimeElapsed
Post by: jitspoe on March 23, 2006, 01:30:18 PM
Well, I've already changed it.  Only problem with 20 - TimeElapsed is that overtime might come into play.