How to setup Hammer for gmod and mount game content to it!
11 replies, posted
I was bored and my friend wanted to setup hammer for gmod. So I wrote this and figured it might be useful to someone else.
[B]SETTING UP HAMMER EDITOR FOR GARRYSMOD[/B]
[B]1[/B]. Open [I]Source SDK[/I]
Make sure Engine Version in the dropdown list is [U]Source Engine 2009.[/U]
[B]2[/B]. Click [I]Edit Game Configurations[/I]
If Garry's Mod isn't in the dropdown list, click [B]Add[/B], otherwise click [B]Edit[/B].
[B]3[/B].
Name should be [U]Garry's Mod[/U].
Directory is the FULL path to garrysmod, where models/materials/sounds ect.. is.
[B]EXAMPLE "F:\steam\steamapps\name\garrysmod\garrysmod"
[/B]
Click [B]OK[/B] then click [B]OK[/B] again.
[B]4[/B].Select [U]Garry's Mod[/U] from the dropdown on [B]Current Game[/B], if it dont show up,
change the Engine version to something else then back to 2009.
[B]5[/B]. Open[U] Hammer[/U]
Goto [U]Tools -> Options[/U]
On the [B]Game Configurations[/B] tab select [U]Garrysmod[/U] from the dropdown.
In the [U]game data files section[/U], click [B]Add[/B], and browse to your [I][U]garrysmod/garrysmod[/U][/I] folder
and select [B]garrysmod.fgd[/B] and hit [B]Open[/B].
Now to add the other games entities to hammer:
Click [B]Add[/B] and browse to [I][U]sourceSDK\bin\source2009\bin[/U][/I]
You're going to want to probally add
[B]cstrike.fgd[/B]
[B]halflife2.fgd[/B]
[B]6[/B]. Now to edit the rest of the options
[B]Texture Format[/B]: [U]Materials(Half-Life 2)[/U]
[B]Map Type:[/B] [U]Half-Life 2[/U]
[B]Default PointEntity class[/B]: [U]info_player_start[/U]
[B]Default SolidEntity class[/B]: [U]func_detail[/U]
[B]Cordon texture[/B]: [U]tools/toolsskybox[/U]
[B]Executable directory[/B]: [U]$SteamUserDir\garrysmod[/U]
[B]Game Directory [/B]: [U]$SteamUserDir\garrysmod\garrysmod[/U]
[B]Hammer VMF Directory[/B]: [U] $SteamUserDir\garrysmod\garrysmod\maps[/U]
[B]7[/B]. Now head over to the [B]Build Programs[/B] tab
Select [U]Garry's Mod[/U] from the dropdown
[B]Game executable[/B]: [U]$SteamUserDir\garrysmod\hl2.exe[/U]
[B]BSP executable[/B]: [U]$SteamUserDir\sourcesdk\bin\source2009\bin\vbsp.exe[/U]
[B]VIS executable[/B]: [U]$SteamUserDir\sourcesdk\bin\source2009\bin\vvis.exe[/U]
[B]RAD executable[/B]: [U]$SteamUserDir\sourcesdk\bin\source2009\bin\vrad.exe[/U]
[B]Compiled maps directory[/B]: [U]$SteamUserDir\garrysmod\garrysmod\maps[/U]
CLICK [B]APPLY![/B]
[B]8[/B]. Now hammers all ready for like awesome mapping and stuff for gmod
[B]TO ADD ADDITIONAL CONTENT(Materials/Models/Sound) TO HAMMER FOR GMOD[/B]
[B]1[/B]. Download [B]GCFScape
[/B]
[B]1a.[/B] Make a new folder on your desktop while that's downloading. Name it what you would like, its only a temporary folder.
[B]2[/B]. now you're going to want to goto your [U]steam/steamapps[/U] directory
[B]3[/B] now [B]open the GCF's[/B] of the [B]games[/B] you want to [B]add to hammer[/B].
Remember you only want [U]Models, Materials, and Sounds[/U]
[B]Normal ones[/B] are [U]Counter-Strike, Episode 1 and Episode 2[/U]
[B]counter-strike source shared.gcf - cstrike - materials, models, sounds[/B]
[B]episode 1 shared.gcf - episodic - materials, models, sounds[/B]
[B]episode two content.cfg - ep2 - models, sounds[/B]
[B]episode two materials.gcf - ep2 - materials[/B]
Open the [B]GCF'S[/B], click the respective game folder. ([U]cstrike[/U] ect)
hold [B]CTRL[/B] and select the [U]models, materials, and sounds[/U] folders
[B]right click[/B] and hit [B]Extract [/B]the folders to your newly created folder on your desktop.
Click [B]OK[/B]
When that's done, browse to your [U]garrysmod/garrysmod[/U] folder and hold [B]CTRL[/B] and select the[U] materials ,models, and sounds[/U] [B]folders[/B] from the folder on [B]your desktop[/B], and [B]drag and drop[/B] them [B]directly to [U]garrysmod/garrysmod.[/U][/B]
[U][B]IF IT WANTS TO OVERWRITE ANYTHING SAY NO (it will screw up your garrysmod installation if you say yes)[/B][/U]
Just do that for all the games you want to mount the content for
you can do multiple extractions if you wish.
[U][I][B]NOW MAP AND STUFFZ![/B][/I][/U]
Hope its helpful to others.
Extremely helpful for my OCD, thanks a bunch!
Your welcome!
[QUOTE=irontires;37709240]talktalktalk[/QUOTE]
Nicely done, I used to use this one:
[url]http://duckytopia.wordpress.com/tutorials/setting-up-the-source-sdk-for-garrys-mod/[/url]
I just set my gameconfig.txt in sourcesdk\bin\orangebox\bin to have the path of garrysmodbeta. It seems to work well enough with the sdk tools.
[QUOTE=Cyberuben;37720674]Nicely done, I used to use this one:
[url]http://duckytopia.wordpress.com/tutorials/setting-up-the-source-sdk-for-garrys-mod/[/url][/QUOTE]
If I would have known about that one, I would have linked him that, haha.
Oi, SDK Works great, but look at what happened to garry's mod!
[url]http://youtu.be/i6cRa-TS8DU[/url]
[QUOTE=Vicious713;37728034]Oi, SDK Works great, but look at what happened to garry's mod!
[url]http://youtu.be/i6cRa-TS8DU[/url][/QUOTE]
This is what happens when you overwrite!
To be honest, it's not mounting other game's content. All this is is simply a reckless drag and drop, which everyone knows how to do anyways. What you could have explained was simply what specific folders within the models and materials/models to use rather than include absolutely everything, even default hl2 textures and models.
Well like I said in the first post, it was for a friend. I just decided to share it :)
Does not work for me. I have no idea why it does not :suicide:
Because the guide is over 2 years old. Source SDK is gone for good. ( basically )
Sorry, you need to Log In to post a reply to this thread.