Zdravim, pridal jsem na server mapu surf_year3000, a když se chcu připojit, tak mi to píše toto:
Konzole:
Kód: Vybrat vše
ApplyGameSettings: Map surf_year3000 not part of Mapgroup
ApplyGameSettings: MapGroup not part of type classic mode casual
Executing server command:
nextlevel surf_year3000
map surf_year3000 reserved
Mapu jsem do gamemodes_server.txt přidal, ale možná špatně, nevím
Gamemodes_server.txt:
Kód: Vybrat vše
// To use this file, rename it to GameModes_Server.txt
//
// Values here override the default gamemodes.txt
"GameModes_Server.txt"
{
"gameTypes"
{
"classic"
{
"gameModes"
{
"competitive"
{
"maxplayers" "12" // Note that maxplayers doesn't go in the convar block.
// Another way to set maxplayers is to add -maxplayers_override XX to thecmd line.
"exec"
{
"exec" "server.cfg"
}
"mapgroupsMP" // List of mapgroups valid for this game mode ( competitive )
{
"fakaheda_custom" ""
}
}
"casual"
{
"maxplayers" "32"
"exec"
{
"exec" "server.cfg"
}
"mapgroupsMP" // List of mapgroups valid for this game mode ( casual )
{
"fakaheda_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"
{
"fakaheda_custom" // mapgroup definition
{
"name" "fakaheda_custom"
"maps"
{
"de_dust" ""
"de_dust2" ""
"de_nuke" ""
"de_train" ""
"de_inferno" ""
"de_aztec" ""
"surf_year3000" ""
}
}
}
}