home *** CD-ROM | disk | FTP | other *** search
/ GEGA 010 / GEGA010.iso / Mods / Half-Life2 / jbmodv03 / jbmod / gameinfo.txt < prev    next >
Text File  |  2004-12-01  |  1KB  |  33 lines

  1. "GameInfo"
  2. {
  3.     FileSystem
  4.     {
  5.         SteamAppId                220        // This will mount all the GCFs we need (240=CS:S, 220=HL2).
  6.         ToolsAppId                211        // Tools will load this (ie: source SDK caches) to get things like materials\debug, materials\editor, etc.
  7.         
  8.         //
  9.         // The code that loads this file automatically does a few things here:
  10.         //
  11.         // 1. For each "Game" search path, it adds a "GameBin" path, in <dir>\bin
  12.         // 2. For each "Game" search path, it adds another "Game" path in front of it with _<langage> at the end.
  13.         //    For example: c:\hl2\cstrike on a french machine would get a c:\hl2\cstrike_french path added to it.
  14.         // 3. For the first "Game" search path, it adds a search path called "MOD".
  15.         // 4. For the first "Game" search path, it adds a search path called "DEFAULT_WRITE_PATH".
  16.         //
  17.  
  18.         //
  19.         // Search paths are relative to the base directory, which is where hl2.exe is found.
  20.         //
  21.         // |gameinfo_path| points at the directory where gameinfo.txt is.
  22.         // We always want to mount that directory relative to gameinfo.txt, so
  23.         // people can mount stuff in c:\mymod, and the main game resources are in
  24.         // someplace like c:\program files\valve\steam\steamapps\<username>\half-life 2.
  25.         //
  26.         SearchPaths
  27.         {
  28.             Game                |gameinfo_path|.
  29.             Game                hl2
  30.         }
  31.     }
  32. }
  33.