Не работает группа карт

Тема в разделе "Counter-Strike: Global Offensive", создана пользователем BatyaMedic, 8 янв 2015.

  1. BatyaMedic

    BatyaMedic

    Сообщения:
    769
    Симпатии:
    123
    gamemodes_server.txt
    Код:
    // To use this file, rename it to GameModes_Server.txt
    //
    // Values here override the default gamemodes.txt 
    
    "GameModes_Server.txt"{"gameTypes"{"classic"{"gameModes"{
    
    /////////////////////////////////////////
    // COMPETITIVE
    /////////////////////////////////////////
    "competitive"{
    
    		
    		"maxplayers"		"11"			// Note that maxplayers doesn't go in the convar block.
    											// Another way to set maxplayers is to add -maxplayers_override XX to the cmd line.
    		"exec"
    		{
    											// Any config files listed here will be executed after the ones in gamemodes.txt.
    			
    			"exec"					"server_last.cfg" 
    		}
    
    		"mapgroupsMP"						// List of mapgroups valid for this game mode ( competitive )
    		{
    			"mg_aim"		""
    		}
    
    
    }
    /////////////////////////////////////////
    // CASUAL
    /////////////////////////////////////////
    "casual"{
    
    
    
    		"maxplayers"		"30"
    
    		"exec"
    		{
    			"exec"					"server_last.cfg"
    		}
    
    		"mapgroupsMP"						// List of mapgroups valid for this game mode ( casual )
    		{
    			"mg_aim"		""
    		}
    
    
    
    }}}"gungame"{"gameModes"{
    
    /////////////////////////////////////////
    // ARMS RACE
    /////////////////////////////////////////
    "gungameprogressive"{
    
    
    
    		"maxplayers"			"10"
    
    		// These are the configs that get executed when a game mode of this type is created
    		"exec"
    		{
    			"exec"					"server_last.cfg"
    		}
    					
    		"mapgroupsMP"
    		{
    			"mg_aim"	""
    		}
    
    		"weaponprogression_ct"
    		{
    			"deagle"		{ "kills"	"5" }
    			"awp"			{ "kills"	"5" }
    			"knifegg"		{ "kills"	"1" }
    		}
    					
    		"weaponprogression_t"
    		{
    			"deagle"		{ "kills"	"5" }
    			"awp"			{ "kills"	"5" }
    			"knifegg"		{ "kills"	"1" }
    		}
    
    
    
    /////////////////////////////////////////
    // DEMOLITION
    /////////////////////////////////////////
    "gungametrbomb"
    {
    
    
    		"maxplayers"			"10"
    
    		// These are the configs that get executed when a game mode of this type is created
    		"exec"
    		{
    			"exec"					"server_last.cfg"
    		}
    
    		"mapgroupsMP"
    		{
    			"mg_aim"		""
    		}
    
    		"weaponprogression_ct"
    		{
    			"m4a1"			{ "kills"	"1" }
    			"awp"			{ "kills"	"1" }
    			"Scar20"		{ "kills"	"1" }
    		}
    			
    		"weaponprogression_t"
    		{
    			"ak47"			{ "kills"	"1" }
    			"awp"			{ "kills"	"1" }
    			"g3sg1"			{ "kills"	"1" }
    		}
    
    
    }}}}
    
    //////////////////////////////////////////////////////////////////////////////////////////////
    // 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_aim"									// mapgroup definition
    		{
    			"name"			"mg_aim"
    			"maps"
    			"imagename"  "mapgroup-custom1"
                "nameID"  "#SFUI_Mapgroup_mg_aim"
    			{
    				"aim_multi"		""
    				"aim_cookie"		""
    				"am_nuke"		""
    				"aim_beach"		""
    				"am_travesty"		""
    				"am_dust2_cat"		""
    				"am_ramps"		""
    				"am_gurubashi"		""
    				"am_cubes"		""
    				"am_market"		""
    				"am_vpp"		""
    				"am_basement"		""
    				"ar_quickdraw"		""
    				"am_cortyard"		""
    				"am_aztec2"		""
    				"am_grass2"		""
    				"am_warehouse2"		""
    				"am_texture2"		""
    				"am_must2"		""
    				"am_plain2"		""
    			}
    		}
    	}
    }
    
    gamemodes.txt стандартный.
    Не может найти группу mg_aim
     
  2. Tallanvor

    Tallanvor Красноглазый

    Сообщения:
    1.107
    Симпатии:
    317
    Конечно, не найдёт. Где у тебя прописан параметр "maps", а где сами карты?
     
  3. BatyaMedic

    BatyaMedic

    Сообщения:
    769
    Симпатии:
    123
    Теперь так.
    Код:
    "mapgroups"
    	{
    		"mg_aim"									// mapgroup definition
    		{
    			"name"			"mg_aim"
    			"imagename"  "mapgroup-custom1"
                "nameID"  "#SFUI_Mapgroup_mg_aim"
    			"maps"
    			{
    				"aim_multi"		""
    				"aim_cookie"		""
    				"am_nuke"		""
    				"aim_beach"		""
    				"am_travesty"		""
    				"am_dust2_cat"		""
    				"am_ramps"		""
    				"am_gurubashi"		""
    				"am_cubes"		""
    				"am_market"		""
    				"am_vpp"		""
    				"am_basement"		""
    				"ar_quickdraw"		""
    				"am_cortyard"		""
    				"am_aztec2"		""
    				"am_grass2"		""
    				"am_warehouse2"		""
    				"am_texture2"		""
    				"am_must2"		""
    				"am_plain2"		""
    			}
    		}
    	}
    }
    
    Всё равно не находит.
     
  4. Tallanvor

    Tallanvor Красноглазый

    Сообщения:
    1.107
    Симпатии:
    317
    Geck0, группу прописываешь в параметрах запуска, или в конфиге?
     
  5. BatyaMedic

    BatyaMedic

    Сообщения:
    769
    Симпатии:
    123
    И там,и там.
     
  6. Tallanvor

    Tallanvor Красноглазый

    Сообщения:
    1.107
    Симпатии:
    317
    А это всё счастье обязательно? Мешать не может?
     
  7. BatyaMedic

    BatyaMedic

    Сообщения:
    769
    Симпатии:
    123
    Убрал,эффекта 0.
     
  8. Tallanvor

    Tallanvor Красноглазый

    Сообщения:
    1.107
    Симпатии:
    317
    Оффтоп

    Добавлено через 57 минут
    Geck0, держи, замени вместо своего текущего - ты одну скобку проворонил, впредь четко табуляцию соблюдай :)

    Код:
    // To use this file, rename it to GameModes_Server.txt
    //
    // Values here override the default gamemodes.txt 
    
    "GameModes_Server.txt"
    {
    	"gameTypes"
    	{
    		"classic"
    		{
    			"gameModes"
    			{
    
    				/////////////////////////////////////////
    				// COMPETITIVE
    				/////////////////////////////////////////
    				"competitive"
    				{
    					
    					"maxplayers"		"11"			// Note that maxplayers doesn't go in the convar block.
    														// Another way to set maxplayers is to add -maxplayers_override XX to the cmd line.
    					"exec"
    					{
    														// Any config files listed here will be executed after the ones in gamemodes.txt.
    						
    						"exec"					"server_last.cfg" 
    					}
    
    					"mapgroupsMP"						// List of mapgroups valid for this game mode ( competitive )
    					{
    						"mg_aim"		""
    					}
    
    				
    				}
    				/////////////////////////////////////////
    				// CASUAL
    				/////////////////////////////////////////
    				"casual"
    				{
    
    
    
    						"maxplayers"		"30"
    
    						"exec"
    						{
    							"exec"					"server_last.cfg"
    						}
    
    						"mapgroupsMP"						// List of mapgroups valid for this game mode ( casual )
    						{
    							"mg_aim"		""
    						}
    
    
    
    				}
    			}
    		}
    		"gungame"
    		{
    			"gameModes"
    			{
    
    				/////////////////////////////////////////
    				// ARMS RACE
    				/////////////////////////////////////////
    				"gungameprogressive"
    				{
    
    
    
    					"maxplayers"			"10"
    
    					// These are the configs that get executed when a game mode of this type is created
    					"exec"
    					{
    							"exec"					"server_last.cfg"
    					}
    								
    					"mapgroupsMP"
    					{
    						"mg_aim"	""
    					}
    
    					"weaponprogression_ct"
    					{
    						"deagle"		{ "kills"	"5" }
    						"awp"			{ "kills"	"5" }
    						"knifegg"		{ "kills"	"1" }
    					}
    								
    					"weaponprogression_t"
    					{
    						"deagle"		{ "kills"	"5" }
    						"awp"			{ "kills"	"5" }
    						"knifegg"		{ "kills"	"1" }
    					}
    
    
    				}
    				/////////////////////////////////////////
    				// DEMOLITION
    				/////////////////////////////////////////
    				"gungametrbomb"
    				{
    
    
    					"maxplayers"			"10"
    
    					// These are the configs that get executed when a game mode of this type is created
    					"exec"
    					{
    						"exec"					"server_last.cfg"
    					}
    
    					"mapgroupsMP"
    					{
    						"mg_aim"		""
    					}
    
    					"weaponprogression_ct"
    					{
    						"m4a1"			{ "kills"	"1" }
    						"awp"			{ "kills"	"1" }
    						"Scar20"		{ "kills"	"1" }
    					}
    						
    					"weaponprogression_t"
    					{
    						"ak47"			{ "kills"	"1" }
    						"awp"			{ "kills"	"1" }
    						"g3sg1"			{ "kills"	"1" }
    					}
    
    
    				}
    			}
    		}
    	}
    
    //////////////////////////////////////////////////////////////////////////////////////////////
    // 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
    // [url]https://developer.valvesoftware.com/wiki/Counter-Strike:_Global_Offensive_Dedicated_Servers[/url]
    //////////////////////////////////////////////////////////////////////////////////////////////
    
    
    	"mapgroups"
    	{
    		"mg_aim"									// mapgroup definition
    		{
    			"name"			"mg_aim"
    			"maps"
    			"imagename"  "mapgroup-custom1"
                "nameID"  "#SFUI_Mapgroup_mg_aim"
    			{
    				"aim_multi"		""
    				"aim_cookie"		""
    				"am_nuke"		""
    				"aim_beach"		""
    				"am_travesty"		""
    				"am_dust2_cat"		""
    				"am_ramps"		""
    				"am_gurubashi"		""
    				"am_cubes"		""
    				"am_market"		""
    				"am_vpp"		""
    				"am_basement"		""
    				"ar_quickdraw"		""
    				"am_cortyard"		""
    				"am_aztec2"		""
    				"am_grass2"		""
    				"am_warehouse2"		""
    				"am_texture2"		""
    				"am_must2"		""
    				"am_plain2"		""
    			}
    		}
    	}
    }
     
    Последнее редактирование: 9 янв 2015
    BatyaMedic нравится это.
  9. BatyaMedic

    BatyaMedic

    Сообщения:
    769
    Симпатии:
    123
    Спасибо чувак,выручил:)
    Держи плюсик:beer: