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.
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