Forum Thread
by member
  Posts  
Some problem with hammer and modding. (Forums : Level Design : Some problem with hammer and modding.) Locked
Thread Options
Sep 26 2012, 1:17pm Anchor

Hi!

So i recently tried modding for source 2007, single player mod.
When i open hammer it works fine. I create my map and when i run it the valve logo shows up and then the game shutsdown. It says Engine Error: Could not load library client.

According to some other forumthreads you can change the steamappid from 218 to 420. 

I tried doing so and when I open hammer editor all the viewports are black except the 3d view which is a bit wierd. 
But atleast when i run my map it works!

But I don't want to keep on changing the steamappid all the time. It may lead to bigger problems later on.
What should I do? How do I fix this?

ShiftedDesign
ShiftedDesign Levels are my thing
Sep 27 2012, 3:08am Anchor

It seems that the editor has to have 218 for the windows to function correctly but the levels are now 420, so... It is looking like you will have to change them if you want to work or play, kind of sucks...

Have you looked into your GameConfig.txt?

code:
C:\Program Files\Steam\steamapps\[USERNAME]\sourcesdk\bin\source2007\bin

 

Should look something like this? [USERNAME] is suppose to be your actual steam user name, of course.
 

code:
"Configs"
{
   "Games"
   {
      "Half-Life 2: Episode Two"
      {
         "GameDir"      "c:\program files\steam\steamapps\[USERNAME]\half-life 2 episode two\ep2"
         "hammer"
         {
            "GameData0"      "c:\program files\steam\steamapps\[USERNAME]\sourcesdk\bin\source2007\bin\halflife2.fgd"
            "TextureFormat"      "5"
            "MapFormat"      "4"
            "DefaultTextureScale"      "0.250000"
            "DefaultLightmapScale"      "16"
            "GameExe"      "c:\program files\steam\steamapps\[USERNAME]\half-life 2 episode two\hl2.exe"
            "DefaultSolidEntity"      "func_detail"
            "DefaultPointEntity"      "info_player_start"
            "BSP"      "c:\program files\steam\steamapps\[USERNAME]\sourcesdk\bin\source2007\bin\vbsp.exe"
            "Vis"      "c:\program files\steam\steamapps\[USERNAME]\sourcesdk\bin\source2007\bin\vvis.exe"
            "Light"      "c:\program files\steam\steamapps\[USERNAME]\sourcesdk\bin\source2007\bin\vrad.exe"
            "GameExeDir"      "c:\program files\steam\steamapps\[USERNAME]\half-life 2 episode two"
            "MapDir"      "c:\program files\steam\steamapps\[USERNAME]\sourcesdk_content\ep2\mapsrc"
            "BSPDir"      "c:\program files\steam\steamapps\[USERNAME]\half-life 2 episode two\ep2\maps"
            "CordonTexture"      "tools\toolsskybox"
            "MaterialExcludeCount"      "0"
         }
      }
   }
   "SDKVersion"      "3"
}

 

I haven't been able to try this because I don't currently have HL2:ep2 installed so let me know if something looks wrong.

Edited by: ShiftedDesign

--

User Posted Image
User Posted Image
User Posted Image
Portfolio: Ianowen.net

Sep 27 2012, 10:42am Anchor

code:
"Configs"
{
  "SDKVersion"    "3"
  "Games"
  {
    "Game"
    {
      "GameDir"   "c:\program files (x86)\steam\steamapps\SourceMods\game"
      "hammer"
      {
        "GameData0"   "c:\program files (x86)\steam\steamapps\eternal_thugz15\sourcesdk\bin\source2007\bin\halflife2.fgd"
        "TextureFormat"   "5"
        "MapFormat"   "4"
        "DefaultTextureScale"   "0.250000"
        "DefaultLightmapScale"    "16"
        "GameExe"   "c:\program files (x86)\steam\steamapps\eternal_thugz15\half-life 2\hl2.exe"
        "DefaultSolidEntity"    "func_detail"
        "BSP"   "c:\program files (x86)\steam\steamapps\eternal_thugz15\sourcesdk\bin\source2007\bin\vbsp.exe"
        "Vis"   "c:\program files (x86)\steam\steamapps\eternal_thugz15\sourcesdk\bin\source2007\bin\vvis.exe"
        "Light"   "c:\program files (x86)\steam\steamapps\eternal_thugz15\sourcesdk\bin\source2007\bin\vrad.exe"
        "GameExeDir"    "c:\program files (x86)\steam\steamapps\eternal_thugz15\half-life 2"
        "MapDir"    "c:\program files (x86)\steam\steamapps\SourceMods\sourcesdk_content\game\mapsrc"
        "BSPDir"    "c:\program files (x86)\steam\steamapps\SourceMods\game\maps"
        "CordonTexture"   "tools\toolsskybox"
        "MaterialExcludeCount"    "0"
      }
    }
  }
}
 


The name of the mod is "game" (since it's just a try to see if everything works which it does not).
Its in the sourcemod folder. Apperantly it is only using HL2, ep2 is not written there.
How does it look?

Edited by: Eternalz

ShiftedDesign
ShiftedDesign Levels are my thing
Sep 27 2012, 6:22pm Anchor

I believe if you compiled a mod it should have it's own folder for its FGD, so I think it should look something like this:

code:
 "Game"
      {
         "GameDir"      "c:\program files\steam\steamapps\SourceMods\Game"
         "hammer"
         {
            "GameData0"      "c:\program files\steam\steamapps\SourceMods\Game\Game SDK\Game.fgd"
            "TextureFormat"      "5"
            "MapFormat"      "4"
            "DefaultTextureScale"      "0.250000"
            "DefaultLightmapScale"      "16"
            "GameExe"      "c:\program files\steam\steamapps\eternal_thugz15\source sdk base 2007\hl2.exe"
            "DefaultSolidEntity"      "func_detail"
            "DefaultPointEntity"      "ai_ally_manager"
            "BSP"      "c:\program files\steam\steamapps\eternal_thugz15\sourcesdk\bin\source2007\bin\vbsp.exe"
            "Vis"      "c:\program files\steam\steamapps\eternal_thugz15\sourcesdk\bin\source2007\bin\vvis.exe"
            "Light"      "c:\program files\steam\steamapps\eternal_thugz15\sourcesdk\bin\source2007\bin\vrad.exe"
            "GameExeDir"      "c:\program files\steam\steamapps\eternal_thugz15\source sdk base 2007"
            "MapDir"      "c:\program files\steam\steamapps\SourceMods\sourcesdk_content\Game\mapsrc"
            "BSPDir"      "c:\program files\steam\steamapps\SourceMods\Game\maps"
            "CordonTexture"      "tools\toolsskybox"
            "MaterialExcludeCount"      "0"
         }
      }
 

--

User Posted Image
User Posted Image
User Posted Image
Portfolio: Ianowen.net

Reply to Thread
click to sign in and post

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.