that's used when writing to the "mod" path. as the first "mod" search path (after any user customizations). We'll set the directory containing the gameinfo.txt file Platform |all_source_engine_paths|platform/platform_misc.vpk Game |all_source_engine_paths|hl2/hl2_misc.vpk Game |all_source_engine_paths|hl2/hl2_sound_misc.vpk Game |all_source_engine_paths|hl2/hl2_textures.vpk (Searching a VPK is much faster than making an operating VPK and we can avoid making thousands of file system calls to attempt to open files We search VPK files before ordinary folders, because most files will be found in Note that this folder is scanned only when the game is booted. pack up the custom content into a VPK.
The easiest way to distribute a mod is to someplace like c:\program files\valve\steam\steamapps\half-life 2. people can mount stuff in c:\mymod, and the main game resources are in We always want to mount that directory relative to gameinfo.txt, so |gameinfo_path| points at the directory where gameinfo.txt is. Search paths are relative to the base directory, which is where hl2.exe is found. For the first "Game" search path, it adds a search path called "DEFAULT_WRITE_PATH". For the first "Game" search path, it adds a search path called "MOD". For example: c:\hl2\cstrike on a french machine would get a c:\hl2\cstrike_french path added to it. For each "Game" search path, it adds another "Game" path in front of it with _ at the end. For each "Game" search path, it adds a "GameBin" path, in \bin
The code that loads this file automatically does a few things here: SteamAppId 220 // This will mount all the GCFs we need (240=CS:S, 220=HL2).
(Optional) How to install Slammin’ Tools?
When hammer opens and fully initializes, close it.Navigate into bin folder and double click hammer.exe, small window should pop out, choose Half-Life 2.Right click on Source SDK 2013 Multiplayer and hover over Manage and then click Browse local files.YOU MUST RUN HAMMER FROM SOURCE SDK 2013 MULTIPLAYER NOW BEFORE CONTINUING (Steps below eplain how to do this).Click on INSTALL button then on NEXT and wait for it to download.