Sie sind auf Seite 1von 1

"GameInfo" { game "Portal" title "Portal" type singleplayer_only nodifficulty 1 hasportals 1 FileSystem { SteamAppId 400 // 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, mate rials\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 i n 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 ca lled "MOD". // 4. For the first "Game" search path, it adds a search path ca lled "DEFAULT_WRITE_PATH". // // // Search paths are relative to the base directory, which is whe re hl2.exe is found. // // |gameinfo_path| points at the directory where gameinfo.txt is . // We always want to mount that directory relative to gameinfo.t xt, so // people can mount stuff in c:\mymod, and the main game resourc es are in // someplace like c:\program files\valve\steam\steamapps\half-li fe 2. // SearchPaths { Game |gameinfo_path|. Game portal Game hl2 } } }

Das könnte Ihnen auch gefallen