• [TUTORIAL] How to Setup Garry'sMod13 for Mapping (The Easy Way)
    19 replies, posted
Hello guys, I've had a couple of buddies on steam ask me how to get Hammer working for Garry'sMod13, and I've come to tell you the super easy way to do it! 1. Download Source SDK Base 2013 Singleplayer 2. Open up GameConfig.txt in: [QUOTE]C:\Program Files (x86)\Steam\steamapps\common\Source SDK Base 2013 Singleplayer\bin[/QUOTE] 3. Replace everything in there with this: [CODE]"Configs" { "Games" { "Half-Life 2" { "GameDir" "C:\Program Files (x86)\Steam\steamapps\common\Source SDK Base 2013 Singleplayer\hl2" "Hammer" { "GameData0" "C:\Program Files (x86)\Steam\steamapps\common\Source SDK Base 2013 Singleplayer\bin\halflife2.fgd" "TextureFormat" "5" "MapFormat" "4" "DefaultTextureScale" "0.250000" "DefaultLightmapScale" "16" "GameExe" "C:\Program Files (x86)\Steam\steamapps\common\Source SDK Base 2013 Singleplayer\hl2.exe" "DefaultSolidEntity" "func_detail" "DefaultPointEntity" "info_player_start" "BSP" "C:\Program Files (x86)\Steam\steamapps\common\Source SDK Base 2013 Singleplayer\bin\vbsp.exe" "Vis" "C:\Program Files (x86)\Steam\steamapps\common\Source SDK Base 2013 Singleplayer\bin\vvis.exe" "Light" "C:\Program Files (x86)\Steam\steamapps\common\Source SDK Base 2013 Singleplayer\bin\vrad.exe" "GameExeDir" "C:\Program Files (x86)\Steam\steamapps\common\Source SDK Base 2013 Singleplayer" "MapDir" "C:\Program Files (x86)\Steam\steamapps\common\Source SDK Base 2013 Singleplayer\sourcesdk_content\hl2\mapsrc" "BSPDir" "C:\Program Files (x86)\Steam\steamapps\common\Source SDK Base 2013 Singleplayer\hl2\maps" "CordonTexture" "tools\toolsskybox" "MaterialExcludeCount" "0" } } "GarrysMod" { "GameDir" "C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\garrysmod" "Hammer" { "GameData0" "C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\garrysmod\garrysmod.fgd" "GameData1" "C:\Program Files (x86)\Steam\steamapps\common\Source SDK Base 2013 Singleplayer\bin\base.fgd" "GameData2" "C:\Program Files (x86)\Steam\steamapps\common\Source SDK Base 2013 Singleplayer\bin\halflife2.fgd" "TextureFormat" "5" "MapFormat" "4" "DefaultTextureScale" "0.250000" "DefaultLightmapScale" "16" "GameExe" "C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\hl2.exe" "DefaultSolidEntity" "func_detail" "DefaultPointEntity" "info_player_start" "BSP" "C:\Program Files (x86)\Steam\steamapps\common\Source SDK Base 2013 Singleplayer\bin\vbsp.exe" "Vis" "C:\Program Files (x86)\Steam\steamapps\common\Source SDK Base 2013 Singleplayer\bin\vvis.exe" "Light" "C:\Program Files (x86)\Steam\steamapps\common\Source SDK Base 2013 Singleplayer\bin\vrad.exe" "GameExeDir" "C:\Program Files (x86)\Steam\steamapps\common\GarrysMod" "MapDir" "C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\garrysmod\maps" "BSPDir" "C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\garrysmod\maps" "CordonTexture" "tools\toolsskybox" "MaterialExcludeCount" "0" } } "Half-Life 2: Episode One" { "GameDir" "C:\Program Files (x86)\Steam\steamapps\common\Source SDK Base 2013 Singleplayer\episodic" "Hammer" { "GameData0" "C:\Program Files (x86)\Steam\steamapps\common\Source SDK Base 2013 Singleplayer\bin\halflife2.fgd" "GameData1" "C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\garrysmod\garrysmod.fgd } } " "TextureFormat" "5" "MapFormat" "4" "DefaultTextureScale" "0.250000" "DefaultLightmapScale" "16" "GameExe" "C:\Program Files (x86)\Steam\steamapps\common\Source SDK Base 2013 Singleplayer\hl2.exe" "DefaultSolidEntity" "func_detail" "DefaultPointEntity" "info_player_start" "BSP" "C:\Program Files (x86)\Steam\steamapps\common\Source SDK Base 2013 Singleplayer\bin\vbsp.exe" "Vis" "C:\Program Files (x86)\Steam\steamapps\common\Source SDK Base 2013 Singleplayer\bin\vvis.exe" "Light" "C:\Program Files (x86)\Steam\steamapps\common\Source SDK Base 2013 Singleplayer\bin\vrad.exe" "GameExeDir" "C:\Program Files (x86)\Steam\steamapps\common\Source SDK Base 2013 Singleplayer" "MapDir" "C:\Program Files (x86)\Steam\steamapps\common\Source SDK Base 2013 Singleplayer\sourcesdk_content\episodic\mapsrc" "BSPDir" "C:\Program Files (x86)\Steam\steamapps\common\Source SDK Base 2013 Singleplayer\episodic\maps" "CordonTexture" "tools\toolsskybox" "MaterialExcludeCount" "0" } } "Half-Life 2: Episode Two" { "GameDir" "C:\Program Files (x86)\Steam\steamapps\common\Source SDK Base 2013 Singleplayer\ep2" "Hammer" { "GameData0" "C:\Program Files (x86)\Steam\steamapps\common\Source SDK Base 2013 Singleplayer\bin\halflife2.fgd" "TextureFormat" "5" "MapFormat" "4" "DefaultTextureScale" "0.250000" "DefaultLightmapScale" "16" "GameExe" "C:\Program Files (x86)\Steam\steamapps\common\Source SDK Base 2013 Singleplayer\hl2.exe" "DefaultSolidEntity" "func_detail" "DefaultPointEntity" "info_player_start" "BSP" "C:\Program Files (x86)\Steam\steamapps\common\Source SDK Base 2013 Singleplayer\bin\vbsp.exe" "Vis" "C:\Program Files (x86)\Steam\steamapps\common\Source SDK Base 2013 Singleplayer\bin\vvis.exe" "Light" "C:\Program Files (x86)\Steam\steamapps\common\Source SDK Base 2013 Singleplayer\bin\vrad.exe" "GameExeDir" "C:\Program Files (x86)\Steam\steamapps\common\Source SDK Base 2013 Singleplayer" "MapDir" "C:\Program Files (x86)\Steam\steamapps\common\Source SDK Base 2013 Singleplayer\sourcesdk_content\ep2\mapsrc" "BSPDir" "C:\Program Files (x86)\Steam\steamapps\common\Source SDK Base 2013 Singleplayer\ep2\maps" "CordonTexture" "tools\toolsskybox" "MaterialExcludeCount" "0" } } "SourceTest" { "GameDir" "C:\Program Files (x86)\Steam\steamapps\common\Source SDK Base 2013 Singleplayer\sourcetest" "Hammer" { "GameData0" "C:\Program Files (x86)\Steam\steamapps\common\Source SDK Base 2013 Singleplayer\bin\halflife2.fgd" "TextureFormat" "5" "MapFormat" "4" "DefaultTextureScale" "0.250000" "DefaultLightmapScale" "16" "GameExe" "C:\Program Files (x86)\Steam\steamapps\common\Source SDK Base 2013 Singleplayer\hl2.exe" "DefaultSolidEntity" "func_detail" "DefaultPointEntity" "info_player_start" "BSP" "C:\Program Files (x86)\Steam\steamapps\common\Source SDK Base 2013 Singleplayer\bin\vbsp.exe" "Vis" "C:\Program Files (x86)\Steam\steamapps\common\Source SDK Base 2013 Singleplayer\bin\vvis.exe" "Light" "C:\Program Files (x86)\Steam\steamapps\common\Source SDK Base 2013 Singleplayer\bin\vrad.exe" "GameExeDir" "C:\Program Files (x86)\Steam\steamapps\common\Source SDK Base 2013 Singleplayer" "MapDir" "C:\Program Files (x86)\Steam\steamapps\common\Source SDK Base 2013 Singleplayer\sourcesdk_content\sourcetest\mapsrc" "BSPDir" "C:\Program Files (x86)\Steam\steamapps\common\Source SDK Base 2013 Singleplayer\sourcetest\maps" "CordonTexture" "tools\toolsskybox" "MaterialExcludeCount" "0" } } } "SDKVersion" "5" } [/CODE] 4. Run Hammer.exe in: [QUOTE]C:\Program Files (x86)\Steam\steamapps\common\Source SDK Base 2013 Singleplayer\bin[/QUOTE] 5. Map away! You can make a shortcut to the Hammer program and place it and place it anywhere you'd like! I know, there are countless tutorials on how to set things up, but I think this is an easier way, as all you have to do really is [Copy+Paste]. Enjoy! [B]------------------------------------ IF YOU GET AN ERROR WHEN OPENING HAMMER FOR GARRYSMOD ---------------------------------------------------[/B] 1. Open gameinfo.txt in: [QUOTE]C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\garrysmod[/QUOTE] 2. Replace everything in there with this: [CODE]"GameInfo" { game "Garry's Mod" title "" title2 "" type multiplayer_only "developer" "TEAM GARRY" "developer_url" "http://www.garrysmod.com/" "manual" "http://wiki.garrysmod.com/
I can't find gameconfig.txt D: help.
Not to be rude or snarky, but I currently use Hammer with the Counter Strike Config and am able to make Gmod maps fine. Is there anything that will be made easier by followng your tutorial?
CSS, TF2, and HL2 hammers work fine with GMod.
[QUOTE=code_gs;44199090]CSS, TF2, and HL2 hammers work fine with GMod.[/QUOTE] Honest question - if you use the HL2 hammer will it mount CSS content (automatically?) ? I used [URL="http://facepunch.com/showthread.php?t=1327883"]Source Multi Tool[/URL] to get setup for mapping.
No, you'll have to add it manually. Someone made a tutorial a while ago about how to do it in the mapping section.
[QUOTE=wh1t3rabbit;44199110]Honest question - if you use the HL2 hammer will it mount CSS content (automatically?) ? I used [URL="http://facepunch.com/showthread.php?t=1327883"]Source Multi Tool[/URL] to get setup for mapping.[/QUOTE] Just drag and drop materials/models into the folder of the game you're using.
[QUOTE=NiandraLades;44195931]Not to be rude or snarky, but I currently use Hammer with the Counter Strike Config and am able to make Gmod maps fine. Is there anything that will be made easier by followng your tutorial?[/QUOTE] You will be able to use the custom content you've acquired over the time in Garry's Mod(models/materials downloaded from servers) but not workshop content. Aside from testing your level inside GMod, there isn't much of an advantage, it's just that you won't have to use pakrat or copy over your custom content. The same way anyone could just symlink the folders themselves and save the trouble of having duplicate files on their hard drive
I found it useful for me, because you don't have to get your other configurations confused with garrysmod, if you want certian game content, just add a .fgd in the options. @Derppower - Did you download Source SDK Singleplayer 2013? Also, another advantage, besides being more neat to decide between what you're mapping for, it gives you access to some of the entities that come with garrysmod (for hammer) I mean, you could just mount the .fgd, but I find this method easier for NEWBIES, (even though it makes everything easier too, for more advanced people).
You have to use 2013 singleplayer? not multiplayer?
awesome
[QUOTE=cstorm;46385661]You have to use 2013 singleplayer? not multiplayer?[/QUOTE] You have to use Singleplayer 2013. That's how the paths are setup. (The configuration file I've given.) Paths aside, it doesn't really matter if you used Multiplayer or Singleplayer assets, but as I said, that's how the paths for the tutorial are setup.
It mounts garrysmod and it's content. (You can mount other games and directories easily aswell by modifying the garrysmod gameinfo.) Which makes a seamless transition between hammer content and ingame testing.
Thanks for this! Makes everything easier. :)
[QUOTE=0bama;48082973]Thanks for this! Makes everything easier. :)[/QUOTE] Or you could just go to C:\Program Files (x86)\Steam\SteamApps\common\GarrysMod\bin and launch Hammer.exe from there. No extra actions required.
My Hammer viewports are all black in the Gmod directory... I dont even bother and just use CS:S's hammer
[QUOTE=Robotboy655;48107652]Or you could just go to C:\Program Files (x86)\Steam\SteamApps\common\GarrysMod\bin and launch Hammer.exe from there. No extra actions required.[/QUOTE] Last I checked, it was broken-- and without an option for mounting Garrysmod. [QUOTE=Exho;48108480]My Hammer viewports are all black in the Gmod directory... I dont even bother and just use CS:S's hammer[/QUOTE] Ditto ^
I can't even launch mine because it bitches about gameinfo or something like that.
Yeah and I fixed it by putting the gameinfo.txt in the directory it mentioned. Then I discovered black viewports
VBCT configuration for all those clueless (SDKPaths.pro): [code] SDKPath C:\Program Files (x86)\Steam\steamapps\common\source sdk base 2013 singleplayer\bin GamePath C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\garrysmod ProjectPath C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\garrysmod EngineType garrysmod GameType Garrysmod MapFile C:\Program Files (x86)\Steam\steamapps\common\Garrysmod\Mapping\placeholder.vmf [/code]
Sorry, you need to Log In to post a reply to this thread.