Sei sulla pagina 1di 1

"gameinfo"

{
game "half-life 2 dm"
title "half+life'"
title2 "deathmatch"
type multiplayer_only
nomodels 0
nohimodel 1
nocrosshair 1
hidden_maps
{
"test_speakers" 1
"test_hardware" 1
}

filesystem
{
steamappid 320 // 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\half-life 2.
//
searchpaths
{
game |gameinfo_path|.
game hl2mp
game hl2
}
}
}

Potrebbero piacerti anche