Configuration of Hammer

For discussion and release of fan maps made by the community.
User avatar
L34D
Posts: 12
Joined: Sat Nov 27, 2024 10:58 am

Configuration of Hammer

Postby L34D » Mon Nov 29, 2024 6:40 pm

hiho,
I have a problem with the Hammer editor. All 4 Windows are black and i have no grid in the other 3 windows so i cant create anything.

Is there any mistake in your tutorial for configurate hammer for HL2W?

I have installed Halflife Episode 2 and Source SDK 2007. Can´t open the hammer editor with the 2007 version but i think this is normal.

Here screenshots with the configuration and the black windows:



Sandern
Developer
Posts: 1981
Joined: Thu Nov 22, 2024 6:58 pm
Location: Netherlands
Contact:

Re: Configuration of Hammer

Postby Sandern » Mon Nov 29, 2024 6:51 pm

Configuration is for the 2007 version of course, not 2009. To setup hammer 2007 you have to modify sourcesdk\bin\source2007\bin\GameConfig.txt

In case you want to use the 2009 version of hammer you could try:
Setting the game executable to:
$SteamUserDir\half-life 2 episode two

And the game directory to:
$SteamUserDir\half-life 2 episode two\ep2
User avatar
L34D
Posts: 12
Joined: Sat Nov 27, 2024 10:58 am

Re: Configuration of Hammer

Postby L34D » Tue Nov 30, 2024 9:13 am

Sander wrote:Configuration is for the 2007 version of course, not 2009. To setup hammer 2007 you have to modify sourcesdk\bin\source2007\bin\GameConfig.txt

In case you want to use the 2009 version of hammer you could try:
Setting the game executable to:
$SteamUserDir\half-life 2 episode two

And the game directory to:
$SteamUserDir\half-life 2 episode two\ep2


hiho,
ok thanks. But now there is another error.

"No game configuration to run with"

I already reset the SDK configuration and modify the gameconfig but i cant start the hammer editor because there is no game on source 2007.
I tried to set the start option from SDK to "-engine ep1" but it didn´t work.

Source 2009 don´t work for me too.
Sandern
Developer
Posts: 1981
Joined: Thu Nov 22, 2024 6:58 pm
Location: Netherlands
Contact:

Re: Configuration of Hammer

Postby Sandern » Tue Nov 30, 2024 9:23 am

Maybe the GameConfig.txt is wrong? Resetting will not help, because there are no valve games on source 2007. It will just result in an empty list.

This is mine GameConfig.txt for the 2007 sdk:

Code: Select all

"Configs"
{
   "Games"
   {
      "Half-Life 2: Wars"
      {
         "GameDir"      "D:\Steam\steamapps\SourceMods\hl2wars_dev"
         "hammer"
         {
            "GameData0"      "D:\Steam\steamapps\SourceMods\hl2wars_dev\hl2wars.fgd"
            "TextureFormat"      "5"
            "MapFormat"      "4"
            "DefaultTextureScale"      "0.250000"
            "DefaultLightmapScale"      "16"
            "GameExe"      "D:\Steam\steamapps\username\source sdk base 2007\hl2.exe"
            "DefaultSolidEntity"      "func_detail"
            "DefaultPointEntity"      "info_player_start"
            "BSP"      "d:\steam\steamapps\username\sourcesdk\bin\source2007\bin\vbsp.exe"
            "Vis"      "d:\steam\steamapps\username\sourcesdk\bin\source2007\bin\vvis.exe"
            "Light"      "d:\steam\steamapps\username\sourcesdk\bin\source2007\bin\vrad.exe"
            "GameExeDir"      "D:\Steam\steamapps\username\source sdk base 2007"
            "MapDir"      "d:\steam\steamapps\username\sourcesdk_content\hl2wars\mapsrc"
            "BSPDir"      "D:\Steam\steamapps\SourceMods\hl2wars_dev\maps"
            "CordonTexture"      "tools\toolsskybox"
            "MaterialExcludeCount"      "0"
         }
      }
   }
   "SDKVersion"      "3"
}


So if you adjust the paths correctly it should work.
User avatar
L34D
Posts: 12
Joined: Sat Nov 27, 2024 10:58 am

Re: Configuration of Hammer

Postby L34D » Tue Nov 30, 2024 11:00 am

hiho,
thank you. Works fine now! The GameConfig.txt was wrong. :/

Return to “Community Maps”

Who is online

Users browsing this forum: No registered users and 3 guests