Configuring Hammer for Empires

From Empires Wiki
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 a new SDK update you no longer need to use the -engine ep1 launch option, instead, start SDK and make sure Half-Life 2: Episode One is selected, then Half-life 2 below it, then start Half-Life 2 and follow the instructions below
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.