Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- "GameInfo"
- {
- // Anything with double slashes are left out from the game.
- // So these headers/comments don't appear anywhere other then here.
- // Whenever you see <GAME NAME> or <folder> replace them with whats needed.
- // Essentially all slashes are edited by me, Connor "Nehpys" Hess.
- // http://www.steamcommunity.com/id/Nehpys
- // --=[GAME/NAME RELATED]=--
- game ""
- //title "" - Title and Title2 dictate whether plain text (that can be modified by the font)
- //title2 "" - should be shown on the main menu. Here, I disabled it so I can use "GameLogo".
- type "" // - singleplayer_only/multiplayer_only. Supposed to "Omit" this for both types. I don't know what that means in this context.
- developer ""
- developer_url ""
- manual ""
- icon ""
- gamelogo # // - Dictates whether you wanna use an image instead of plan text for the main menu.
- // --=[OPTIONS RELATED]=--
- SupportsXbox360 # // - How this works or how it's dictated, I've no clue.
- hasportals #
- nomodels #
- nohimodel #
- nocrosshair #
- // --=[ENGINE RELATED]=--
- GameData "../<folder>"
- InstancePath "<folder>/mapsrc/"
- SupportDX8 #
- nodegraph #
- hidden_maps
- // Place any map files the player isn't supposed to access here.
- {
- }
- FileSystem
- {
- //SteamAppID # // This is for if the game/mod gets on Steam. Mod wise, this is used for mounting content.
- //ToolsAppID # // Double-Ditto.
- //AdditionalContentId # //Triple-Ditto, but only for mods.
- // 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 (x86)\Steam\steamapps\common\Half-Life 2
- SearchPaths
- {
- //--------------------------------------------------------------------------------------
- // First, mount all user customizations. This will search for .VPKs and subfolders
- // and mount them in alphabetical order. The easiest way to distribute a mod is to
- // pack up the custom content into a .VPK. To "install" a mod, just drop it in this
- // folder.
- // Note that this folder is scanned only when the game is booted.
- //--------------------------------------------------------------------------------------
- game+mod <folder>/custom/*
- //--------------------------------------------------------------------------------------
- // We search .vpk files before ordinary folders, because official files will be found in the
- // VPK's, and we can avoid making thousands of file system calls to attempt to open files
- // in folders where they don't exist. (Searching a VPK is much faster than making an operating system call.)
- //--------------------------------------------------------------------------------------
- // <MOD NAME> .vpk Files.
- game+mod <folder>/vpk.vpk
- game+mod <folder>/vpk.vpk
- game+mod <folder>/vpk.vpk
- // Mounting Half-Life 2 ~ Normal .vpk Files.
- game |all_source_engine_paths|hl2/hl2_misc.vpk
- game |all_source_engine_paths|hl2/hl2_sounds_misc.vpk
- game |all_source_engine_paths|hl2/hl2_textures.vpk
- game |all_source_engine_paths|hl2/hl2_materials.vpk
- game |all_source_engine_paths|hl2/hl2_models.vpk
- // Mounting Half-Life 2 ~ Platform .vpk Files.
- platform |all_source_engine_paths|platform/platform_misc.vpk
- // Setting the directory containing the gameinfo.txt/gameinfo.gi file as the first "Mod" path.
- mod+mod_write+default_write_path |gameinfo_path|.
- // Adding the <GAME NAME> directory as a search path. This is where the game writes the "game path" to.
- game+game_write <folder>
- // Adding the Half-Life 2 directory as a search path. This is where the game writes the "game path" to.
- game+game_write hl2
- // Clarifying where the game's binaries are.
- gamebin <folder>/bin
- // Mounting Half-Life 2 ~ All Shared loose Files.
- game |all_source_engine_paths|hl2
- platform |all_source_engine_paths|platform
- //--------------------------------------------------------------------------------------
- // Random files downloaded from game servers go into a separate directory, so
- // that it's easy to keep those files segregated from the official game files
- // or customizations intentionally installed by the user.
- //
- // This directory is searched LAST. If you visit a server and download
- // a custom model, etc, we don't want that file to override the default
- // game file indefinitely (after you have left the server). Servers CAN have
- // custom content that overrides the default game files, it just needs to be
- // packed up in the .bsp file so that it will be mounted as a map search pack.
- // The map search pack is mounted at the top of the search path list,
- // but only while you are connected that server and on that map.
- //Used for Multiplayer only. Remove slashes to use.
- //--------------------------------------------------------------------------------------
- //game+download <folder>/download
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement