Configuring Hammer for Empires: Difference between revisions

From Empires Wiki
Jump to navigation Jump to search
(Updated for 2.2)
m (you don't need to add base fgd, it's included with the fgd, so is hl2 fgd, though it shouln't be done, those entities don't work)
Line 9: Line 9:
[[Image:Hammer1.png|thumb|right| Game configuration tab]]
[[Image:Hammer1.png|thumb|right| Game configuration tab]]


'''Add following .fgd files into your fgd list:'''
'''Add following .fgd file into your fgd list:'''
* Base.fgd
* Halflife2.fgd
* Empires.fgd (located at $SteamDir\SteamApps\SourceMods\Empires\mapsrc\fgd\empires.fgd)
* Empires.fgd (located at $SteamDir\SteamApps\SourceMods\Empires\mapsrc\fgd\empires.fgd)



Revision as of 22:36, 4 January 2009

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 file into your fgd list:

  • 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.