Hammer Build Programs

From Valve Developer Community
Revision as of 02:48, 2 July 2005 by JeffLane (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The Build Programs tab lets you specify all the executables for each game configuration to compile maps. These directories are used when running the Run Map command.

Options Build Programs.png

Warning If you plan to do your compiling from within Hammer, it is important that these settings are correct. You may not be able to perform a compile of the map if this information is incorrect.

Configuration:

Allows you to pick one of the preset game configuration profiles (Half-Life 2, Counter-Strike: Source, etc.), or custom profiles you've created, for which you wish to edit the properties. Game configurations are created in the Game Configurations tab. The information in the Build Programs tab reflects the currently selected configuration profile.

The Build Programs options allow you to setup configuration specific compile programs.

  • Game executable - This should be the Half-Life 2 executable file (hl2.exe). Simply browse to your Half-Life 2 folder, select hl2.exe, and press the Open button. The value entered here links to the $game_exe variable in the [Run_Map_Expert.html Advanced Compile] mode.
  • BSP executable - As above, for the BSP program. The value entered here links to the $bsp_exe variable in the Expert Compile mode.
  • VIS executable - As above, for the VIS program. The value entered here links to the $vis_exe variable in the Expert Compile mode.
  • RAD executable - As above, for the RAD (lighting) program. The value entered here links to the $light_exe variable in the Expert Compile mode.

Place compiled maps in this directory before running the game:

This is the directory Hammer will copy the compiled map to once the it is complete. This is also sometimes called the .BSP directory. You can either type a the directory path, or use the Browse button to interactively select the directory. The value entered here links to the $bspdir variable in the Expert Compile mode. In the normal compile mode, this indicates where the compiled map will be placed.