View previous topic :: View next topic |
Author |
Message |
rhinoduck Potatoes
Joined: 22 Oct 2012
|
Posted: Wed Nov 06, 2013 4:44 pm Post subject: remove_cvaroverride ccmd |
|
|
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 |
|
|
Ch0wW Dominating!
Joined: 05 Feb 2013 Location: France
|
Posted: Sat Nov 09, 2013 1:22 pm Post subject: |
|
|
I agree, having to restart the server to adjust some dynamic settings is really annoying.
+1 implanting! |
|
Back to top |
|
|
Kilgore Air Cavalry
Joined: 17 Jun 2003 Location: Up the river
|
Posted: Mon Sep 07, 2015 12:20 pm Post subject: |
|
|
Done; it will show up on the next release. |
|
Back to top |
|
|
|