Gameinfo.txt/The Ship

From Valve Developer Community
Jump to: navigation, search

From: The Ship

gameinfo.txt
txt
"GameInfo" { game "The Ship" title "" title2 "" //type "multiplayer_only" type "singleplayer_only" //Multiplayer tab in the Options panel nocrosshair 1 //Hides the crosshair selection menu nohimodel 1 //Hides cvar toggles checkbox for cl_himodels //Only is displayed properly if cl_himodels is registered nomodels 1 //Hides the model selection menu in the //Multiplayer tab in the Options panel. developer "Outerlight" //Your team's name (or just yours!) developer_url "http://www.theshiponline.com/" //Your team's home page. Must start with http://. manual "http://www.theshiponline.com/play-guide.php/" //Address to manual //This address can be local. An installer can be //engineered to set this to the correct //directory on installation. icon "resource/game" //The icon must be an uncompressed TGA 16x16 pixels in size. //For transparency to work, the TGA must be saved in 32-bit //mode with an active alpha channel. //The path is relative to the mod's installation directory //(i.e where GameInfo.txt is) and should not include //the TGA file extension FileSystem { SteamAppId 2400 // This will mount all the GCFs we need (240=CS:S, 220=HL2). ToolsAppId 2400 // // 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 ship } } }