Inside the panel, go to easy setup and click on GameModes_server.txt for editing. You will notice the page is empty, simply copy EVERYTHING below and replace certain fields with the type you want. IE: classic, competitive, casual, etc.. ( see other forum post for more info ).
Make a mapgroup name of your choice and add that name at the bottom half.
Then add all maps to that mapgroup as they are named in the file.
In order for it to be recognized in game, you have to add the maps section again, and have a map name for each custom map you are adding.
If you see below i have different sets for a couple of the maps i run on my server.
Depending on the mapper, they may have specified on their descriptions if you can add different assign models for the Teams. I don't believe its a requirement, but its something i went ahead and did anyways.
Hopefully this helps everyone having problems.
And most importantly! Make sure you change the command startup for the server to have the mapgroup name in there as well.
I now have a successful custom competitive map server setup with 6-7 custom ones running fine. Hope everyone also gets this to work.
WHEN CONNECTING:
Just be aware downloads do take a minute or two, depending on the connection you have, so be patient. Always make sure it is downloading in Console if you see a blank loading screen. Once download completes, it will resume loading and you can continue into the game. At this point, any other outstanding errors can be ignored, except ones pertaining to your plugins, etc..
GOOD LUCK!
----------------------------------------------------------------------------------
Code: Select all
// Values here override the default gamemodes.txt
"GameModes_Server.txt"
{
"gameTypes"
{
"classic"
{
"gameModes"
{
"competitive"
{
"mapgroupsMP" // List of mapgroups valid for this game mode
{
"mg_custom" ""
}
}
}
}
}
//////////////////////////////////////////////////////////////////////////////////////////////
// Map groups
//
// To use a mapgroup, it needs to be defined in a keyvalues
// block such as the example below, as well as listed in the
// 'mapgroupsMP' block within the game mode that will run it,
// such as the example above.
//
// Then adjust the startup mapgroup in your autoexec.cfg file.
//
// Check the developer wiki for updated community info
// https://developer.valvesoftware.com/wiki/Counter-Strike:_Global_Offensive_Dedicated_Servers
//////////////////////////////////////////////////////////////////////////////////////////////
"mapgroups"
{
"mg_custom" // mapgroup definition
{
"name" "mg_custom"
"maps"
{
"de_dust" ""
"de_dust2" ""
"de_nuke" ""
"de_train" ""
"de_inferno" ""
"de_aztec" ""
"de_atom_b13" ""
"de_contra_csgo" ""
"de_mirage_csgo" ""
}
}
}
}
"maps"
{
"de_contra_csgo"
{
"nameID" "#SFUI_Map_de_contra_csgo"
"name" "de_contra_csgo"
"maxplayers" "32"
"maps"
{
"de_contra_csgo" ""
}
}
"de_mirage_csgo"
{
"nameID" "#SFUI_Map_de_mirage_csgo"
"name" "de_mirage_csgo"
"maxplayers" "32"
"maps"
{
"de_mirage_csgo" ""
}
}
"de_atom_b13"
{
"nameID" "#SFUI_Map_de_atom_b13"
"name" "de_atom_b13"
"minplayers" "2"
"maxplayers" "30"
"extraspectators" "2"
"imagename" "map-train-overall"
"t_arms" "models/weapons/t_arms_phoenix.mdl"
"ct_arms" "models/weapons/ct_arms_gign.mdl"
"t_models"
{
"tm_phoenix" ""
"tm_phoenix_variantA" ""
"tm_phoenix_variantB" ""
"tm_phoenix_variantC" ""
"tm_phoenix_variantD" ""
}
"ct_models"
{
"ctm_gign" ""
"ctm_gign_variantA" ""
"ctm_gign_variantB" ""
"ctm_gign_variantC" ""
"ctm_gign_variantD" ""
}
}