Page 1 of 1

Custom Map Configs

PostPosted: Tue Dec 29, 2009 4:56 am
by Huggs
Can someone explain how Map Configs are supposed to work?
I used to run Mani and now run SourceMod. My custom map configs only work sporadically.
We like to run some maps as DM, some Elimination, some Turbo and various combinations.
I have maps configs in a directory - cstrike\maps\cfg

Here are a couple of samples -

DM On
------------
gg_elimination 0
gg_deathmatch 1
gg_multikill_override 2
gg_multi_level 0
gg_deathmatch 0


DM Off
------------
gg_elimination 0
gg_turbo 0
gg_deathmatch 0
gg_multikill_override 0
gg_multi_level 3

Along with some other combinations. The config files are all names the same as the map, but with a .cfg extension.
It seems to work randomly and sporadically. It's driving me crazy.


Thanks for any advice,
PCH

PostPosted: Tue Dec 29, 2009 5:22 am
by satoon101
Could you verify the info in your post? You have gg_deathmatch twice in the DM On section, and no gg_turbo. I know you said those were samples, but I just want to make sure that that is not your issue. Back when I ran map configs, I made sure to have 'all' cvars in the exact same order, so I would know if I was missing any.

Satoon

PostPosted: Tue Dec 29, 2009 5:58 am
by Huggs
Sorry that is a cut & paste error.
There is only one in the actual cfg file.



PCH

Re: Custom Map Configs

PostPosted: Tue Dec 29, 2009 6:24 am
by Huggs
Warmup round does work correctly in DM mode.
When the round starts - it's hit or miss.

Even with a simple cfg -
gg_deathmatch 1

it still sets that cvar to 0 when the round starts.

If I set it manually -
rcon gg_deathmatch 1

Everything works fine.


PCH

Re: Custom Map Configs

PostPosted: Tue Dec 29, 2009 6:50 am
by Huggs
OK - it seems to have something to do with having the WarmUp round in DM mode.
I turned it off and it seems to be working perfectly now.

Is this a bug or am I confused about how this is supposed to work?




PCH

Re: Custom Map Configs

PostPosted: Thu Dec 31, 2009 12:24 pm
by Miki78
Huggs wrote:OK - it seems to have something to do with having the WarmUp round in DM mode.
I turned it off and it seems to be working perfectly now.

Is this a bug or am I confused about how this is supposed to work?




PCH

Hi i thinking that everithing is writed in gg_en_config.cfg

Note: DO NOT ENABLE this if gg_deathmatch is enabled by default! This
// cause gg_deathmatch to unload at the end of the warmup round.

Its my idea where is problem :)
regards
Miki78

www.biohazard-zone.com

PostPosted: Tue Jan 05, 2010 6:12 am
by ShadowBlade
when you use maps/cfg/ it is map specific, so say you load snow, you will need a config file called fy_snow.cfg, it is mainly ment for map makers who want specific varibles set on there maps. This is also a reason to check maps before you add them to your server, it would be easy to add rcon_password "" to the config file and then pac-rat it, this will give the map maker rcon on your server while his map is played and you will never know about it till it is to late.