Unknown command "meta"(Left 4 dead 2)

Обсуждаем все, что относится к выделенным серверам *NIX (Unix, Linux) и Windows
Ответить
Сообщение
Автор
Аватара пользователя
Mentat
Нович0к
Нович0к
Сообщения: 23
Зарегистрирован: 08.11.2009

#1 Сообщение 12.02.2011, 19:48

Так, все по порядку:
gameinfo.txt - http://rghost.ru/4317357
metamod.vdf - http://rghost.ru/4317370
Метамод и сорсмод загрузил в папку addons.
И все равно эта ошибка!
Что я упустил? Где недочет? ХЕЛП!
Сижу психую!

Гейминфо:
"GameInfo"
{
game "Left 4 Dead 2" // Window title
type multiplayer_only
nomodels 1
nohimodel 1
l4dcrosshair 1
hidden_maps
{
"test_speakers" 1
"test_hardware" 1
}
nodegraph 0
perfwizard 0
SupportsXbox360 1
SupportsDX8 0
GameData "left4dead2.fgd"

FileSystem
{
SteamAppId 550 // This will mount all the GCFs we need (240=CS:S, 220=HL2).
ToolsAppId 211 // Tools will load this (ie: source SDK caches) to get things like materials\debug, materials\editor, etc.

//
// The code that loads this file automatically does a few things here:
//
// 1. For each "Game" search path, it adds a "GameBin" path, in <dir>\bin
// 2. For each "Game" search path, it adds another "Game" path in front of it with _<langage> at the end.
// For example: c:\hl2\cstrike on a french machine would get a c:\hl2\cstrike_french path added to it.
// 3. For the first "Game" search path, it adds a search path called "MOD".
// 4. For the first "Game" search path, it adds a search path called "DEFAULT_WRITE_PATH".
//

//
// Search paths are relative to the base directory, which is where hl2.exe is found.
//
// |gameinfo_path| points at the directory where gameinfo.txt is.
// We always want to mount that directory relative to gameinfo.txt, so
// people can mount stuff in c:\mymod, and the main game resources are in
// someplace like c:\program files\valve\steam\steamapps\<username>\half-life 2.
//
SearchPaths
{
GameBin |gameinfo_path|addons/metamod/bin
Game |gameinfo_path|.
Game left4dead2
Game left4dead
Game hl2
}
}
}
Метамод.вдф:
"Plugin"
{
"file" "|gameinfo_path|addons/metamod/bin/server"
}
Последний раз редактировалось Mentat 12.02.2011, 19:51, всего редактировалось 1 раз.

Аватара пользователя
igoRRRek
Нович0к
Нович0к
Сообщения: 20
Зарегистрирован: 19.11.2009

#2 Сообщение 16.02.2011, 13:09

ошибка означает что метамод не загрузился.
загрузка через gameinfo.txt уже не работает
поэтому используй metamod.vdf (должен лежать в папке /addons/)
metamod.vdf:

Код: Выделить всё

"Plugin"
{
	"file"	"addons/metamod/bin/server"
}


если не сработает напиши полный путь
например

"file" "c:/server/orangebox/left4dead/left4dead/addons/metamod/bin/server"

а конструкция |gameinfo_path| в metamod.vdf не работает
Последний раз редактировалось igoRRRek 16.02.2011, 13:10, всего редактировалось 1 раз.

Ответить