Set up Source SDK for Garry's Mod.

pickles

Thread Junky
Joined
Dec 29, 2008
Messages
787
Setting up Source SDK/Hammer for Garry's Mod.

Intro: So you want to map for Garry's Mod? Well you've come to the right place to get started with Garry's Mod mapping. Lets Get Started!

1. Download and Install Source SDK (Steam Menu > Tools > Source SDK)
2. Open Source SDK
3. From the drop down "Engine Version" menu select "The Orange Box"

screenshot001tmk.jpg


4. Open Hammer
5. Click Tools > Options
6. Under "Configuration" click Edit > Add and type "Garry's Mod" for the name.

screenshot0012ipn.jpg


After you do that it will look something like this.

screenshot0013a.jpg


7. Next you have to change some directories.

THE FOLLOWING BOLD TEXT IS WHAT YOU NEED TO COPY/ADD


Add
Game Data Files: (orangebox/bin) "HalfLife2.fgd" & (garrysmod/garrysmod) "garrysmod.fgd" (second is 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 Hammer will save the .vmf files): $SteamUserDir\sourcesdk_content\garrysmod\mapsrc (you can change this to your liking)


8. Go to the "Build Programs" tabs in "Options" and also add the following directories.

Game Executable: $SteamUserDir\garrysmod\hl2.exe



BSP Executable: $SteamUserDir\sourcesdk\bin\orangebox\bin\vbsp.exe



VIS Executable: $SteamUserDir\sourcesdk\bin\orangebox\bin\vvis.exe



RAD Executable: $SteamUserDir\sourcesdk\bin\orangebox\bin\vrad.exe



Place compiled maps: $SteamUserDir\garrysmod\garrysmod\maps



Now the 2 windows should look like this:


screenshot0014i.jpg




screenshot002bwg.jpg



You can also find the official version here


Hope this helps everyone. This is the end of the guide/tutorial. I might have a video version coming out!


PM me for any questions, comments, etc










 
Last edited:
nice post!!! Ive always wanted to know how to do this. Usualy I use the half life 2 game config for gmod. The jar of pickles has saved the day once again, what would we do with out him? This should be stickied and pickles should be given cookies, milk and/or beer.
 
Last edited:

Latest posts

Back
Top