Custom Map Configs

Ask questions and share info about GunGame 5

Custom Map Configs

Postby Huggs » Tue Dec 29, 2009 4:56 am

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
I remember Todd - 'Let's Roll!'
Huggs

Private
Private
User avatar
 
Posts: 77
Joined: Tue Dec 29, 2009 4:28 am
Location: NJ

Postby satoon101 » Tue Dec 29, 2009 5:22 am

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
satoon101

Site Admin
Site Admin
 
Posts: 1055
Joined: Thu Oct 09, 2008 4:27 pm

Postby Huggs » Tue Dec 29, 2009 5:58 am

Sorry that is a cut & paste error.
There is only one in the actual cfg file.



PCH
Huggs

Private
Private
User avatar
 
Posts: 77
Joined: Tue Dec 29, 2009 4:28 am
Location: NJ

Re: Custom Map Configs

Postby Huggs » Tue Dec 29, 2009 6:24 am

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
I remember Todd - 'Let's Roll!'
Huggs

Private
Private
User avatar
 
Posts: 77
Joined: Tue Dec 29, 2009 4:28 am
Location: NJ

Re: Custom Map Configs

Postby Huggs » Tue Dec 29, 2009 6:50 am

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
I remember Todd - 'Let's Roll!'
Huggs

Private
Private
User avatar
 
Posts: 77
Joined: Tue Dec 29, 2009 4:28 am
Location: NJ

Re: Custom Map Configs

Postby Miki78 » Thu Dec 31, 2009 12:24 pm

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
Miki78

Private
Private
 
Posts: 18
Joined: Wed Dec 23, 2009 9:20 pm
Steam Friends Name: miki78

Postby ShadowBlade » Tue Jan 05, 2010 6:12 am

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

Private
Private
 
Posts: 8
Joined: Mon Nov 30, 2009 7:43 pm



Return to General Discussion

Who is online

Users browsing this forum: No registered users and 4 guests

cron