Configuring Hammer for Empires

From Empires Wiki
Revision as of 18:54, 31 December 2008 by Mloc (talk | contribs) (Updated for 2.2)
Jump to navigation Jump to search

Home > Configuring Hammer for Empires


Note
Before you do anything, make sure you have installed Source SDK, available through Steam under the Tools section.
Note
You may need to run Source SDK Base - Orange Box at least once for the game executable to be set up.
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\source sdk base 2007

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\source sdk base 2007\hl2.exe

BSP executable:

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

VIS executable:

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

RAD executable:

$SteamUserDir\sourcesdk\bin\orangebox\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.