Configuring Hammer for Empires

From Empires Wiki
Revision as of 03:36, 14 April 2008 by Administrator (talk | contribs)
Jump to navigation Jump to search

Home > Configuring Hammer for Empires


Note
Before you do anything, make sure you have installed Hammer Editor, available through Steam under the Tools section.
Note
You also need to run hl2 deathmatch at least once for the game executable to be set up.
Note
As of the release of the Orange Box update to Hammer, you will need to right click on the Source SDK, click Properties, and select Set Launch Options. Here you will need too add "-engine ep1" without quotes.
To get to the Hammer configuration window...

Start by opening Hammer Editor through the Source SDK link in your Tools section in the Steam client. Once hammer is open go to 'tools' at the top, then click 'options' which brings up the hammer configuration window required for this tutorial. Follow the directions below.

Game Configuration Tab

Game configuration tab

Add following .fgd files into your fgd list:

  • Base.fgd
  • Halflife2.fgd
  • Empires.fgd (located at $SteamDir\SteamApps\SourceMods\Empires\mapsrc\fgd\empires.fgd)

The Game executable Directory should be set to:

$SteamUserDir\half-life 2 deathmatch\hl2

The game directory should be set to:

$SteamDir\SteamApps\SourceMods\Empires

The hammer vmf directory should be set to:

$SteamDir\SteamApps\SourceMods\Empires\mapsrc

All relative to where you installed empires, meaning that if you configured your folders to be called somthing else then you need to specify the paths according to that

Build Programs

Build programs tab

Game executable:

$SteamUserDir\half-life 2 deathmatch\hl2.exe

BSP executable:

$SteamUserDir\sourcesdk\bin\ep1\bin\vbsp.exe

VIS executable:

$SteamUserDir\sourcesdk\bin\ep1\bin\vvis.exe

RAD executable:

$SteamUserDir\sourcesdk\bin\ep1\bin\vrad.exe

Place compiled maps in this directory before running the game:

$SteamDir\SteamApps\SourceMods\Empires\maps

And that should be it, now all you have to do is exit hammer and restart the SDK.