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

Creating Custom gametype/mapgroup


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
GaFooB
Member
Join Date: Dec 2014
Old 05-28-2015 , 00:36   Creating Custom gametype/mapgroup
Reply With Quote #1

[CSGO] So I am trying to enable de_dust2_night on my server (just to start) and have it show up on the vote screen at the end of every match. (I run a 5v5 Public Competitive server) I have gotten support from different places, but no REAL help. I dont know any of the steps I should take, im a friggen baby with this stuff and im doing my best to learn here. I was using this to help me out http://www.configcreator.com/create/...des_server.txt but I am still doing something wrong cause its not working the way I want to. I have placed my "gamemodes_server.txt" into my server located in "csgo\cfg" which is also where my gamemode_competitive_gafoob.cfg is located. I was told that when the gamemodes_server.txt is placed in there, it will automatically read from that file, but I know there is something/s I am missing from that .txt that is not allowing it to read it the way I want. I can play the de_dust2_night server if I load it manually, so thats not an issue. The "test" part has literally no meaning, I have no file in my server that is named "test" im not sure if this matters in anyway or if that connects to anything. Look forward to hearing

Here is my "gamemodes_server.txt"

Code:
"Gamemodes_Server.txt"
{
	"gameTypes"
	{
		"classic"
		{
			"gameModes"
			{
				"competitive"
				{
					"maxplayers" "10"
					"exec"
					{
						"gamemode_competitive_gafoob.cfg"
					}
					"mapgroupsMP"
					{
						"test" ""
					}
				}
			}
		}
	}
	"mapgroups"
	{
		"test"
		{
			"name" "test"
			"maps"
			{
				"de_dust2" "0"
				"de_train" "1"
				"de_overpass" "2"
				"de_nuke" "3"
				"de_cbble" "4"
				"de_inferno" "5"
				"de_mirage" "6"
				"de_cache" "7"
				"de_dust2_night" "8"
			}
		}
	}
}

Last edited by GaFooB; 05-28-2015 at 05:27.
GaFooB is offline
leszektojatak
BANNED
Join Date: Aug 2014
Location: PL
Old 05-28-2015 , 09:41   Re: Creating Custom gametype/mapgroup
Reply With Quote #2

i can fix it for you add me on steam maybe we can come to an agreement
leszektojatak is offline
Send a message via Skype™ to leszektojatak
GaFooB
Member
Join Date: Dec 2014
Old 05-28-2015 , 22:44   Re: Creating Custom gametype/mapgroup
Reply With Quote #3

Quote:
Originally Posted by leszektojatak View Post
i can fix it for you add me on steam maybe we can come to an agreement
Can we try working this out on the forums so others may learn aswell? i know this is a very simple thing to fix, im just new.
GaFooB is offline
DoPe^
Veteran Member
Join Date: Jul 2008
Location: Denmark / Copenhagen
Old 05-29-2015 , 11:50   Re: Creating Custom gametype/mapgroup
Reply With Quote #4

Quote:
Originally Posted by GaFooB View Post
Can we try working this out on the forums so others may learn aswell? i know this is a very simple thing to fix, im just new.
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/
Quote:
gamemodes_server.txt
This file must be created or otherwise generated from gamemodes_server.txt.example under the \csgo\ folder. This file allows the server administrator to customize each game mode for their own server. It overrides and defaults set by Valve in gamemodes.txt. With this file, for example, you can change the maxrounds for a game type from the default, or enable friendly fire but reduce the amount of damage friendlies deal.
IT IS IMPORTANT TO MAINTAIN THE SAME HIERARCHY AND SYNTAX AS GAMEMODES.TXT!!! Included with your server installation is a gamemodes_server.txt.example file to help you learn the syntax. There is no file specifically named gamemodes_server.txt in the standard server install. You must rename, copy, or make a new file called gamemodes_server.txt to be able to customize your game modes.

https://developer.valvesoftware.com/...des_server.txt
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
__________________

Last edited by DoPe^; 05-29-2015 at 11:59.
DoPe^ is offline
leszektojatak
BANNED
Join Date: Aug 2014
Location: PL
Old 05-29-2015 , 13:11   Re: Creating Custom gametype/mapgroup
Reply With Quote #5

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
this is good way should be run

I learned by my slelf wraiting map group cfg

Through trial and error i got my way to fix map reserved problem
but i did not write that this will not work cfg
leszektojatak is offline
Send a message via Skype™ to leszektojatak
GaFooB
Member
Join Date: Dec 2014
Old 05-29-2015 , 22:52   Re: Creating Custom gametype/mapgroup
Reply With Quote #6

Quote:
Originally Posted by leszektojatak View Post
i can fix it for you add me on steam maybe we can come to an agreement
I spoke with you on steam, you told me you would fix my .cfg for 5 euros. I dont think I want to do that. I would like to learn this properly.
GaFooB is offline
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
DoPe^
Veteran Member
Join Date: Jul 2008
Location: Denmark / Copenhagen
Old 05-30-2015 , 07:09   Re: Creating Custom gametype/mapgroup
Reply With Quote #8

Add me on steam it's abit easier to help you there.
And i'll do it for free! ;)
__________________
DoPe^ is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 06-02-2015 , 09:57   Re: Creating Custom gametype/mapgroup
Reply With Quote #9

Quote:
Originally Posted by leszektojatak View Post
...
It's better to contribute to the community topic, since most people have issues with the way csgo's servers are configured.

Last edited by asherkin; 06-07-2015 at 13:23.
Mitchell is offline
GaFooB
Member
Join Date: Dec 2014
Old 06-11-2015 , 16:27   Re: Creating Custom gametype/mapgroup
Reply With Quote #10

Thank you asherkin

Last edited by GaFooB; 06-11-2015 at 16:27.
GaFooB 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 23:32.


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