View Single Post
GaFooB
Member
Join Date: Dec 2014
Old 05-30-2015 , 00:24   Re: Creating Custom gametype/mapgroup
Reply With Quote #7

Quote:
Originally Posted by DoPe^ View Post
He only want's to do it on friends because he takes money for pretty much everything.

Anyways, what does your startup line look like?

Also, gamemodes_server.txt should be placed in the root csgo folder, not csgo/cfg/


Try doing something like this

Code:
"Gamemodes_Server.txt"
{
	"gameTypes"
	{
		"classic"
		{
			"gameModes"
			{
				"competitive"
				{
					"maxplayers" "10"
					"exec"
					{
						"gamemode_competitive_gafoob.cfg"
					}
					"mapgroupsMP"
					{
						"mg_test" ""
					}
				}
			}
		}
	}
	"mapgroups"
	{
		"mg_test"
		{
			"name" "mg_test"
			"maps"
			{
				"de_dust2" ""
				"de_train" ""
				"de_overpass" ""
				"de_nuke" ""
				"de_cbble" ""
				"de_inferno" ""
				"de_mirage" ""
				"de_cache" ""
				"de_dust2_night" ""
			}
		}
	}
}
In your server startup line change or add this if it's not there +mapgroup mg_test
+mapgroup defines the mapgroup you want to use from the gamemodes_server.txt

But post your startup line and i'll tell you what to change
I hope im on the right track here.
Here is a list of my disabled plugins (just in case) http://gyazo.com/975395741b183560ad83f02bdfb0b2ee
Here is what i THINK is my startup line http://gyazo.com/9f3ac657e7d1bd73cfe3293140c8d800
I am having trouble finding the actual startup line file in my csgo server at the moment. I had it last night, but now I cant remember.

EDIT: Okay this is what i was messing with last night.
Code:
// turn on logging first, to maximize what is logged
log 1
// game_type and game_mode together determine what is played.
// use game_type 0 and game_mode 0 for "Classic Casual"
// use game_type 0 and game_mode 1 for "Classic Competitive"
// use game_type 1 and game_mode 0 for "Arms race" (standard GunGame)
// use game_type 1 and game_mode 1 for "Demolition" (GunGame w/a bomb)
game_type 0
game_mode 1
// the map group determines what maps are run. make sure that
// your map group supports the starting map and game mode that
// you've chosen. examples:
// mapgroup mg_deathmatch
// mapgroup mg_reserves
// mapgroup mg_active
// mapgroup mg_armsrace
// mapgroup mg_demolition
// mapgroup mg_dust2
mapgroup "mg_test"
// this is the starting map
map "de_dust2"
// further settings can be changed in cfg/server.cfg and in gamemodes.txt.
workshop_start_map ""
//host_workshop_collection ""
cl_teammate_colors_show 1

Last edited by GaFooB; 05-30-2015 at 00:35.
GaFooB is offline