Configuring Hammer
From GMod Wiki
Choosing a Configuration
By default, Hammer has no "Garry's Mod" configuration. It is possible to create one, but it may not actually be what you are looking for. The "Garry's Mod" configuration features no extra "Valve" content except for what "Half-Life 2" and "Garry's Mod" itself comes with, and any other content will be custom content. This means that if you do not need to use any custom content you have present in your "Garry's Mod" folder, you should use a configuration below instead, so that you gain access to a far larger amount of "Valve" content.
- If you have "The Orange Box", you should use the Half-Life 2: Episode Two configuration. You should use this because it contains the newest "Source" technology and has a huge amount of "Valve" content. It is recommended to use this over any other configuration.
- If you do not have "The Orange Box", you should use the "Counter-Strike: Source" configuration. You should use this because "Counter-Strike: Source" is owned by a large amount of "Garry's Mod" players and using any of it's content will not be a problem.
- If you do not have "Counter-Strike: Source", you should use the "Garry's Mod" configuration. You should use this because it is better than using the "Half-Life 2" configuration.
It is possible to copy any "Garry's Mod" content you may have into the "Half-Life 2: Episode Two" game folders so you can use it while using the "Half-Life 2: Episode Two" configuration. The same can be done for "Counter-Strike: Source", and any further content you may want to create a large all-in-one configuration.
If you still decide on using a "Garry's Mod" configuration, perhaps for the purpose of creating an all-in-one configuration, read below.
Creating the Configuration
The "Garry's Mod" configuration must be created on the "Source Engine 2009" half of the "Source SDK". If you create it on the "Episode One" side of the "Source SDK", it will not work properly or at all.
Create new configuration in Hammer, call it "Garry's Mod" (Tools > Options > Edit > Add)
Game Data Files:
(orangebox/bin)
HalfLife2.fgd = Ep2 (HL2 aswell)
base.fgd
cstrike.fgd = CS:S
dod.fgd = DoD:S
hl2mp.fgd = HL2:DM (could be needed)
portal.fgd = Portal
tf.fgd = TF2
(garrysmod/garrysmod)
Garrysmod.fgd (OPTIONAL)
Default Point Entity class: info_player_start
Default SolidEntity class: func_detail
Cordon Texture: tools/toolsskybox
Game Executable Directory: $SteamUserDir\garrysmod
Game Directory: $SteamUserDir\garrysmod\garrysmod
Hammer VMF Directory: (Where you want to save and load VMF saves for Garrysmod) i use.. $SteamUserDir\garrysmod\garrysmod\maps\vmf
Now go to the last Tab, Build programs..
Game Executable: $SteamUserDir\garrysmod\hl2.exe
BSP $SteamUserDir\sourcesdk\bin\orangebox\bin\vbsp.exe
VIS $SteamUserDir\sourcesdk\bin\orangebox\bin\vvis.exe
RAD $SteamUserDir\sourcesdk\bin\orangebox\bin\vrad.exe
Place compiled maps... $SteamUserDir\garrysmod\garrysmod\maps
It will say that the changes will show when you open hammer another time but you need to restart Source SDK if you made a new config in order to see your new config in the selection menu.
