Raised This Month: $51 Target: $400
 12% 

Creating Custom gametype/mapgroup


Post New Thread Reply   
 
Thread Tools Display Modes
GaFooB
Member
Join Date: Dec 2014
Old 06-23-2015 , 16:58   Re: Creating Custom gametype/mapgroup
Reply With Quote #11

okay, my original issue was this: I want ONE, yes ONE map added to the map rotation and to be placed on the vote menu. I found a solution that is easy as pie. Thanks everyone who tried to help me

I just opened up gamemodes.txt and found mg_active then I placed de_dust2_night into the "//active" list and bam, i was done. to prevent the server from overwriting it, I just copied the whole gamemodes.txt and pasted into the file gamemodes_server.txt simple.
__________________

GaFooB is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 06-24-2015 , 19:31   Re: Creating Custom gametype/mapgroup
Reply With Quote #12

You should be doing this in gamemodes_server.txt

You should only override what you need in _server configs. Coping the whole file can cause issues when Valve mix things up.

The example file is broken as always. Below is my gamemodes_server file for my casual #1 server.

Code:
// To use this file, rename it to GameModes_Server.txt
//
// Values here override the default gamemodes.txt 

"GameModes_Server.txt"
{
	"gameTypes"
	{
		"classic"
		{
			"gameModes"
			{
				"casual"
				{
					"mapgroupsMP"
					{
						"mg_casual"	""
					}
				}
			}
		}
	}
	"mapgroups"
	{
		"mg_casual"
		{
			"name"		"mg_casual"
			"maps"
			{
				"de_ali"		""
				"cs_agency"		""
				"cs_assault"		""
				"de_aztec"		""
				"de_blackgold"		""
				"de_cache"		""
				"de_cbble"		""
				"de_dust"		""
				"de_dust2"		""
				"de_dust2_classic_fix"	""
				"de_dust2_night"	""
				"de_inferno"		""
				"cs_insertion"		""
				"cs_italy"		""
				"de_mill_promod"	""
				"cs_militia"		""
				"de_mirage"		""
				"de_mirage_dusk"	""
				"de_mirage_csgo"	""
				"de_mist"		""
				"de_nadir"		""
				"de_nuke"		""
				"cs_office"		""
				"de_overpass"		""
				"cs_rush"		""
				"de_train"		""
				"de_vertigo"		""
				"de_marquis"		""
				"de_facade"		""
				"de_season"		""
				"de_bazaar"		""
				"cs_workout"		""
				"cs_backalley"		""
			}
		}
	}
}
__________________

Last edited by Neuro Toxin; 06-24-2015 at 19:32.
Neuro Toxin is offline
GaFooB
Member
Join Date: Dec 2014
Old 06-29-2015 , 19:22   Re: Creating Custom gametype/mapgroup
Reply With Quote #13

yeah, pasted it into the gamemodes_server.txt, but see I was having such a horrible time using that method you posted. for some reason the server would not use that kind of set up. I searched high and low, I even went on teamviewer with DoPe^ and he couldnt even figure it out for me. I couldnt get anything working properly. I re-installed the server for a fresh start and still nothing. so that was my resort. works 100% for me so far. and if it messes up, all I am personally gonna do is re-copy the gamemodes.txt and put it into the gamemodes_server.txt and re-add my two maps. thats all I need anyway. its unfortunate and may seem unnecessary to some, but its the route i've chosen to take.
__________________


Last edited by GaFooB; 06-29-2015 at 20:29.
GaFooB is offline
SkinnyBruv
AlliedModders Donor
Join Date: Feb 2013
Location: Straya
Old 06-29-2017 , 08:48   Re: Creating Custom gametype/mapgroup
Reply With Quote #14

Quote:
Originally Posted by Neuro Toxin View Post
You should be doing this in gamemodes_server.txt

You should only override what you need in _server configs. Coping the whole file can cause issues when Valve mix things up.

The example file is broken as always. Below is my gamemodes_server file for my casual #1 server.

Code:
// To use this file, rename it to GameModes_Server.txt
//
// Values here override the default gamemodes.txt 

"GameModes_Server.txt"
{
	"gameTypes"
	{
		"classic"
		{
			"gameModes"
			{
				"casual"
				{
					"mapgroupsMP"
					{
						"mg_casual"	""
					}
				}
			}
		}
	}
	"mapgroups"
	{
		"mg_casual"
		{
			"name"		"mg_casual"
			"maps"
			{
				"de_ali"		""
				"cs_agency"		""
				"cs_assault"		""
				"de_aztec"		""
				"de_blackgold"		""
				"de_cache"		""
				"de_cbble"		""
				"de_dust"		""
				"de_dust2"		""
				"de_dust2_classic_fix"	""
				"de_dust2_night"	""
				"de_inferno"		""
				"cs_insertion"		""
				"cs_italy"		""
				"de_mill_promod"	""
				"cs_militia"		""
				"de_mirage"		""
				"de_mirage_dusk"	""
				"de_mirage_csgo"	""
				"de_mist"		""
				"de_nadir"		""
				"de_nuke"		""
				"cs_office"		""
				"de_overpass"		""
				"cs_rush"		""
				"de_train"		""
				"de_vertigo"		""
				"de_marquis"		""
				"de_facade"		""
				"de_season"		""
				"de_bazaar"		""
				"cs_workout"		""
				"cs_backalley"		""
			}
		}
	}
}
Works Perfectly
This is what needs to be posted in SRCDS
__________________
www.ancientgaming.net is my story.
Everything happens for a reason.
Nothing is random...
#Do you even AGN...
SkinnyBruv is offline
Send a message via Skype™ to SkinnyBruv
servers.csgo.cfg
BANNED
Join Date: Sep 2016
Old 06-29-2017 , 09:41   Re: Creating Custom gametype/mapgroup
Reply With Quote #15

https://forums.alliedmods.net/showthread.php?t=298943
servers.csgo.cfg 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 19:45.


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