11-25-2013, 05:06 PM
Hello guys,
The title says it all. Here's my GameModes_server.txt:
But it's still following gamemode.txt. Is there another file I would need to edit to tell SRCDS to use GameModes_server.txt?
Thanks!
The title says it all. Here's my GameModes_server.txt:
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"
{
"maxplayers" "20"
"convars"
{
"mp_startmoney" "0"
}
"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 launch the server with '+mapgroup MAPGROUPNAME'
//
// Example:
//
// srcds -game csgo +game_mode 1 +mapgroup mg_bomb_se +map de_nuke_se
//
//
// Check the developer wiki for updated community info
// https://developer.valvesoftware.com/wiki/Counter-Strike:_Global_Offensive_Dedicated_Servers
//////////////////////////////////////////////////////////////////////////////////////////////
"mapgroups"
{
"mg_custom" // mapgroup definition
{
"name" "mg_custom"
"maps"
{
"aim_map" ""
}
}
}
}
Thanks!