Custom Maps with CS:GO
Custom Maps with CS:GO
I having a prob with the custom maps for my arms race server . I can get on the server fine when the map is ar_shoots or ar_baggage. But when theres no one on and its on a custom map like ar_blue_areana or some other custom map it freezes on the loading screen and it goes red but nothing happens. Is there something that im doing wrong or a way around it? Please let me know. Thanks
Have you added the custom maps to the mapgroups section for arms race in the gamemodes_server.txt?
You will see the example below in your gamemodes_serrver.txt. It defines the mapgroups for arms race
Continue to scroll down till you find
Notice how I added your map under "mg_armsrace".
Then scroll down till you find
Notice how each map has the above information for it, but note they do differ for each map. Copy and paste one of them and replace it with your map info. I went ahead and did the one above for "ar_blue_arena"
You will see the example below in your gamemodes_serrver.txt. It defines the mapgroups for arms race
Continue to scroll down till you find
Code: Select all
//
// Map cycle groups
//
"mg_hostage"
{
"imagename" "mapgroup-hostage"
"nameID" "#SFUI_Mapgroup_hostage"
"name" "mg_hostage"
"maps"
{
"cs_office" ""
"cs_italy" ""
}
}
"mg_bomb"
{
"imagename" "mapgroup-bomb"
"nameID" "#SFUI_Mapgroup_bomb"
"name" "mg_bomb"
"maps"
{
"de_dust2" ""
"de_train" ""
"de_inferno" ""
"de_dust" ""
"de_aztec" ""
"de_nuke" ""
}
}
"mg_dust"
{
"imagename" "map-dust2-overall"
"nameID" "#SFUI_Mapgroup_dust"
"name" "mg_dust"
"maps"
{
"de_dust" ""
"de_dust2" ""
}
}
"mg_armsrace"
{
"imagename" "mapgroup-armsrace"
"nameID" "#SFUI_Mapgroup_armsrace"
"name" "mg_armsrace"
"maps"
{
"ar_shoots" ""
"ar_baggage" ""
"ar_blue_arena" ""
}
}
"mg_demolition"
{
"imagename" "mapgroup-demolition"
"nameID" "#SFUI_Mapgroup_demolition"
"name" "mg_demolition"
"maps"
{
"de_lake" ""
"de_stmarc" ""
"de_sugarcane" ""
"de_bank" ""
"de_safehouse" ""
"de_shorttrain" ""
}
}
Notice how I added your map under "mg_armsrace".
Then scroll down till you find
Code: Select all
//
// Gun Game Maps
//
"ar_blue_arena"
{
"nameID" "#SFUI_Map_ar_blue_arena"
"name" "ar_blue_arena"
"imagename" "map-baggage-overall"
"t_arms" "models/weapons/t_arms_phoenix.mdl"
"t_models"
{
"tm_phoenix" ""
"tm_phoenix_variantA" ""
"tm_phoenix_variantB" ""
"tm_phoenix_variantC" ""
"tm_phoenix_variantD" ""
}
"ct_arms" "models/weapons/ct_arms_gsg9.mdl"
"ct_models"
{
"ctm_gsg9" ""
"ctm_gsg9_variantA" ""
"ctm_gsg9_variantB" ""
"ctm_gsg9_variantC" ""
"ctm_gsg9_variantD" ""
}
}
Notice how each map has the above information for it, but note they do differ for each map. Copy and paste one of them and replace it with your map info. I went ahead and did the one above for "ar_blue_arena"
i have the maps in the mapcycle.txt and maplist.txt and i added them in the gamemodes_server.txt and this is what my gamemodes_server.txt looks like
Code: Select all
// To use this file, rename it to GameModes_Server.txt
//
// Values here override the default gamemodes.txt
"GameModes_Server.txt"
{
"gameTypes"
{
"Arms race"
{
"gameModes"
{
"casual"
{
"maxplayers" "24" // Note that maxplayers doesn't go in the convar block.
// Another way to set maxplayers is to add -maxplayers_override XX to the cmd line.
"convars"
{
"hostname" "{TAG} The Adult Gungame Classic Casual|Recruiting"
"mp_startmoney" "1000"
"mp_maxmoney" "16000"
}
"mapgroupsMP" // List of mapgroups valid for this game mode ( competitive )
{
"mg_armsrace" ""
}
}
"casual"
{
"maxplayers" "24"
"convars"
{
"hostname" "{TAG} The Adult Gungame Classic Casual|Recruiting"
"mp_startmoney" "1000"
"mp_maxmoney" "16000"
}
"mapgroupsMP" // List of mapgroups valid for this game mode ( casual )
{
"mg_armsrace" ""
}
}
}
}
}
//////////////////////////////////////////////////////////////////////////////////////////////
// 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.
2//
// Then launch the server with '+mapgroup MAPGROUPNAME'
//
// Example:
//
// srcds -game csgo +game_mode 1 +mapgroup mg_bomb_se +map de_nuke_se
//
//
// Check the developer wiki for updated community info
// https://developer.valvesoftware.com/wiki/Counter-Strike:_Global_Offensive_Dedicated_Servers
//////////////////////////////////////////////////////////////////////////////////////////////
"mapgroups"
{
"mg_armsrace" // mapgroup definition
{
"name" "mg_armsrace"
"maps"
{
"aim_ag_texture_city" ""
"aim_ag_texture_jungle" ""
"aim_aM_grass" ""
"aim_deagle7k" ""
"aim_map_deagle" ""
"ar_baggage" ""
"ar_chaos" ""
"ar_churches" ""
"ar_crash_bandicoot" ""
"ar_deagle" ""
"ar_deserthouse" ""
"ar_fight" ""
"ar_freeze_csgo" ""
"ar_hatearena" ""
"ar_iceworld_wip" ""
"ar_italydown_v2" ""
"ar_jungle" ""
"Ar_Legoland" ""
"ar_parking" ""
"ar_pool_day_apt_b" ""
"ar_shoots" ""
"ar_simpsons_bridge" ""
"ar_trs_aim_churches" ""
"ar_twotowers" ""
"ar_white" ""
"fy_dustarena" ""
"fy_legoland" ""
"fy_snowstorm" ""
"gg_aim_shotty_csgo" ""
"gg_lego_spacetower2" ""
"ar_hatearena" ""
"aim_ag_madtextures" ""
"aim_ag_texture_ceg3" ""
"aim_ag_texture_funkytown" ""
"aim_ag_texture2" ""
"aim_aztec_arena" ""
"aim_deagle_hangar" ""
"aim_deagle7k" ""
"aim_industrial" ""
"aim_warmup_d" ""
"ar_babylon_b1" ""
"ar_dev_base" ""
"ar_pocu_aztec" ""
"ar_trs_churches" ""
"fy_arenaeight" ""
"fy_devsnow" ""
"fy_iceworld" ""
"fy_iceworld_CSGO" ""
"fy_iceworld2k_beta1" ""
"fy_iceworld-red" ""
"fy_jungle" ""
"gg_glassshort_go" ""
"gg_summer" ""
"aim_ag_texture_city_advanced" ""
"fy_snow_csgo" ""
"gg_2tower_outajungle" ""
"ar_blue_arena" ""
}
}
}
}
That's close. Look at my example below though. Notice how I added "Maps" to the bottom with an example for ar_blue_arena. You will need to do this for each one of your maps.
If you don't want to do all of this manually somebody made a nifty little helper GUI. https://csgoelite.com/help/
Code: Select all
// To use this file, rename it to GameModes_Server.txt
//
// Values here override the default gamemodes.txt
"GameModes_Server.txt"
{
"gameTypes"
{
"Arms race"
{
"gameModes"
{
"casual"
{
"maxplayers" "24" // Note that maxplayers doesn't go in the convar block.
// Another way to set maxplayers is to add -maxplayers_override XX to the cmd line.
"convars"
{
"hostname" "{TAG} The Adult Gungame Classic Casual|Recruiting"
"mp_startmoney" "1000"
"mp_maxmoney" "16000"
}
"mapgroupsMP" // List of mapgroups valid for this game mode ( competitive )
{
"mg_armsrace" ""
}
}
"casual"
{
"maxplayers" "24"
"convars"
{
"hostname" "{TAG} The Adult Gungame Classic Casual|Recruiting"
"mp_startmoney" "1000"
"mp_maxmoney" "16000"
}
"mapgroupsMP" // List of mapgroups valid for this game mode ( casual )
{
"mg_armsrace" ""
}
}
}
}
}
//////////////////////////////////////////////////////////////////////////////////////////////
// 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.
2//
// Then launch the server with '+mapgroup MAPGROUPNAME'
//
// Example:
//
// srcds -game csgo +game_mode 1 +mapgroup mg_bomb_se +map de_nuke_se
//
//
// Check the developer wiki for updated community info
// https://developer.valvesoftware.com/wiki/Counter-Strike:_Global_Offensive_Dedicated_Servers
//////////////////////////////////////////////////////////////////////////////////////////////
"mapgroups"
{
"mg_armsrace" // mapgroup definition
{
"name" "mg_armsrace"
"maps"
{
"aim_ag_texture_city" ""
"aim_ag_texture_jungle" ""
"aim_aM_grass" ""
"aim_deagle7k" ""
"aim_map_deagle" ""
"ar_baggage" ""
"ar_chaos" ""
"ar_churches" ""
"ar_crash_bandicoot" ""
"ar_deagle" ""
"ar_deserthouse" ""
"ar_fight" ""
"ar_freeze_csgo" ""
"ar_hatearena" ""
"ar_iceworld_wip" ""
"ar_italydown_v2" ""
"ar_jungle" ""
"Ar_Legoland" ""
"ar_parking" ""
"ar_pool_day_apt_b" ""
"ar_shoots" ""
"ar_simpsons_bridge" ""
"ar_trs_aim_churches" ""
"ar_twotowers" ""
"ar_white" ""
"fy_dustarena" ""
"fy_legoland" ""
"fy_snowstorm" ""
"gg_aim_shotty_csgo" ""
"gg_lego_spacetower2" ""
"ar_hatearena" ""
"aim_ag_madtextures" ""
"aim_ag_texture_ceg3" ""
"aim_ag_texture_funkytown" ""
"aim_ag_texture2" ""
"aim_aztec_arena" ""
"aim_deagle_hangar" ""
"aim_deagle7k" ""
"aim_industrial" ""
"aim_warmup_d" ""
"ar_babylon_b1" ""
"ar_dev_base" ""
"ar_pocu_aztec" ""
"ar_trs_churches" ""
"fy_arenaeight" ""
"fy_devsnow" ""
"fy_iceworld" ""
"fy_iceworld_CSGO" ""
"fy_iceworld2k_beta1" ""
"fy_iceworld-red" ""
"fy_jungle" ""
"gg_glassshort_go" ""
"gg_summer" ""
"aim_ag_texture_city_advanced" ""
"fy_snow_csgo" ""
"gg_2tower_outajungle" ""
"ar_blue_arena" ""
}
}
}
"maps"
{
//
// Gun Game Maps
//
"ar_baggage"
{
"nameID" "#SFUI_Map_ar_baggage"
"name" "ar_baggage"
"imagename" "map-baggage-overall"
"t_arms" "models/weapons/t_arms_phoenix.mdl"
"t_models"
{
"tm_phoenix" ""
"tm_phoenix_variantA" ""
"tm_phoenix_variantB" ""
"tm_phoenix_variantC" ""
"tm_phoenix_variantD" ""
}
"ct_arms" "models/weapons/ct_arms_gsg9.mdl"
"ct_models"
{
"ctm_gsg9" ""
"ctm_gsg9_variantA" ""
"ctm_gsg9_variantB" ""
"ctm_gsg9_variantC" ""
"ctm_gsg9_variantD" ""
}
}
"ar_shoots"
{
"nameID" "#SFUI_Map_ar_shoots"
"name" "ar_shoots"
"imagename" "map-vietnam-overall"
"t_arms" "models/weapons/t_arms_pirate.mdl"
"t_models"
{
"tm_pirate" ""
"tm_pirate_variantA" ""
"tm_pirate_variantC" ""
"tm_pirate_variantD" ""
"tm_pirate_variantB" ""
}
"ct_arms" "models/weapons/ct_arms_gign.mdl"
"ct_models"
{
"ctm_gign" ""
"ctm_gign_variantA" ""
"ctm_gign_variantB" ""
"ctm_gign_variantC" ""
"ctm_gign_variantD" ""
}
}
"ar_blue_arena"
{
"nameID" "#SFUI_Map_ar_blue_arena"
"name" "ar_blue_arena"
"imagename" "map-vietnam-overall"
"t_arms" "models/weapons/t_arms_pirate.mdl"
"t_models"
{
"tm_pirate" ""
"tm_pirate_variantA" ""
"tm_pirate_variantC" ""
"tm_pirate_variantD" ""
"tm_pirate_variantB" ""
}
"ct_arms" "models/weapons/ct_arms_gign.mdl"
"ct_models"
{
"ctm_gign" ""
"ctm_gign_variantA" ""
"ctm_gign_variantB" ""
"ctm_gign_variantC" ""
"ctm_gign_variantD" ""
}
}
}
}
If you don't want to do all of this manually somebody made a nifty little helper GUI. https://csgoelite.com/help/
Ok I did all that with all the maps and when i try to join on a different map then ar_baggage or ar_shoots it still does not load.
Heres my gamemodes_server.txt http://pastebin.com/uKbyNXdG
Heres my gamemodes_server.txt http://pastebin.com/uKbyNXdG
I noticed 2 mistakes i did and edited them so I will try it again and let know.
*Update* after those 2 fixes on the gamemodes_server.txt its still a no go on joining the server. I'm lost.
*Another Update* I also tried to websync the maps to my servers site and still a no go.
Heres the Pic of the Screen that I get.
Last Update. I got it to work now. I added the maps to the gamemodes.txt and now it works. Thanks for all the Help Guys.
*Update* after those 2 fixes on the gamemodes_server.txt its still a no go on joining the server. I'm lost.
*Another Update* I also tried to websync the maps to my servers site and still a no go.

Heres the Pic of the Screen that I get.
Last Update. I got it to work now. I added the maps to the gamemodes.txt and now it works. Thanks for all the Help Guys.
Who is online
Users browsing this forum: No registered users and 37 guests