Mark (and all),
No, no, nooOooo.. Stop editing the file.. ARGHHH!!!
If you are reading this on the list, you are choosing the wrong emails to
turn to and in turn spreading mis-information.
Ido of Valve re-stated the stance on this just yesterday so you don't need
archives to see this.
1/ Leave gamemodes.txt alone - SERIOUSLY. It will get replaced next server
patch anyway. The message to not edit it is there for a reason.
2/ Define your own mapgroup as desired in gamemodes_server.txt using the
same syntax.
3/ Make sure thar mapgroup is in the list of multiplayer mapgroups for that
game mode (classic casual etc)
3/ Call your mapgroup and a valid map within it from the launch command.
Here is an example command line and gamemodes_server.txt for:
- A classic-casual server
- With a modified freeze-time of 10 seconds
- Custom map group with ALL cs_ and de_ maps included
- Using ONLY the new gamemodes_server.txt - no gamemodes.txt or
server.cfg modifications are required (!)
COMMAND LINE EXAMPLE:
srcds_run -game csgo -console -usercon -ip x.x.x.x -port yyyyy
+net_public_adr x.x.x.x
+game_type 0 +game_mode 0 // 0 - 0 = Classic Casual mode in
gamemodes_server.txt
+mapgroup mg_allclassic_custom // mg_allclassic_custom custom map
group I defined
+map cs_office // cs_office
is a member of my custom map group and thus valid
GAMEMODES_SERVER.TXT EXAMPLE:
"GameModes_Server.txt"
{
"gameTypes"
{
"classic"
{
"gameModes"
{
"casual"
{
"convars"
{
mp_freezetime "10"
//Buyt time at round start before round commences
}
"mapgroupsMP"
// List of mapgroups valid for this game mode
{
"mg_allclassic_custom"
""
}
}
}
}
}
"mapgroups"
{
"mg_allclassic_custom"
// mapgroup definition
{
"name" "mg_allclassic_custom"
"maps"
{
"cs_office" ""
"cs_italy" ""
"de_dust2" ""
"de_train" ""
"de_inferno" ""
"de_dust" ""
"de_aztec" ""
"de_nuke" ""
}
}
}
}
From: [email protected]
[mailto:[email protected]] On Behalf Of Mark
Clifford-Jones
Sent: 17 August 2012 01:02
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#0
1015
<http://www.mail-archive.com/csgo_servers%40list.valvesoftware.com/index.htm
l#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]>
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_De
dicated_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]
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