Compiling Leak maps with Retail Hammer

From Valve Cut Content
Revision as of 00:08, 27 July 2017 by oldwiki>Livelong2 (lets use advanced editor)
Jump to: navigation, search

Mapping for the leak is a very challenging task to setup, and the resources for making the leak hammer function are often hard to follow. What's an alternative to using the leak's hammer? Making the retail hammer run the leak's compilers.

Requirements

  • You should have a Valve game that has the retail hammer installed beforehand. The Source SDK's tends to not work right, and I cannot advocate for it functioning at all.
  • You should have the leak unpacked on your hard drive somewhere.
  • You should at least a basic understanding of hammer.
  • You should have the latest revision (or the revision I used, present in the files' Misc folder) of LeakNet installed. (It technically isn't necessary, but I can't guarantee it will work correctly without it)

Part 1 - File Moving

Before we do anything else, we should make sure that all of the files are in the right places. Go to here, and go to the "Part1" subfolder.

  • Move "lights.rad" to anon-hl2/bin/.
  • Move "gameinfo.txt" to anon-hl2/hl2/.

Part 2 - Gameinfo setup

Method 1 - Within Hammer

After opening Hammer, go to Tools > Options. A window named "Configure Hammer" should open.

Go to the first "Edit" button on the side of the window.

Method 2 - Outside Hammer

Within your hammer's folder (or the main bin folder of the game you are using hammer from), there is a text document named gameinfo.txt.

Open this.