VERC: The Advanced Compile Dialogue Last edited 7 months ago2019-04-21 12:43:19 UTC by Penguinboy Penguinboy

Today I spent 2 hours configuring my advanced compile options in Hammer. I had never really used the feature before, so I didn't know the extent of what it could do. The thing that got me interested in messing around with my compile options was this map backup utility posted here.

Interface

User posted image
  1. Configurations: This is where the preset and custom configurations are stored. Pushing edit allows you to Add/Copy/Delete/Rename these configurations.
  2. Commands: These are the commands that are executed during the compile, you can add, delete, move them up and down from here.
  3. Properties: These are the properties of the commands. The first box is the command, and the second is the parameters that come after it. The Use Long Filenames checkbox allows the compiler to use filenames longer then 6 characters (Program Files instead of PROGRA~1). Ensure File Post-Exists checks to make sure the listed file exists before continuing, if it doesn't then a dialog box comes up.
  4. Normal: Switches you back to normal compile mode.
  5. Go!/Cancel: Starts compiling or exits the compile menu.

Commands

Variables

Currently my compile program makes a backup of my map, runs through the normal BSP, CSG, VIS, and RAD process. Then continues to copy the BSP to the valve/maps directory. It moves the .log and .err files to their own directory, and deletes all of the annoying files that clutter up my hammer/maps folder. The advanced compile system is very powerful, and this is only the start of what you can do with it. Experiment and play around until you find a configuration that you like. It will greatly improve the quality of your maps and the amount of clutter in your maps folder.
This article was originally published on the Valve Editing Resource Collective (VERC).
TWHL only archives articles from defunct websites. For more information on TWHL's archiving efforts, please visit the TWHL Archiving Project page.

Comments

You must log in to post a comment. You can login or register a new account.