Adding Custom Maps to CS:GO HOWTO

Post Reply
prasadudwadia
A semi-regular
A semi-regular
Posts: 16
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Thu Sep 06, 2012 6:54 am

Adding Custom Maps to CS:GO HOWTO

Post by prasadudwadia »

So after much work, i was able to configure a proper guide on how to setup a working CUSTOM MAP configuration for CS:GO .

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" ""
        }
    }
----------------------------------------------------------------------------------
Image
prasadudwadia
A semi-regular
A semi-regular
Posts: 16
Joined: Thu Sep 06, 2012 6:54 am

Re: Adding Custom Maps to CS:GO HOWTO

Post by prasadudwadia »

Correction to the above code, Just missing one } at the end of the code . Make sure you add it lol
:D
Image
finn
A regular
A regular
Posts: 59
Joined: Sat Aug 25, 2012 3:48 pm

Re: Adding Custom Maps to CS:GO HOWTO

Post by finn »

I run custom maps on my server and the rotation works, I have NOT had to add the custom maps to the "maps" section, and I have NOT had to add the mapgroup to the server command line.

Just specifying the mapgroup in the gamemode you are using and adding the mapgroup is all you need to do.

Just a note, if you change the cycle in the mapgroup you need to restart the server in order for the new cycle to come into effect.
finn
A regular
A regular
Posts: 59
Joined: Sat Aug 25, 2012 3:48 pm

Re: Adding Custom Maps to CS:GO HOWTO

Post by finn »

There is one thing I missed. Instead of having the mapgroup in the server command line, you can set it in a cfg file.

For example I have mine set in the autoexec.cfg to load my custom mapgroup and to set the starting map.

mapgroup mg_fun
map awp_pro
prasadudwadia
A semi-regular
A semi-regular
Posts: 16
Joined: Thu Sep 06, 2012 6:54 am

Re: Adding Custom Maps to CS:GO HOWTO

Post by prasadudwadia »

interesting to hear, mind sharing yours? Gamemode file
Image
achhun02
New to forums
New to forums
Posts: 10
Joined: Wed Aug 29, 2012 3:33 pm

Re: Adding Custom Maps to CS:GO HOWTO

Post by achhun02 »

does it have to be a .bsp file? what if the file is a .7z file?

i followed those instructions but it wouldnt work
im trying to add awp_bycastor32_3.7z
can u tell me what i need to fix?

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_se"       ""
        "de_dust2_se"      ""
        "de_nuke_se"       ""
        "de_train_se"      ""
        "de_inferno_se"    ""
        "de_aztec_se"      ""
        "de_dust"          ""
        "de_dust2"         ""
        "de_nuke"          ""
        "de_train"         ""
        "de_inferno"       ""
        "de_aztec"         ""
        "awp_bycastor32_3" ""
        "aim_map"          ""
        "aim_ak_colt_a1"   ""
      }
    }
  }
}



"maps"
   {
      
"awp_bycastor32_3"
  {

   "nameID"      "#SFUI_Map_awp_bycastor32_3"
   "name"         "awp_bycastor32_3"
   "maxplayers"      "10"
   "maps"
   {
   "awp_bycastor32_3"   ""
   }
   }
User avatar
hiimcody1
Staff
Staff
Posts: 1595
Joined: Wed Dec 28, 2011 4:59 pm

Re: Adding Custom Maps to CS:GO HOWTO

Post by hiimcody1 »

You need a program such as 7zip to decompress the file before working with it.
Post Reply