Configuring Hammer for Portal with Half-Life 2 weapons

From Valve Developer Community
Revision as of 14:33, 28 June 2020 by Kpabik (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Portal with Half-Life 2 weaponsPortal with Half-Life 2 weapons Level Creation

Add it to ...common\Portal\bin\GameConfig.txt:

 "Portal with Half-Life 2 weapons "
 {
 			"GameDir"		"E:\steam\steamapps\sourcemods\Portal With Half-Life 2 Weapons"
 			"Hammer"
 			{
 				"GameData0"		"E:\steam\steamapps\common\Portal\bin\portal.fgd"
 				"TextureFormat"		"5"
 				"MapFormat"		"4"
 				"DefaultTextureScale"		"0.250000"
 				"DefaultLightmapScale"		"16"
 				"GameExe"		"E:\steam\steamapps\common\Portal\hl2.exe"
 				"DefaultSolidEntity"		"func_brush"
 				"DefaultPointEntity"		"info_player_start"
 				"BSP"		"E:\steam\steamapps\common\Portal\bin\vbsp.exe"
 				"Vis"		"E:\steam\steamapps\common\Portal\bin\vvis.exe"
 				"Light"		"E:\steam\steamapps\common\Portal\bin\vrad.exe"
 				"GameExeDir"		"E:\steam\steamapps\common\Portal"
 				"MapDir"		"E:\steam\steamapps\common\Portal\sourcesdk_content\portal\mapsrc"
 				"BSPDir"		"E:\steam\steamapps\common\Portal\portal\maps"
 				"CordonTexture"		"tools\toolsskybox"
 				"MaterialExcludeCount"		"0"

Replace any paths (i.e. C:\ may be F:\ for you) to make it your own.

See also

Portal with Half-Life 2 weapons