ZDaemon Forum Index ZDaemon
Client/Server DOOM
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

remove_cvaroverride ccmd

 
Post new topic   Reply to topic    ZDaemon Forum Index -> Implemented Requests
View previous topic :: View next topic  
Author Message
rhinoduck
Potatoes


Joined: 22 Oct 2012

PostPosted: Wed Nov 06, 2013 4:44 pm    Post subject: remove_cvaroverride ccmd Reply with quote

Once you add a cvar override there is no way to get rid of it except by restarting the server. This becomes an issue if you set the override on a cvar and find out that you need to later fiddle with the value in the global scope during the session as you'd also always have to change the cvar_override value in addition to the normal cvar value every time the map comes.

A silly example: When planning TNS, we see that one of the maps is times larger then the other maps, so we decide to add a cvar override to automatically make the sv_joinlimit for that map longer (because if you forget, your manual change won't take effect till next map start). Then another rotation comes and we decide to drop the joinlimit altogether; at that point, we not only need to change the sv_joinlimit cvar value but also all the overrides we've possibly added for it. Then we might realize that dropping the join limit was a rather stupid thing to do and we will want it back trying out different values before settling with one that seems to fit the best; each time, these changes cannot ever be automatically reflected again on maps that have overrides defined.

Another example would be lowering maxplayers for maps where we expect crowdedness issues, but as sessions are a living/changing thing and our guesses are not always right, we usually end up making quite a bit of adjustments. Beyond these examples, the issue can become even more pronounced with custom cvars that we use with our scripts in TNS.

Code:
synopsis: remove_cvaroverride map_name cvar_name
Back to top
View user's profile Send private message
Ch0wW
Dominating!


Joined: 05 Feb 2013
Location: France

PostPosted: Sat Nov 09, 2013 1:22 pm    Post subject: Reply with quote

I agree, having to restart the server to adjust some dynamic settings is really annoying.

+1 implanting!
Back to top
View user's profile Send private message Visit poster's website
Kilgore
Air Cavalry


Joined: 17 Jun 2003
Location: Up the river

PostPosted: Mon Sep 07, 2015 12:20 pm    Post subject: Reply with quote

Done; it will show up on the next release.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    ZDaemon Forum Index -> Implemented Requests All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group