On 14/11/2012 12:50 AM, Rudy Bleeker wrote:
On Tue, Nov 13, 2012 at 2:39 PM, Yun Huang Yong <gumby_li...@mooh.org> wrote:
1. resets a bunch of cvars to default, including tf_medieval 0

You will need to find out why this happens. The tf_medieval cvar
should not be reset to 0 on a mapchange, so you probably have some
config file or plugin that does this for you. It might be a good idea
to search for tf_medieval in the orangebox/tf/cfg directory, which on
Linux can be done by executing `grep tf_medieval *` in that directory.
It will tell you which files mess with the cvar.

Many thanks for this pointer, you were right on.

I am using the Map Configs plugin[1]. If I had read the description carefully "...more helpful than the stock config file loader as you do not have to worry about making sure all of your values are reset back to default for the next map."

It was calling ResetConVar() on any variables that had been changed that map so when I was trying to set tf_medieval 1 on the map prior, it would reset it to 0 between map changes.

Thanks again!

[1] https://forums.alliedmods.net/showthread.php?t=68589


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux

Reply via email to