- Mar 23, 2008
- 21
- 1
Hello all,
I have an issue that I thought would make sense to post here b/c it involves stock maps and custom maps with respect to my topic title. The cvars for the time being I'm hoping to get information on are:
mp_timelimit
mp_stalemate_enable
mp_stalemate_enable_at_timelimit
Background: I'm using SM latest stable release 1.0.0 along w/ MM:S 1.6.1. There are also several plugins installed. I have above cvars set to "default" in my server.cfg (e.g., 30, 1, 0, respectively). If I want a change to them for a specific map, I place that cvar in there with its changed value.
Server.CFG and mapname.cfg are located in /tf/cfg folder per the SM forums. My understanding is that the server.cfg is read first, then the mapname.cfg is read. However, I have encountered the following things:
1. Stock maps seem to take on cvars in the order as described. (i.e., if ctf_2fort is 20 minutes in ctf_2fort.cfg, then it is correctly reflected in game play).
2. Custom maps I have mixed experience. Some custom maps behave like the No. 1, as expected. While others seem to not recognize the cvar in their mapname.cfg. Ex// cp_warpath does not recognize a mp_timelimit 2 in the cp_warpath.cfg. Nor does it when input via HLSW.
My conclusion is that such features are built into a custom map, thus some will heed the cvar and some will not?
The issue just described then impacts whether stalemate is activated or not.
Can anyone shed light on this for me?
(I'm considering implementing a SM plugin that changes the location of the mapname.cfg, but it may not do anything if my conclusion above is valid).
Thanks
I have an issue that I thought would make sense to post here b/c it involves stock maps and custom maps with respect to my topic title. The cvars for the time being I'm hoping to get information on are:
mp_timelimit
mp_stalemate_enable
mp_stalemate_enable_at_timelimit
Background: I'm using SM latest stable release 1.0.0 along w/ MM:S 1.6.1. There are also several plugins installed. I have above cvars set to "default" in my server.cfg (e.g., 30, 1, 0, respectively). If I want a change to them for a specific map, I place that cvar in there with its changed value.
Server.CFG and mapname.cfg are located in /tf/cfg folder per the SM forums. My understanding is that the server.cfg is read first, then the mapname.cfg is read. However, I have encountered the following things:
1. Stock maps seem to take on cvars in the order as described. (i.e., if ctf_2fort is 20 minutes in ctf_2fort.cfg, then it is correctly reflected in game play).
2. Custom maps I have mixed experience. Some custom maps behave like the No. 1, as expected. While others seem to not recognize the cvar in their mapname.cfg. Ex// cp_warpath does not recognize a mp_timelimit 2 in the cp_warpath.cfg. Nor does it when input via HLSW.
My conclusion is that such features are built into a custom map, thus some will heed the cvar and some will not?
The issue just described then impacts whether stalemate is activated or not.
Can anyone shed light on this for me?
(I'm considering implementing a SM plugin that changes the location of the mapname.cfg, but it may not do anything if my conclusion above is valid).
Thanks