Raised This Month: $32 Target: $400
 8% 

Solved Custom Mapgroup Contains No Maps


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
theradiostar
New Member
Join Date: Dec 2020
Old 12-04-2020 , 17:36   Custom Mapgroup Contains No Maps
Reply With Quote #1

EDIT: This issue has been solved. Thanks!


Hey everyone,

I've been Googling this forum and all others all day trying to find a solution for this problem, but I just can't do it. Hopefully you can help me out!

I've got a fresh install of CS:GO Server up and running, and am trying to make it run a custom mapgroup. The game confirms that it's booted into the mapgroup I defined -- "mg_custom" -- but when print_mapgroup is executed, it's blank. There are no maps listed in the group.

Booting with +mapgroup mg_active does not have this problem -- only when I try to boot into mg_custom. Console throws a few errors at the start of the round (image attached) but they don't appear to be at fault, to me.

Attached is my gamemodes_server.txt file. As you can see, all maps listed are basic ones included in the base game.

Appreciate any help you can give, thanks!

HTML Code:
"GameModes_Server.txt"
{
	"gameTypes"
	{
		"classic"
			{
			"gameModes"
				{
				"casual"
					{
						"mapgroupsMP"						
						{
							"mg_custom"			""
						}
					}
				}
			}
		}
	}
	"mapgroups"
	{
		"mg_custom"										
		{
			"name"			"mg_custom"
			"maps"
			{
				"de_dust"			""
				"de_dust2"			""
				"de_nuke"			""
				"de_train"			""
				"de_inferno"		""
				"de_aztec"			""
				"cs_assault"		""
				"cs_office"			""
				"cs_militia"		""
			}
		}
	}
}
Attached Images
File Type: jpg Screenshot.jpg (45.7 KB, 62 views)

Last edited by theradiostar; 12-05-2020 at 17:27. Reason: Issue solved.
theradiostar is offline
Achyan2000
Junior Member
Join Date: Apr 2020
Old 12-04-2020 , 19:50   Re: Custom Mapgroup Contains No Maps
Reply With Quote #2

i don't know how to use GameModes_Server.txt properly as well, but i just directly edited the gamemodes.txt, add a custom group below "mg_deathmatch" like this:
--------------------------------------------------------------------------------------------
"mg_deathmatch"
{
"imagename" "mapgroup-bomb"
"nameID" "#SFUI_Mapgroup_allclassic"
"tooltipID" "#SFUI_MapGroup_Tooltip_Desc_DeathMatch"
"name" "mg_deathmatch"
"icon_image_path" "map_icons/mapgroup_icon_deathmatch"
"maps"
{
"de_dust2" ""
"de_inferno" ""
......
"ar_baggage" ""
"ar_monastery" ""
}
}

"mg_custom1"
{
"imagename" "mapgroup-bomb"
"nameID" "#SFUI_Mapgroup_allclassic"
"tooltipID" "#SFUI_MapGroup_Tooltip_Desc_DeathMatch"
"name" "mg_deathmatch"
"icon_image_path" "map_icons/mapgroup_icon_deathmatch"
"maps"
{
"de_mirage" "0"
"de_dust2" "1"
"de_inferno" "2"
"de_overpass" "3"
"de_train" "4"
"de_vertigo" "5"
"de_ancient" "6"
"de_engage" "7"
"cs_apollo" "8"
"de_guard" "9"
}
}

"mg_armsrace"
{
"imagename" ......
......
--------------------------------------------------------------------------------------------
and it works for me.
also if someone can teach us how to use GameModes_Server.txt properly, im willing to learn.
Achyan2000 is offline
theradiostar
New Member
Join Date: Dec 2020
Old 12-04-2020 , 20:00   Re: Custom Mapgroup Contains No Maps
Reply With Quote #3

I hadn't tried just directly editing gamemodes.txt -- was under the impression that GameModes_Server.txt was the "proper" way to make adjustments, as Valve can update gamemodes.txt whenever they like. But that will probably be my backup plan if I can't figure out GameModes_Server.txt!

Last edited by theradiostar; 12-04-2020 at 20:55.
theradiostar is offline
BeepIsla
Member
Join Date: Mar 2020
Location: Germany
Old 12-05-2020 , 01:50   Re: Custom Mapgroup Contains No Maps
Reply With Quote #4

gamemodes.txt will be automatically overridden and restored to what it was before when a new update comes out, never edit it.
BeepIsla is offline
Achyan2000
Junior Member
Join Date: Apr 2020
Old 12-05-2020 , 06:45   Re: Custom Mapgroup Contains No Maps
Reply With Quote #5

Quote:
Originally Posted by BeepIsla View Post
gamemodes.txt will be automatically overridden and restored to what it was before when a new update comes out, never edit it.
i know it will be recreate every new update, however there's no much to do to just add one mapgroup into it. and as i mentioned, i don't fully understand how to use GameModes_Server.txt, as this way can do, i just tried to share it, since "Appreciate any help you can give," , i do hope to know how to use the GameModes_Server.txt properly as well, if you can help, i'd appreciate it much.
Achyan2000 is offline
theradiostar
New Member
Join Date: Dec 2020
Old 12-05-2020 , 16:21   Re: Custom Mapgroup Contains No Maps
Reply With Quote #6

Quote:
Originally Posted by BeepIsla View Post
gamemodes.txt will be automatically overridden and restored to what it was before when a new update comes out, never edit it.
I'm trying to set this up in the correct way, but it simply won't work for me through gamemodes_server.txt (see the issue in the OP). Manually adding my mapgroup to gamemodes.txt, on the other hand, works like a charm. Any insight into why?
theradiostar is offline
theradiostar
New Member
Join Date: Dec 2020
Old 12-05-2020 , 17:23   Re: Custom Mapgroup Contains No Maps
Reply With Quote #7

Aaaaand I figured it out.

I didn't properly close my curly brackets in the "gameTypes" section -- one was still hanging open, which kept the mapGroup from loading properly.

Truly embarrassing stuff!!
theradiostar is offline
Achyan2000
Junior Member
Join Date: Apr 2020
Old 12-05-2020 , 21:05   Re: Custom Mapgroup Contains No Maps
Reply With Quote #8

Quote:
Originally Posted by theradiostar View Post
Aaaaand I figured it out.

I didn't properly close my curly brackets in the "gameTypes" section -- one was still hanging open, which kept the mapGroup from loading properly.

Truly embarrassing stuff!!
could you plz show me the GameModes_Server.txt you worked out? appreciate it very much!
Achyan2000 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:23.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode