es_unload gungame51
<place gg cvars here>
es_delayed 5 es_load gungame51
I've been whining here since v5 came out about map configs.
I don't mean to complain, but it's really bothered me.
We mix up our maps running some DM, some non-DM, and some Elim.
We also like to set Turbo and multikill_override on a per map basis.
Each map has a CFG file.
I have also created a custom admin menu page that allows us to control these manually.
It just hasn't worked. Even trying to manually set modes often did nothing.
I've tried everything and gotten some great advice from the guys here.
I was instructed to try adding "ES_DELAYED 2" before each command.
After the last update things started working better - we could now reliably set modes manually (via menu).
The maps however, still just did "whatever" when they started (not following map config).
We run a 45 second warmup round (in DM mode).
I now believe that this is where the problem starts.
The map configs are executed at the beginning of the map and then the mode switches to the warmup round settings.
I assume that it tries to set it back after the warmup round ends, but it does not set it back to the map config settings.
The map config settings are lost somewhere along the way.
Today I tried something different.
I set the ES_DELAYED to 50 seconds (so they would execute after the 45 sec warmup round) and it works!
I see all of the CVAR change messages and everything is set correctly.
As long as the command is executed after the warmup round finishes, all is well.
This is almost perfect except that the map configs don't take effect until the start of the next round.
I really don't want to be viewed as a whiner.
I really do appreciate all of your hard work.
I hope this helps,
PCH