The code first loads gamemodes.txt, then it merges in gamemodes_server.txt and 
overwrites any key values if there are duplicates. So, yes, changing either 
will get the same result.

The reason we recommend not changing gamemodes.txt is because if we change it ( 
for example by moving free armor from being hard-coded into a convar that now 
needs to be included in every gamemode convar block ), you either don't get the 
changes or you have to manually diff your old version with the new one every 
update.

Point taken on the documentation, and we'll improve it as we go, but fwiw, the 
wiki is a community wiki, and those of you that help each other out on the list 
should feel empowered to add to it and/or modify it.

Thanks for running servers.

Cheers.

From: [email protected] 
[mailto:[email protected]] On Behalf Of Mark 
Clifford-Jones
Sent: Thursday, August 16, 2012 5:02 PM
To: [email protected]
Subject: Re: [Csgo_servers] server.cfg and gamemodes.txt

Thanks Mitch, that's great :)

Incidentally, a quick look on that list shows you had to do exactly what i did 
to get a mixed map rotation working (i.e. de_ and cs_ maps in the same list) - 
even though the gamemodes.txt file says 'do not modify!'
________________________________
From: [email protected]
To: [email protected]
Date: Thu, 16 Aug 2012 19:53:10 -0400
Subject: Re: [Csgo_servers] server.cfg and gamemodes.txt
Joe, try this link 
http://www.mail-archive.com/[email protected]/index.html#01015<http://www.mail-archive.com/csgo_servers%40list.valvesoftware.com/index.html#01015>

________________________________
From: [email protected]
Date: Thu, 16 Aug 2012 19:48:49 -0400
To: [email protected]
Subject: Re: [Csgo_servers] server.cfg and gamemodes.txt

Just wanted to say that I don't have access to the archives as well, which is a 
bit frustrating as I assume there's a good bit of info in there that would be 
useful (and would also probably prevent this list from being flooded with 
repeat questions).

Also wanted to agree with the notion that a more fully fleshed-out example 
server.cfg and gamemodes.txt would be greatly appreciated.

-joe

On Thu, Aug 16, 2012 at 8:30 AM, Mark Clifford-Jones 
<[email protected]<mailto:[email protected]>> wrote:
Hi all

Firstly, apologies if this has already been covered, I can't seem to access the 
archived mails :(

I have just installed a server using the guide from the wiki 
https://developer.valvesoftware.com/wiki/Counter-Strike:_Global_Offensive_Dedicated_Servers

The first thing I notice is the server.cfg is very minimal, but I'm pretty sure 
there are more vars that can go in there (I tried some CSS ones just to see!), 
does anybody have an example server.cfg with all the available options in?

Also gamemodes.txt seems very complicated compared to how CSS worked, is there 
a simplified version anywhere? And is it possible to split the gamemodes out 
totally from there into seperate playlist configs and call them from command 
line when a change to the server is needed (or is it even possible to call them 
from server.cfg)? gamemodes.txt takes a LOT of trawling through.......!!

The wiki was a good place to start but seems very vague in places, I wanted to 
know if a mixed rotation was possible so went to the map section and it just 
says

Maps

The types of maps you play are now controlled by map groups.

And lastly does mp_maxplayers work? And if so does the command line override 
gamemode.txt? I tried to set max players on the command line but it seems to 
start with whatever I have it set at in gamesmode.txt..............

Thanks all!

_______________________________________________
Csgo_servers mailing list
[email protected]<mailto:[email protected]>
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers


_______________________________________________ Csgo_servers mailing list 
[email protected] 
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers

_______________________________________________ Csgo_servers mailing list 
[email protected] 
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers
_______________________________________________
Csgo_servers mailing list
[email protected]
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers

Reply via email to