Garry's Mod

Garry's Mod

Not enough ratings
How to configure Hammer++ to work with Garry's Mod.
By Lady Alcina Dimitrescu
This guide will help you to make Hammer++ work with Garry's Mod.
   
Award
Favorite
Favorited
Unfavorite
Setup
https://www.youtube.com/watch?v=qC-qV2DPFJA

This video will tell you how to install Hammer++ for Garry's Mod.
Details
Meanwhile the video is pretty good at explainin everything.
It doesn't explain everything correctly OR 100% right.

Here is some of the things you should know:

Some of the quotation symbols in the description examples are incorrect, which can cause Hammer to fail in loading your custom content. The correct symbols should be " instead of ”.

In the video, the presenter instructs viewers to refer to the description for certain codes and comments that need to be added to their config files. However, some of these instructions are incorrectly typed.


Some of the things he forgot to explain

Counter Strike Source Mounting Code Line: game+mod "Steam's common folder\Counter-Strike Source\cstrike*_dir.vpk”

In this specific command, the \cstrike*_dir.vpk” part is INCORRECT.

Do not include * at the end of .
This could potentially prevent Hammer++ from loading your resources.

//Custom content game+mod "G:\Steam Games\steamapps\common\Source SDK Base 2013 Multiplayer\customConfig\custom*"

The * is included here to accommodate any potential content files.
For instance, if you wish to mount Left 4 Dead 2 or any other custom content such as textures, models, or particles downloaded from the internet, you should place your "customcontent" file into your "custom" folder.


Let's say you've downloaded some custom content, such as custom particles.

First, create a folder called "custom particles" or any name you prefer.
Then, place your "custom particles" folder inside the customConfig\custom\ directory that you've created.
Next, move the custom particles you downloaded into the "custom particles" folder.

The directory structure should resemble this:

customConfig\custom\custom particles\particles

(Yes, YOU HAVE TO name the folder as "particles").

Finally, add this command to your gameinfo.txt config:

game+mod "C:\Steam Games\steamapps\common\Source SDK Base 2013 Multiplayer\customConfig\custom\custom particles"
Fixing the "The specified module could not be found" error
This error likely prevented MANY people from using Hammer++ for Garry's Mod, as most tutorials only provide incomplete instructions.

Here's how you can fix this problem:

    []Press F9.[]Switch to Expert compiling mode.
  • Select either default or HDR+LDR compile (for now).

I'll assume you're using the Default compile mode

On the left side, you'll see 5 options:

$bsp.exe
$light.exe
$vis.exe
etc.

Select the last one.

On the right side, under "Command Properties" in the "Commands" section, you'll find a command like "$game_exe" or something similar. Delete that command, then click the "cmds" button and select the "executable" option.

Navigate to your Garry's Mod folder and choose the "hl.exe" file.

Below the commands section, you'll find parameters listed as:

-dev -console -allowdebug -hijack -game $gamedir +map $file

Delete the "-game" parameter.

Now compile your map, and it should work.

You can also use the -noworkshop command to bypass the workshop loading process in Garry's Mod, preventing any mods from loading and directly placing you into the map.
1 Comments
cachorrinho gaming 26 Apr @ 8:37pm 
THX A LOT MAN