Configuring Hammer for Empires: Difference between revisions

From Empires Wiki
Jump to navigation Jump to search
m (Text replacement - "http://forums.empiresmod.com/forumdisplay.php?f=" to "http://forums.empiresmod.com/index.php?forums/")
No edit summary
 
Line 1: Line 1:
{{MappingDocumentation}}
{{MappingDocumentation}}
__TOC__
Hammer should work out of the box using the Hammer.bat file in the bin folder. Feel free to create a shortcut! Once launching, choose Empires 2013 from the list, and voila! Hammer for Empires should launch. If you encounter problems, do not hesitant to post on the [http://forums.empiresmod.com/index.php?forums/8 Mapping forum] to seek help.
==Hammer Setup==
To specifically use Hammer for '''Empires only''', follow these instructions:
Provided you've installed the latest version of Empires, open the following file:
 
:''Steam\SteamApps\common\Empires\bin\GameConfig.txt''
 
This file stores the Hammer configurations for Empires for Source 2013. In order to use Hammer to create and edit maps for a given game or mod on a particular version of the engine, that game or mod must have an entry within the appropriate game configuration text file.
 
You may already see some entries in the file for:
*Half-Life 2: Episode Two
*Team Fortress 2
*Portal
*Day of Defeat: Source
 
Take note of how these entries are made. Each one has a game title in quotation marks, and beneath it there are sets of braces nested within each other. These braces are important delimiters that must exist in the proper places for the Source SDK launcher to be able to read the entries.
 
The configuration file has the following format:
 
<pre>"Configs"
{
"Games"
{
"Entry for Game 1"
{
}
"Entry for Game 2"
{
}
"Entry for Game _ and so on..."
{
}
}
"SDK Version" "3"
}</pre>
 
The purpose of this quick method is '''add''' an entry for Empires. Essentially, your config file should have the following basic structure when done:
 
<pre>"Configs"
{
"Games"
{
"Entry for Game 1"
{
}
"Entry for Game 2"
{
}
"Empires"
{
}
}
"SDK Version" "3"
}</pre>
 
To setup Hammer for Empires, copy and paste the following text over the information of your '''GameConfig.txt''' file.
<pre>
"Configs"
{
"Games"
{
"Empires 2013"
{
"GameDir" "..\empires"
"Hammer"
{
"GameData0" "..\empires\empires.fgd"
"GameData1" "base.fgd"
"GameData2" "halflife2.fgd"
"GameData3" "hl2mp.fgd"
"TextureFormat" "5"
"MapFormat" "4"
"DefaultTextureScale" "0.320000"
"DefaultLightmapScale" "256"
"GameExe" "..\hl2.exe"
"DefaultSolidEntity" "func_detail"
"DefaultPointEntity" "emp_info_map_overview"
"BSP" "vbsp.exe"
"Vis" "vvis.exe"
"Light" "vrad.exe"
"GameExeDir" "..\"
"MapDir" "..\empires\mapsrc"
"BSPDir" "..\empires\maps"
"CordonTexture" "tools/toolsskybox"
"MaterialExcludeCount" "0"
}
}
}
"SDKVersion" "5"
}
</pre>
 
Once pasted, and once you've verified that the structure of nested braces is intact, save the '''GameConfig.txt''' file.
 
Now you should be able to launch Hammer from '''hammer.exe''' via the empires\bin folder. Feel free to create a shortcut! Once launching, choose Empires 2013 from the list, and voila! Hammer for Empires should launch. If you encounter problems, do not hesitant to post on the [http://forums.empiresmod.com/index.php?forums/8 Mapping forum] to seek help.

Latest revision as of 08:41, 10 August 2017

Empires Mapping Documentation
Mapping Overiew | Hammer Configuration | Entity Index | Basic Mapping | Setup Resources | Tutorials | Useful FGD Modifications | Bots and NPCs | Dimensions | Skyboxes



Hammer should work out of the box using the Hammer.bat file in the bin folder. Feel free to create a shortcut! Once launching, choose Empires 2013 from the list, and voila! Hammer for Empires should launch. If you encounter problems, do not hesitant to post on the Mapping forum to seek help.