Quick Hammer problem

press the -# button or the +# button

No… You set up the configuration for the wrong engine. :s

What configuration are you running under?

i hope ur not running gmod configuration, cause that what happens when i tried it, correct me if i’m wrong :smiley:

That’s how most people encounter the issue, it’s really just setting up the wrong engine for any custom config.

uhh theres your problem

Navigate Here: …/Steam/SteamApps/<username>/sourcesdk/bin/orangebox/bin

Open: GameConfig.txt
–Should Look Like This:


"Configs"
{
	"Games"
	{
		"Half-Life 2: Episode Two"
		{
			"GameDir"		"D:\program files\steam\steamapps	ehelee\half-life 2 episode two\ep2"
			"hammer"
			{
				"GameData0"		"D:\program files\steam\steamapps	ehelee\sourcesdk\bin\orangebox\bin\halflife2.fgd"
				"TextureFormat"		"5"
				"MapFormat"		"4"
				"DefaultTextureScale"		"0.250000"
				"DefaultLightmapScale"		"16"
				"GameExe"		"D:\program files\steam\steamapps	ehelee\half-life 2 episode two\hl2.exe"
				"DefaultSolidEntity"		"func_detail"
				"DefaultPointEntity"		"info_player_start"
				"BSP"		"D:\program files\steam\steamapps	ehelee\sourcesdk\bin\orangebox\bin\vbsp.exe"
				"Vis"		"D:\program files\steam\steamapps	ehelee\sourcesdk\bin\orangebox\bin\vvis.exe"
				"Light"		"D:\program files\steam\steamapps	ehelee\sourcesdk\bin\orangebox\bin\vrad.exe"
				"GameExeDir"		"D:\program files\steam\steamapps	ehelee\half-life 2 episode two"
				"MapDir"		"D:\program files\steam\steamapps	ehelee\sourcesdk_content\ep2\mapsrc"
				"BSPDir"		"D:\program files\steam\steamapps	ehelee\half-life 2 episode two\ep2\maps"
				"CordonTexture"		"tools	oolsskybox"
				"MaterialExcludeCount"		"0"
			}
		}
		"Team Fortress 2"
		{
			"GameDir"		"D:\program files\steam\steamapps	ehelee	eam fortress 2	f"
			"hammer"
			{
				"GameData0"		"D:\program files\steam\steamapps	ehelee\sourcesdk\bin\orangebox\bin	f.fgd"
				"TextureFormat"		"5"
				"MapFormat"		"4"
				"DefaultTextureScale"		"0.250000"
				"DefaultLightmapScale"		"16"
				"GameExe"		"D:\program files\steam\steamapps	ehelee	eam fortress 2\hl2.exe"
				"DefaultSolidEntity"		"func_detail"
				"DefaultPointEntity"		"info_player_teamspawn"
				"BSP"		"D:\program files\steam\steamapps	ehelee\sourcesdk\bin\orangebox\bin\vbsp.exe"
				"Vis"		"D:\program files\steam\steamapps	ehelee\sourcesdk\bin\orangebox\bin\vvis.exe"
				"Light"		"D:\program files\steam\steamapps	ehelee\sourcesdk\bin\orangebox\bin\vrad.exe"
				"GameExeDir"		"D:\program files\steam\steamapps	ehelee	eam fortress 2"
				"MapDir"		"D:\program files\steam\steamapps	ehelee\sourcesdk_content	f\mapsrc"
				"BSPDir"		"D:\program files\steam\steamapps	ehelee	eam fortress 2	f\maps"
				"CordonTexture"		"tools	oolsskybox"
				"MaterialExcludeCount"		"0"
			}
		}
		"Portal"
		{
			"GameDir"		"D:\program files\steam\steamapps	ehelee\portal\portal"
			"hammer"
			{
				"GameData0"		"D:\program files\steam\steamapps	ehelee\sourcesdk\bin\orangebox\bin\portal.fgd"
				"TextureFormat"		"5"
				"MapFormat"		"4"
				"DefaultTextureScale"		"0.250000"
				"DefaultLightmapScale"		"16"
				"GameExe"		"D:\program files\steam\steamapps	ehelee\portal\hl2.exe"
				"DefaultSolidEntity"		"func_detail"
				"DefaultPointEntity"		"info_player_start"
				"BSP"		"D:\program files\steam\steamapps	ehelee\sourcesdk\bin\orangebox\bin\vbsp.exe"
				"Vis"		"D:\program files\steam\steamapps	ehelee\sourcesdk\bin\orangebox\bin\vvis.exe"
				"Light"		"D:\program files\steam\steamapps	ehelee\sourcesdk\bin\orangebox\bin\vrad.exe"
				"GameExeDir"		"D:\program files\steam\steamapps	ehelee\portal"
				"MapDir"		"D:\program files\steam\steamapps	ehelee\sourcesdk_content\portal\mapsrc"
				"BSPDir"		"D:\program files\steam\steamapps	ehelee\portal\portal\maps"
				"CordonTexture"		"tools	oolsskybox"
				"MaterialExcludeCount"		"0"
			}
		}
	}
	"SDKVersion"		"3"
}


Replace Text with This:
–Includes the following games: (Garry’s Mod), (Half-Life 2: Episode 2), (Team Fortress 2), and (Portal).



"Configs"
{
	"Games"
	{
		"Garry's Mod"
		{
			"GameDir"		"D:\program files\steam\steamapps	ehelee\garrysmod\garrysmod"
			"hammer"
			{
				"GameData0"		"D:\program files\steam\steamapps	ehelee\sourcesdk\bin\orangebox\bin\garrysmod.fgd"
				"GameData1"		"D:\program files\steam\steamapps	ehelee\sourcesdk\bin\orangebox\bin\spacebuild.fgd"
				"GameData2"		"D:\program files\steam\steamapps	ehelee\sourcesdk\bin\orangebox\bin\stargate.fgd"
				"TextureFormat"		"5"
				"MapFormat"		"4"
				"DefaultTextureScale"		"0.250000"
				"DefaultLightmapScale"		"16"
				"GameExe"		"D:\program files\steam\steamapps	ehelee\garrysmod\hl2.exe"
				"DefaultSolidEntity"		"func_detail"
				"DefaultPointEntity"		"info_player_start"
				"BSP"		"D:\program files\steam\steamapps	ehelee\sourcesdk\bin\orangebox\bin\vbsp.exe"
				"Vis"		"D:\program files\steam\steamapps	ehelee\sourcesdk\bin\orangebox\bin\vvis.exe"
				"Light"		"D:\program files\steam\steamapps	ehelee\sourcesdk\bin\orangebox\bin\vrad.exe"
				"GameExeDir"		"D:\program files\steam\steamapps	ehelee\garrysmod"
				"MapDir"		"D:\program files\steam\steamapps	ehelee\sourcesdk_content\garrysmod\mapsrc"
				"BSPDir"		"D:\program files\steam\steamapps	ehelee\garrysmod\garrysmod\maps"
				"CordonTexture"		"tools	oolsskybox"
				"MaterialExcludeCount"		"0"
			}
		}
		"Half-Life 2: Episode Two"
		{
			"GameDir"		"D:\program files\steam\steamapps	ehelee\half-life 2 episode two\ep2"
			"hammer"
			{
				"GameData0"		"D:\program files\steam\steamapps	ehelee\sourcesdk\bin\orangebox\bin\halflife2.fgd"
				"TextureFormat"		"5"
				"MapFormat"		"4"
				"DefaultTextureScale"		"0.250000"
				"DefaultLightmapScale"		"16"
				"GameExe"		"D:\program files\steam\steamapps	ehelee\half-life 2 episode two\hl2.exe"
				"DefaultSolidEntity"		"func_detail"
				"DefaultPointEntity"		"info_player_start"
				"BSP"		"D:\program files\steam\steamapps	ehelee\sourcesdk\bin\orangebox\bin\vbsp.exe"
				"Vis"		"D:\program files\steam\steamapps	ehelee\sourcesdk\bin\orangebox\bin\vvis.exe"
				"Light"		"D:\program files\steam\steamapps	ehelee\sourcesdk\bin\orangebox\bin\vrad.exe"
				"GameExeDir"		"D:\program files\steam\steamapps	ehelee\half-life 2 episode two"
				"MapDir"		"D:\program files\steam\steamapps	ehelee\sourcesdk_content\ep2\mapsrc"
				"BSPDir"		"D:\program files\steam\steamapps	ehelee\half-life 2 episode two\ep2\maps"
				"CordonTexture"		"tools	oolsskybox"
				"MaterialExcludeCount"		"0"
			}
		}
		"Team Fortress 2"
		{
			"GameDir"		"D:\program files\steam\steamapps	ehelee	eam fortress 2	f"
			"hammer"
			{
				"GameData0"		"D:\program files\steam\steamapps	ehelee\sourcesdk\bin\orangebox\bin	f.fgd"
				"TextureFormat"		"5"
				"MapFormat"		"4"
				"DefaultTextureScale"		"0.250000"
				"DefaultLightmapScale"		"16"
				"GameExe"		"D:\program files\steam\steamapps	ehelee	eam fortress 2\hl2.exe"
				"DefaultSolidEntity"		"func_detail"
				"DefaultPointEntity"		"info_player_teamspawn"
				"BSP"		"D:\program files\steam\steamapps	ehelee\sourcesdk\bin\orangebox\bin\vbsp.exe"
				"Vis"		"D:\program files\steam\steamapps	ehelee\sourcesdk\bin\orangebox\bin\vvis.exe"
				"Light"		"D:\program files\steam\steamapps	ehelee\sourcesdk\bin\orangebox\bin\vrad.exe"
				"GameExeDir"		"D:\program files\steam\steamapps	ehelee	eam fortress 2"
				"MapDir"		"D:\program files\steam\steamapps	ehelee\sourcesdk_content	f\mapsrc"
				"BSPDir"		"D:\program files\steam\steamapps	ehelee	eam fortress 2	f\maps"
				"CordonTexture"		"tools	oolsskybox"
				"MaterialExcludeCount"		"0"
			}
		}
		"Portal"
		{
			"GameDir"		"D:\program files\steam\steamapps	ehelee\portal\portal"
			"hammer"
			{
				"GameData0"		"D:\program files\steam\steamapps	ehelee\sourcesdk\bin\orangebox\bin\portal.fgd"
				"TextureFormat"		"5"
				"MapFormat"		"4"
				"DefaultTextureScale"		"0.250000"
				"DefaultLightmapScale"		"16"
				"GameExe"		"D:\program files\steam\steamapps	ehelee\portal\hl2.exe"
				"DefaultSolidEntity"		"func_detail"
				"DefaultPointEntity"		"info_player_start"
				"BSP"		"D:\program files\steam\steamapps	ehelee\sourcesdk\bin\orangebox\bin\vbsp.exe"
				"Vis"		"D:\program files\steam\steamapps	ehelee\sourcesdk\bin\orangebox\bin\vvis.exe"
				"Light"		"D:\program files\steam\steamapps	ehelee\sourcesdk\bin\orangebox\bin\vrad.exe"
				"GameExeDir"		"D:\program files\steam\steamapps	ehelee\portal"
				"MapDir"		"D:\program files\steam\steamapps	ehelee\sourcesdk_content\portal\mapsrc"
				"BSPDir"		"D:\program files\steam\steamapps	ehelee\portal\portal\maps"
				"CordonTexture"		"tools	oolsskybox"
				"MaterialExcludeCount"		"0"
			}
		}
	}
	"SDKVersion"		"3"
}


!!!PLEASE NOTE!!!

If your steam files are on a different hard drive than ‘D:’ Then in your text editor, Edit->Replace, ‘D:’ with ‘:’ Then hit replace all.

Example: Replace D:\ with C:\ -> Replace All

BTW: I wrote the garrysmod config. From scratch. (Pretty easy)

NOTE: Garrysmod config includes support for Spacebuild and Stargate. If you dont want them, remove: (from gmod config)



				"GameData1"		"D:\program files\steam\steamapps	ehelee\sourcesdk\bin\orangebox\bin\spacebuild.fgd"
				"GameData2"		"D:\program files\steam\steamapps	ehelee\sourcesdk\bin\orangebox\bin\stargate.fgd"