Please provide a generic template

Post Reply
Wrangler
A regular
A regular
Posts: 56
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Thu Dec 12, 2013 10:16 pm

Please provide a generic template

Post by Wrangler »

I want to populate my armsrace_server.txt to include several custom maps I've recently downloaded. My nightmares with mapgroups has destroyed my faith in what I have, they simply do not work.

Could someone post the known-good layout of text that I can adjust with my maps that I can place inside my armsrace_server.txt file. I'm looking for just the minimum needed to execute the AR maps when AR mode is set on the server.

Thanks in advance!
User avatar
kraze
Former staff
Former staff
Posts: 4362
Joined: Fri Sep 17, 2010 9:06 am
Location: California

Re: Please provide a generic template

Post by kraze »

Your mapgroups would be in your gamemodes_server.txt, so you should post that so we can see what's wrong with it. Your armsrace_server.txt would be your specific command customization's for said gamemode.
@Kraze^NFo> Juski has a very valid point
@Juski> Got my new signature, thanks!
@Kraze^NFo> Out of context!
@Juski> Doesn't matter!
@Juski> You said I had a valid point! You can't take it back now! It's out there!
$atanic $pirit
This is my homepage
This is my homepage
Posts: 251
Joined: Tue Jan 28, 2014 5:32 am

Re: Please provide a generic template

Post by $atanic $pirit »

Hey just a suggestion that worked for me in the past. Try to make a workshop collection with all the maps in it. That way you don't need to use gamemodes_servers.txt file.

I found it working great, but the limitation being that all maps should be available on workshop.
Image
Wrangler
A regular
A regular
Posts: 56
Joined: Thu Dec 12, 2013 10:16 pm

Re: Please provide a generic template

Post by Wrangler »

kraze wrote:Your mapgroups would be in your gamemodes_server.txt, so you should post that so we can see what's wrong with it. Your armsrace_server.txt would be your specific command customization's for said gamemode.

I've done this elsewhere in here, it was conformed good and only stock maps are being recognized when the end of match vote comes up. Its grown to be a major PITA. I was hoping for something streamlined with absolutely nothing extraneous that will definitely work. In this way I can blame my server install or at least isolate something that I did and get this thing working properly.

In frustration I deleted what I had. I may be able to find it here in the forum though.
Wrangler
A regular
A regular
Posts: 56
Joined: Thu Dec 12, 2013 10:16 pm

My gamemodes_server.txt

Post by Wrangler »

When this runs in Armsrace I only receive the following voting options at the end of the match: Monastery, Shoots and Baggage. It should be mention that the very same limitation occurs if I choose mg_hostage except that the few map vote choices are different.

Here is my gamemodes_server.txt

// Values here override the default gamemodes.txt

"GameModes_Server.txt"
{
"gameTypes"
{
"classic"
{
"gameModes"
{
"cimpetitive"
{

"mapgroupsMP" // List of mapgroups valid for this game mode
{
"mg_custom" ""
}

}
}
}
}

//////////////////////////////////////////////////////////////////////////////////////////////
// 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.
//
// Then adjust the startup mapgroup in your autoexec.cfg file.
//
// Check the developer wiki for updated community info
// https://developer.valvesoftware.com/...icated_Servers
//////////////////////////////////////////////////////////////////////////////////////////////

"mapgroups"
{

"mg_armsrace"
{
"imagename" "mapgroup-armsrace"
"nameID" "#SFUI_Mapgroup_armsrace"
"name" "mg_armsrace"
"maps"
{
"aim_roccat" ""
"bunker_classic" ""
"glass_war_2" ""
"ar_ag_texture2" ""
"ar_monastery" ""
"ar_combat-arena" ""
"aim_headshot_2k14" ""
"aim_deagle7k" ""
"ar_chess" ""
"ar_shoots" ""
"de_killhouse_csgo_v4" ""
"ar_warehouse" ""
"ar_cinema" ""
"cs_traininggrounds_v3" ""
"ar_waterland" ""
"aim_storage_container" ""
"ar_baggage" ""
"ar_waterland" ""
}
}

"mg_demolition"
{
"imagename" "mapgroup-demolition"
"nameID" "#SFUI_Mapgroup_demolition"
"name" "mg_demolition"
"maps"
{
"de_lake" ""
"de_stmarc" ""
"de_westwood" ""
"de_sugarcane" ""
"de_toscan" ""
"de_bank" ""
"de_prodigy" ""
"de_safehouse" ""
"de_coldwater" ""
"de_shorttrain" ""
}
}


"mg_hostage"
{
"imagename""mapgroup-hostage"
"nameID" #SFUI_Mapgroup_hostage"
"name" "mg_hostage"
"maps"
{
"cs_militia" ""
"cs_assault" ""
"cs_agency" ""
"cs_crackhouse_remake" ""
"cs_rush" ""
"cs_office" ""
"cs_thunder" ""
"cs_italy" ""
"cs_valley" ""
}
}


//{
"mg_custom" // mapgroup definition
{
"name" "mg_custom"
"maps"
{
"de_dust_se" ""
"de_dust2_se" ""
"de_nuke_se" ""
"de_train_se" ""
"de_inferno_se" ""
"de_aztec_se" ""
}
}
}
}
Wrangler
A regular
A regular
Posts: 56
Joined: Thu Dec 12, 2013 10:16 pm

Re: Please provide a generic template

Post by Wrangler »

Please note the spelling error (cimpetitive) has been adjusted and the problem still exists.
Wrangler
A regular
A regular
Posts: 56
Joined: Thu Dec 12, 2013 10:16 pm

per request: My gamemodes_server.txt

Post by Wrangler »

When this runs in Armsrace I only receive the following voting options at the end of the match: Monastery, Shoots and Baggage. It should be mention that the very same limitation occurs if I choose mg_hostage except that the few map vote choices are different.

Here is my gamemodes_server.txt

// Values here override the default gamemodes.txt

"GameModes_Server.txt"
{
"gameTypes"
{
"classic"
{
"gameModes"
{
"competitive"
{

"mapgroupsMP" // List of mapgroups valid for this game mode
{
"mg_custom" ""
}

}
}
}
}

//////////////////////////////////////////////////////////////////////////////////////////////
// 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.
//
// Then adjust the startup mapgroup in your autoexec.cfg file.
//
// Check the developer wiki for updated community info
// https://developer.valvesoftware.com/...icated_Servers
//////////////////////////////////////////////////////////////////////////////////////////////

"mapgroups"
{

"mg_armsrace"
{
"imagename" "mapgroup-armsrace"
"nameID" "#SFUI_Mapgroup_armsrace"
"name" "mg_armsrace"
"maps"
{
"aim_roccat" ""
"bunker_classic" ""
"glass_war_2" ""
"ar_ag_texture2" ""
"ar_monastery" ""
"ar_combat-arena" ""
"aim_headshot_2k14" ""
"aim_deagle7k" ""
"ar_chess" ""
"ar_shoots" ""
"de_killhouse_csgo_v4" ""
"ar_warehouse" ""
"ar_cinema" ""
"cs_traininggrounds_v3" ""
"ar_waterland" ""
"aim_storage_container" ""
"ar_baggage" ""
"ar_waterland" ""
}
}

"mg_demolition"
{
"imagename" "mapgroup-demolition"
"nameID" "#SFUI_Mapgroup_demolition"
"name" "mg_demolition"
"maps"
{
"de_lake" ""
"de_stmarc" ""
"de_westwood" ""
"de_sugarcane" ""
"de_toscan" ""
"de_bank" ""
"de_prodigy" ""
"de_safehouse" ""
"de_coldwater" ""
"de_shorttrain" ""
}
}


"mg_hostage"
{
"imagename""mapgroup-hostage"
"nameID" #SFUI_Mapgroup_hostage"
"name" "mg_hostage"
"maps"
{
"cs_militia" ""
"cs_assault" ""
"cs_agency" ""
"cs_crackhouse_remake" ""
"cs_rush" ""
"cs_office" ""
"cs_thunder" ""
"cs_italy" ""
"cs_valley" ""
}
}


//{
"mg_custom" // mapgroup definition
{
"name" "mg_custom"
"maps"
{
"de_dust_se" ""
"de_dust2_se" ""
"de_nuke_se" ""
"de_train_se" ""
"de_inferno_se" ""
"de_aztec_se" ""
}
}
}
}
$atanic $pirit
This is my homepage
This is my homepage
Posts: 251
Joined: Tue Jan 28, 2014 5:32 am

Re: Please provide a generic template

Post by $atanic $pirit »

Try this

Code: Select all

// Values here override the default gamemodes.txt

"GameModes_Server.txt"
{
"gameTypes"
{
"gungame"
{
"gameModes"
{
"gungameprogressive"
{

"mapgroupsMP" // List of mapgroups valid for this game mode
{
"mg_custom" ""
}

}
}
}
}

//////////////////////////////////////////////////////////////////////////////////////////////
// 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.
//
// Then adjust the startup mapgroup in your autoexec.cfg file.
//
// Check the developer wiki for updated community info
// https://developer.valvesoftware.com/...icated_Servers
//////////////////////////////////////////////////////////////////////////////////////////////

"mapgroups"
{

"mg_armsrace"
{
"imagename" "mapgroup-armsrace"
"nameID" "#SFUI_Mapgroup_armsrace"
"name" "mg_armsrace"
"maps"
{
"aim_roccat" ""
"bunker_classic" ""
"glass_war_2" ""
"ar_ag_texture2" ""
"ar_monastery" ""
"ar_combat-arena" ""
"aim_headshot_2k14" ""
"aim_deagle7k" ""
"ar_chess" ""
"ar_shoots" ""
"de_killhouse_csgo_v4" ""
"ar_warehouse" ""
"ar_cinema" ""
"cs_traininggrounds_v3" ""
"ar_waterland" ""
"aim_storage_container" ""
"ar_baggage" ""
"ar_waterland" ""
}
}

"mg_demolition"
{
"imagename" "mapgroup-demolition"
"nameID" "#SFUI_Mapgroup_demolition"
"name" "mg_demolition"
"maps"
{
"de_lake" ""
"de_stmarc" ""
"de_westwood" ""
"de_sugarcane" ""
"de_toscan" ""
"de_bank" ""
"de_prodigy" ""
"de_safehouse" ""
"de_coldwater" ""
"de_shorttrain" ""
}
}


"mg_hostage"
{
"imagename""mapgroup-hostage"
"nameID" #SFUI_Mapgroup_hostage"
"name" "mg_hostage"
"maps"
{
"cs_militia" ""
"cs_assault" ""
"cs_agency" ""
"cs_crackhouse_remake" ""
"cs_rush" ""
"cs_office" ""
"cs_thunder" ""
"cs_italy" ""
"cs_valley" ""
}
}


//{
"mg_custom" // mapgroup definition
{
"name" "mg_custom"
"maps"
{
"de_dust_se" ""
"de_dust2_se" ""
"de_nuke_se" ""
"de_train_se" ""
"de_inferno_se" ""
"de_aztec_se" ""
}
}
}
}
Image
Wrangler
A regular
A regular
Posts: 56
Joined: Thu Dec 12, 2013 10:16 pm

Re: Please provide a generic template

Post by Wrangler »

I'll give that a shot and let you know in 10 minutes or so. What did you see that I did wrong?
Wrangler
A regular
A regular
Posts: 56
Joined: Thu Dec 12, 2013 10:16 pm

Re: Please provide a generic template

Post by Wrangler »

No, the change made no difference. It still presents the same three maps to vote on at the end of the round. Thanks for trying though.
$atanic $pirit
This is my homepage
This is my homepage
Posts: 251
Joined: Tue Jan 28, 2014 5:32 am

Re: Please provide a generic template

Post by $atanic $pirit »

Change was

Gametype = gungame
Gamemode = gungameprogressive
Image
Wrangler
A regular
A regular
Posts: 56
Joined: Thu Dec 12, 2013 10:16 pm

Re: Please provide a generic template

Post by Wrangler »

I'm seriously growing weary of CS:GO. I never had such trouble with so many simple items with 1.6 or Source. The lack of game support from the vendor is pathetic, hardly indicative of their proficiency with 1.6 or Source - with those you could almost do anything with a little bit of work.

My CS:GO days are numbered.

Thank you all for trying to help.
Post Reply