Entropy : Zero 2

Entropy : Zero 2

70 ratings
Setting up Hammer for Entropy : Zero 2
By 1upD and 1 collaborators
This guide will show you how to set up Hammer to start making maps for Entropy : Zero 2.
2
6
   
Award
Favorite
Favorited
Unfavorite
Before we get started
This guide is very much a work in progress! I'm hoping to expand and refine the documentation for EZ2's tools in the days following the launch. Please feel free to leave a comment with feedback. I look forward to seeing what you come up with.
Video
There is a video that walks through most of these steps. If you prefer videos over text guides, this might be helpful. Keep in mind some of the steps differ slightly in the video from the written guide, but either way should work just as well.
The video might not cover all of the steps so I would recommend going back and skimming the guide if you have any questions afterwards.
Download Mapbase Tools
Entropy : Zero 2 is built on Mapbase. To make maps for Entropy : Zero 2, you will want to install Mapbase's compile tools.

You can find the Mapbase compile tools here:
https://www.moddb.com/mods/mapbase/downloads/mapbase-compile-tools

Download the archive into Steam\steamapps\common\EntropyZero2\bin. Replace all the files contained within.
Create shortcut to Hammer
WARNING: If you skip this step, Hammer's viewports will not show up correctly!

Mapbase mods need to use a shortcut to add the "-game" parameter to Hammer so that the Hammer previews show up correctly. You can see Mapbase's official steps to do this in the first section of the "Using Mapbase in Hammer" guide on the Mapbase wiki, or follow the steps below.

Here are the steps to follow to set up a shortcut:

  1. Navigate to Steam\steamapps\common\EntropyZero2\bin
  2. Right click on Hammer.exe and select "Create shortuct"
  3. A new shortcut will be created called hammer.exe - Shortcut. Feel free to rename this as desired.
  4. Right click on the shortcut and choose "Properties"



  5. Click in the "Target" text box and replace it with
    D:\Steam\steamapps\common\EntropyZero2\bin\hammer.exe -game "D:\Steam\steamapps\common\EntropyZero2\entropyzero2"

    Make sure "D:\Steam" is replaced with whatever directory your Steam is installed in, such as "C:\Program Files\Steam"
  6. Click "Ok"
  7. To launch Hammer, run your shortcut.
Set up Hammer config
  1. Navigate to Steam\steamapps\common\EntropyZero2\bin
  2. Open GameConfig.txt in a text editor of your choice
  3. The default config file might look something like this
    "Configs" { "Games" { "Half-Life 2" { "GameDir" "D:\Steam\steamapps\common\EntropyZero2\hl2" "Hammer" { "TextureFormat" "5" "MapFormat" "4" "DefaultTextureScale" "0.250000" "DefaultLightmapScale" "16" "DefaultSolidEntity" "func_detail" "DefaultPointEntity" "info_player_start" "GameExeDir" "D:\Steam\steamapps\common\EntropyZero2" "MapDir" "D:\Steam\steamapps\common\EntropyZero2\sourcesdk_content\hl2\mapsrc" "CordonTexture" "tools\toolsskybox" "MaterialExcludeCount" "0" "GameExe" "D:\Steam\steamapps\common\EntropyZero2\hl2.exe" "BSP" "D:\Steam\steamapps\common\EntropyZero2\bin\vbsp.exe" "Vis" "D:\Steam\steamapps\common\EntropyZero2\bin\vvis.exe" "Light" "D:\Steam\steamapps\common\EntropyZero2\bin\vrad.exe" "BSPDir" "D:\Steam\steamapps\common\EntropyZero2\hl2\maps" "GameData0" "D:\Steam\steamapps\common\EntropyZero2\bin\halflife2.fgd" } } "Half-Life 2: Episode One" { "GameDir" "D:\Steam\steamapps\common\EntropyZero2\episodic" "Hammer" { "TextureFormat" "5" "MapFormat" "4" "DefaultTextureScale" "0.250000" "DefaultLightmapScale" "16" "DefaultSolidEntity" "func_detail" "DefaultPointEntity" "info_player_start" "GameExeDir" "D:\Steam\steamapps\common\EntropyZero2" "MapDir" "D:\Steam\steamapps\common\EntropyZero2\sourcesdk_content\episodic\mapsrc" "CordonTexture" "tools\toolsskybox" "MaterialExcludeCount" "0" "GameExe" "D:\Steam\steamapps\common\EntropyZero2\hl2.exe" "BSP" "D:\Steam\steamapps\common\EntropyZero2\bin\vbsp.exe" "Vis" "D:\Steam\steamapps\common\EntropyZero2\bin\vvis.exe" "Light" "D:\Steam\steamapps\common\EntropyZero2\bin\vrad.exe" "BSPDir" "D:\Steam\steamapps\common\EntropyZero2\episodic\maps" "GameData0" "D:\Steam\steamapps\common\EntropyZero2\bin\halflife2.fgd" } } "Half-Life 2: Episode Two" { "GameDir" "D:\Steam\steamapps\common\EntropyZero2\ep2" "Hammer" { "TextureFormat" "5" "MapFormat" "4" "DefaultTextureScale" "0.250000" "DefaultLightmapScale" "16" "DefaultSolidEntity" "func_detail" "DefaultPointEntity" "info_player_start" "GameExeDir" "D:\Steam\steamapps\common\EntropyZero2" "MapDir" "D:\Steam\steamapps\common\EntropyZero2\sourcesdk_content\ep2\mapsrc" "CordonTexture" "tools\toolsskybox" "MaterialExcludeCount" "0" "GameExe" "D:\Steam\steamapps\common\EntropyZero2\hl2.exe" "BSP" "D:\Steam\steamapps\common\EntropyZero2\bin\vbsp.exe" "Vis" "D:\Steam\steamapps\common\EntropyZero2\bin\vvis.exe" "Light" "D:\Steam\steamapps\common\EntropyZero2\bin\vrad.exe" "BSPDir" "D:\Steam\steamapps\common\EntropyZero2\ep2\maps" "GameData0" "D:\Steam\steamapps\common\EntropyZero2\bin\halflife2.fgd" } } } "SDKVersion" "5" }
  4. Delete the configs for HL2 and HL2 Episode One
  5. Update the config for Episode Two to look like the following. Please note the path D:\Steam - you will need to use a path which matches where Steam is installed on your machine.
    "Configs" { "Games" { "Entropy : Zero 2" { "GameDir" "D:\Steam\steamapps\common\EntropyZero2\entropyzero2" "Hammer" { "GameData0" "D:\Steam\steamapps\common\EntropyZero2\entropyzero2\fgd\EntropyZero2.fgd" "DefaultTextureScale" "0.250000" "DefaultLightmapScale" "16" "GameExe" "D:\Steam\steamapps\common\EntropyZero2\hl2.exe" "DefaultSolidEntity" "func_detail" "DefaultPointEntity" "info_player_start" "BSP" "D:\Steam\steamapps\common\EntropyZero2\bin\vbsp.exe" "Vis" "D:\Steam\steamapps\common\EntropyZero2\bin\vvis.exe" "Light" "D:\Steam\steamapps\common\EntropyZero2\bin\vrad.exe" "GameExeDir" "D:\Steam\steamapps\common\EntropyZero2" "MapDir" "D:\Steam\steamapps\common\EntropyZero2\entropyzero2\mapsrc" "BSPDir" "D:\Steam\steamapps\common\EntropyZero2\entropyzero2\maps" "CordonTexture" "tools/toolsskybox" "MaterialExcludeCount" "0" } } } "SDKVersion" "5" }
Ensure nodegraphs are set to rebuild
Once your EZ2 map is compiled, if you are running the map in the base game, make sure that you have the console variables set correctly to rebuild the node graph.

Note: It is recommended to develop maps in a separate source mod and then deploy them to EZ2 via the workshop. Setting up this will be covered in an expanded workshop guide at a later time

Once ingame, open up the developer console and run these commands:
ai_norebuildgraph 0 ai_norebuildgraph_if_in_chapters 0
83 Comments
0MG-DEN 23 Jun @ 5:21am 
Hey, @1upD, thanks for the guide, helped me A LOT. The only addition I'd like to ask for is could you please add gameinfo.txt configuration to the guide? Specifically GameData entry configuration. Since it hasn't been fixed yet and the only way to know how to fix it is either Valve's developer site or this comment section, making it pretty hard. Thanks in advance!
NileCrocodile 4 Jun @ 3:08am 
S
bulkmoerls 16 Dec, 2023 @ 9:00am 
@Silly Billy, I Agree too.
ModdedProp_SNERD 15 Dec, 2023 @ 7:24pm 
all assets are replaced by "ERROR"
and I always get this message when I open hammer:
Invalid game "C:\Program Files (x86)\Steam\steamapps\common\EntropyZero2\entropyzero2" specified on the command-line, ignoring.

PLEASE HELP
Professor Doodlewacker 11 Dec, 2023 @ 10:53am 
It would be cool if you could use Hammer++ for EZ2, not the default one.
✅ The Joker 9 Dec, 2023 @ 9:36pm 
Hello, how are you? I have a problem with Entropy Zero 2, when I start the fight against the combined advisor the vortigaunts do not appear and after defeating him the bridge does not move even if I press the buttons, it is a shame because I really liked the mod. Greetings from Argentina.
gordon freeman 23 Jun, 2023 @ 1:36am 
very good guide 5/5 gordon points
KON_Air 10 May, 2023 @ 5:59am 
I got mine working with just -game entropyzero2, without the directory.
Cyclops 11 Apr, 2023 @ 7:05am 
"Invalid game 'EntropyZero2' on the command line, ignoring"
jimothy 24 Feb, 2023 @ 2:08pm 
Never mind fixed!