/r/hammer

Photograph via snooOG

This subreddit is meant for everything around the mapping tool Hammer. Here you can post questions, get feedback, help others, or simply brag about your work!

Welcome! This subreddit is meant for everything around the mapping tool Hammer (GoldSrc, Source and Source2). Here you can post questions, get feedback, help others, or simply brag about your work!


Posting guidelines:

  1. Be humble and nice.

  2. Please try to avoid requests.

  3. Please tag your post with what game it is for. E.g: [CSGO].

  4. Please mark your post with the appropriate flair.


Join the SourceEngine Discord chat!


Useful links:

Hammer related FAQs by TopHATTwaffle.

3kliksphilip guides.

More YouTube tutorials by reddit user awkook.

How to use light_environment.

Source engine water types.

Official Valve guides.


Related subreddits:

/r/SourceEngine

/r/CSMapMakers

/r/GlobalOffensive

/r/TF2

/r/HalfLife

/r/L4D2

/r/hammer

25,734 Subscribers

4

Another update on the small town. Also any tips for optimization?

1 Comment
2024/11/04
05:40 UTC

10

Making a Gmod Map and does anyone encountered a problem like this when carving?

6 Comments
2024/11/04
02:25 UTC

6

I'm Suddenly Experiencing Some Texture Issues in Editor and In-Game (For Example, The Road Distorting When Viewed from a Distance) I'm Unsure How to Solve the Problem, Even with My Graphics Settings Turned to Max and Running It on Default.

5 Comments
2024/11/03
23:44 UTC

0

CS2 map decompiling

https://preview.redd.it/odployotlryd1.png?width=919&format=png&auto=webp&s=8666c62b0e708034ed3cfa1d29f479a287b01584

does anyone know how to stop mesh geometry from breaking and entities merging together when decompiling CS2 maps? am I doing something wrong in source2viewer or am I moving the files into the wrong location? if this is just a bug are Valve planning on fixing it? it's been an issue since CS2 came out.

8 Comments
2024/11/03
22:49 UTC

8

can someone give me any tips how to make a better map than this (btw its my first map)

9 Comments
2024/11/03
22:04 UTC

1

Help (CS2)

I'm new to mapping in CS2 and i don't understand why the blocks i place aren't aligning with the grid. Does anyone know the solution?

https://preview.redd.it/j65zhn8aaqyd1.png?width=2511&format=png&auto=webp&s=4b2e1d749e878523396d1a47c7e0db9021f00208

3 Comments
2024/11/03
18:17 UTC

5

How do you put a spitter antlion into a level?

Every source I've found says to use the "worker" flag for the entity, I've tried this and it doesn't work.

Any info would be appreciated.

1 Comment
2024/11/03
16:54 UTC

3 Comments
2024/11/03
15:49 UTC

199

My map Cavern (CS2)

16 Comments
2024/11/03
10:46 UTC

1

How to add CS:S content to Gmod maps (Hammer++)

Some ttt/ph/sandbox maps uses CS:S props/models but I can't add these on my editor, do I open my folder in CS:Source's hammer editor?

3 Comments
2024/11/03
08:12 UTC

3

Having a huge problem that's preventing me from uploading my map

I'm making a map that's cs_militia at night. One thing that I wanted to add to it to make it unique was a generator-like light source that could be toggled off and on that would affect all the lights in the house. It's simple: Just a func_button that is tied to the light sources in the house, which are all named/tied into 1 group called lights. However, this is the problem, as when I compile, the lights are just... off. Even when I interact with the generator it does absolutely nothing to said lights. The lights only work when I go back on hammer and remove the tied names of the lights. This has been driving me crazy and every time I look for a solution its either vague or doesn't make sense. Any solutions? Work-arounds? Or something completely different?

Example of the light groups and the func_button I'm describing.

2 Comments
2024/11/02
23:04 UTC

1

Water is invisible, even tough i have no leakes

I have been trying to make a map with a big lake, but when i decompile the map and play it in game, the water just becomes invisible, my map has no leaks and the water isn't clippin with anything, how do i fix this?

1 Comment
2024/11/02
21:59 UTC

6

Where should i put the scripts folder, in the folder that will become a gma

1 Comment
2024/11/02
21:52 UTC

1

-staticproppolys -staticproplighting vs. Vanilla VRAD. (little comparison in gmod)

Vanilla VRAD

-staticproppolys -staticproplighting

Well as you can see this improves the Static Prop lighting A TON compared to the default method. The shadow is casted perfectly rather than having the whole model barely lit or illuminated. But well, I can't decide if I'll start using it for my every future upcoming maps.

Here is the custom compile parameter I use:

-ldr -extrasky 16 -staticproppolys -staticproplighting -game $gamedir $path$file

-hdr -extrasky 16 -staticproppolys -staticproplighting -game $gamedir $path$file

(yes I've split them instead of -both and -extrasky would be the same as -final)

0 Comments
2024/11/02
21:08 UTC

65

what is this texture name in hammer?

8 Comments
2024/11/02
20:46 UTC

13

WIP Map

2 Comments
2024/11/02
17:27 UTC

2

Custom Win\Lose Voice

When creating custom sounds for the announcer I encountered the following problem - sounds of victory | defeat | draw | are missing in the script.

For example, the announcer sounds related to capture, loss, etc. of intelligence are prescribed in the script and they can be replaced by creating your own script and file paths in it.

So I don't quite understand how to load sounds to replace the sounds of victory | defeat.

1 Comment
2024/11/02
17:23 UTC

9

Weird holes appearing in my map

https://preview.redd.it/cxuroowd0iyd1.jpg?width=1920&format=pjpg&auto=webp&s=993c80598bada0c4c9117e93065b4eeb2ec22f4e

Im trying to make a map, and i keep getting theese weird holes. Im using the hammer from hl2's bin file.

18 Comments
2024/11/02
14:27 UTC

2

Custom Announcer Voice

I wanted to make custom announcer sounds, made a script, uploaded to the right folder the sounds.

They work - no problems with that.

The only problem is the volume of these sounds, no matter how I changed the script, the sound does not change at all - as it was quiet and remained so.

Сode of the script file:

"CaptureFlag.TeamCaptured"
 {
"channel""CHAN_VOICE2"
"volume""SNDLVL_NONE"
"pitch""PITCH_NORM"

"soundlevel""SNDLVL_NONE"
 "wave"  "maps/2fort_bazirovani/WeCappG.wav"
 }

 "CaptureFlag.TeamDropped"
 {
"channel""CHAN_VOICE2"
"volume""SNDLVL_NONE"
"pitch""PITCH_NORM"

"soundlevel""SNDLVL_NONE"
 "wave"  "maps/2fort_bazirovani/WeDropG.wav"
 }

 "CaptureFlag.TeamStolen"
 {
"channel""CHAN_VOICE2"
"volume""SNDLVL_NONE"
"pitch""PITCH_NORM"

"soundlevel""SNDLVL_NONE"
 "wave"  "maps/2fort_bazirovani/WeTakeG.wav"
 }

 "CaptureFlag.TeamReturned"
 {
"channel""CHAN_VOICE2"
"volume""SNDLVL_NONE"
"pitch""PITCH_NORM"

"soundlevel""SNDLVL_NONE"
 "wave"  "maps/2fort_bazirovani/WeBackG.wav"
 }

 "CaptureFlag.EnemyCaptured"
 {
"channel""CHAN_VOICE2"
"volume""SNDLVL_NONE"
"pitch""PITCH_NORM"

"soundlevel""SNDLVL_NONE"
 "wave"  "maps/2fort_bazirovani/TheyCappG.wav"
 }

 "CaptureFlag.EnemyDropped"
 {
"channel""CHAN_VOICE2"
"volume""SNDLVL_NONE"
"pitch""PITCH_NORM"

"soundlevel""SNDLVL_NONE"
 "wave"  "maps/2fort_bazirovani/TheyDropG.wav"
 }

 "CaptureFlag.EnemyReturned"
 {
"channel""CHAN_VOICE2"
"volume""SNDLVL_NONE"
"pitch""PITCH_NORM"

"soundlevel""SNDLVL_NONE"
 "wave"  "maps/2fort_bazirovani/TheyBackG.wav"
 }

 "CaptureFlag.EnemyStolen"
 {
"channel""CHAN_VOICE2"
"volume""SNDLVL_NONE"
"pitch""PITCH_NORM"

"soundlevel""SNDLVL_NONE"
 "wave"  "maps/2fort_bazirovani/TheyTakeG.wav"
 }
3 Comments
2024/11/02
14:06 UTC

9

Some teaser photos of map progress on my Trailer Park RP themed map.

Am open to a few suggestions for things to possibly add!

8 Comments
2024/11/02
12:25 UTC

71

An update to my map

Hello, here is an update to Full Run Test V1. The physical layout is nearly complete, I just need to fix the lighting and color correction. Any pointers are appreciated and more than welcome.

8 Comments
2024/11/02
10:00 UTC

3

Update to my office style level

0 Comments
2024/11/02
09:18 UTC

109

an update on that small town

13 Comments
2024/11/02
05:43 UTC

46

how do I make this wall not look like this

18 Comments
2024/11/01
23:43 UTC

1

How do I install hammer++ with Portal 2?

I can't find any tutorials on how to specifically do it for portal 2, the website of hammer++ says to use the gmod build but the directories for gmod and portal 2 differ a little so im kinda confused. Any help is appreciated

0 Comments
2024/11/01
22:19 UTC

1

How to upload this soundpacks ?

like this one https://steamcommunity.com/sharedfiles/filedetails/?id=3230015783

i want to make my own i already have workshop tools and sounds ready in addons content

edit : ok i know how if anyone intrested let me know

0 Comments
2024/11/01
18:17 UTC

16

***** OUT OF MEMORY! error****

At what point did my card stop compiling with this error, what can I do? I have 16 GB of RAM and RTX 3070

last version windows 10 CS2

***** OUT OF MEMORY! /+/ attempted allocation size: 131072 ****
--------------------------------------------------------- Encountered error. Wrote minidump to .\resourcecompiler_2024_1101_133904_0_error.mdmp ---------------------------------------------------------

End build: 2024-11-01T13:39:05, elapsed time 0h:06m:54s.978ms

https://preview.redd.it/fb3sxb4369yd1.png?width=787&format=png&auto=webp&s=99ac1105d64e82de3cf54dfcdd3f3122aa860a81

8 Comments
2024/11/01
08:43 UTC

61

pointfile tells me there's a leak outside the grid

12 Comments
2024/11/01
01:04 UTC

6

how can I publish multiple maps?

I'm sorry if this isn't the correct subreddit for this question but I want to find out how to make an addon with two maps in it. I've used crowbar for my last map but I can't get it to upload two maps. is there any way to do this with crowbar or is there some other program I can use?

5 Comments
2024/10/31
23:33 UTC

Back To Top