r/hammer • • 2h ago

Unsolved Need skin help

2 Upvotes

I’m asking here because I have no idea what i’m doing i am very very new to this. I want to add more skin options to some props but i have no idea how to do so without overriding the existing textures.
Anyone have an answer?

Visual examples help best by the way


r/hammer • • 3h ago

HL2 Can't get plugs to attach with phys_magnet without using Disable Motion, but I will need to retrigger the cable to be unplugged.

2 Upvotes

Exactly in the title. I have a Physlength_cable attached to two metal func_physboxes and I need them to stay in placed to plug in correctly


r/hammer • • 5h ago

Fluff My cheaple broke

113 Upvotes

I got hungry and took a bit outta his arm


r/hammer • • 9h ago

Hammer blacks out after opening model browser

Thumbnail
gallery
4 Upvotes

"Check the debug log" put there is no debug log.


r/hammer • • 20h ago

When you can't find a good skybox texture

Thumbnail
youtu.be
15 Upvotes

Something I always wanted to do was to create assets from within Hammer. Now that the modding tool has it's own level editor, I can do this kind of stuff.

I've been working for a while in a skybox generator, inspired by Terragen, but using algorythms for light scattering, clouds and atmosphere from more recent papers. Now I can generate the skybox I want for whichever time and weather conditions I want: clear skies, scattered clouds, overcast, rainy, foggy.

Just wanted to share this.


r/hammer • • 20h ago

Unsolved What are the limits to custom sounds? File size, length, etc?

Post image
6 Upvotes

Trying to find more information on what limits I can push with my custom ambient tracks for my map. On the left is a looping 20 second track that works fine in hammer and in game but on the right is a looping track that spans 2 minutes but works only in hammer. The sample size for both are 16, Sample rate 44.100kHz, 2 Channel Stereo, Bit rate 1411kbps. My guess for this is file size but I would like to know what the limits are regarding length and file size just so I don't have to keep guessing.


r/hammer • • 22h ago

I'm making a gmod map. This is very WIP

Post image
56 Upvotes

r/hammer • • 22h ago

Garry's mod why is there this weird seam in the lighting here?

Thumbnail
gallery
6 Upvotes

as far as I'm aware, the textures are aligned so I have no idea why this is happening. the lightmaps were not the same resolution but i fixed that and the seam is still there? am i using the wrong materials? maybe it could be the specific resolution of the lightmap scale, but that seems unlikely.


r/hammer • • 1d ago

Garry's mod Today I woke up and decided to start making Garry's Mod maps.

Post image
114 Upvotes

I have no idea what I am doing and learning as I go :P


r/hammer • • 1d ago

Fluff Finally got back to mapping after a long break

10 Upvotes

r/hammer • • 1d ago

GoldSrc E X C A V A T I 🔴 N ™ | GoldSrc engine game | Devlog 38

16 Upvotes

r/hammer • • 1d ago

My attempt at replicating the Source 2 (mainly Half Life Alyx) feel in hammer!!

Thumbnail
gallery
260 Upvotes

currently runs at 115 fps with all addons disabled. no csm lighting, only really high luxel scales


r/hammer • • 1d ago

GoldSrc Rate the mapping setup

Post image
578 Upvotes

r/hammer • • 1d ago

RenaissanceE (Gmod map)

Thumbnail
gallery
36 Upvotes

r/hammer • • 1d ago

Unsolved Running into a memory issue when compiling

2 Upvotes

messing around and making a very unserious map, running into a memory issue

Using shader api: shaderapiempty.dll

materialPath: C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\ep2\materials

Loading C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\bin\CustomMaps\BigAssMaptest3.vmf

ConVarRef mat_specular_scalar doesn't point to an existing ConVar

Could not locate 'GameData' key in c:\program files (x86)\steam\steamapps\common\half-life 2\ep2\gameinfo.txt

fixing up env_cubemap materials on brush sides...

0...1...2...3...4...5...6...7...8...9...100...1...2...3...4...5...6...7...8...9...10Processing areas...done (0)

Building Faces...done (0)

Chop Details...done (0)

Find Visible Detail Sides...

Merged 318 detail faces...done (0)

Merging details...done (0)

FixTjuncs...

PruneNodes...

WriteBSP...

done (0)

writing C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\bin\CustomMaps\BigAssMaptest3.prt...Building visibility clusters...

done (0)

Creating default LDR cubemaps for env_cubemap using skybox materials:

skybox/sky_wasteland02*.vmt

! Run buildcubemaps in the engine to get the correct cube maps.

Creating default HDR cubemaps for env_cubemap using skybox materials:

skybox/sky_wasteland02*.vmt

! Run buildcubemaps in the engine to get the correct cube maps.

Finding displacement neighbors...

Finding lightmap sample positions...

Displacement Alpha : 0...1...2...3...4...5...6...7...8...9...10

Building Physics collision data...

done (1) (572774 bytes)

Placing detail props : 0...1...2...3...4...5...6...7...8...9...10

Compacting texture/material tables...

Reduced 6810 texinfos to 3300

Reduced 12 texdatas to 11 (333 bytes to 276)

Writing C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\bin\CustomMaps\BigAssMaptest3.bsp

1 second elapsed

28 threads

reading c:\program files (x86)\steam\steamapps\common\half-life 2\bin\custommaps\BigAssMaptest3.bsp

reading c:\program files (x86)\steam\steamapps\common\half-life 2\bin\custommaps\BigAssMaptest3.prt

182 portalclusters

360 numportals

0...1...2...3...4...5...6...7...8...9...100...1...2...3...4...5...6...7...8...9...10Optimized: 4 visible clusters (0.02%)

Total clusters visible: 26382

Average clusters visible: 144

Building PAS...

Average clusters audible: 180

visdatasize:9796 compressed from 8736

writing c:\program files (x86)\steam\steamapps\common\half-life 2\bin\custommaps\BigAssMaptest3.bsp

0 seconds elapsed

[Reading texlights from 'lights.rad']

[48 texlights parsed from 'lights.rad']

Loading c:\program files (x86)\steam\steamapps\common\half-life 2\bin\custommaps\BigAssMaptest3.bsp

15992 faces

22635328 square feet [3259487232.00 square inches]

0 Displacements

0 Square Feet [0.00 Square Inches]

15992 patches before subdivision

352934 patches after subdivision

2 direct lights

0...1...2...3...4...5...6...7...8...9...100...1...2...3...4...5...6...7...8...9...10transfers 86656680, max 1640

transfer lists: 661.1 megs

0...1...2...3...4...5...6...7...8...9...10 Bounce #1 added RGB(195412, 144041, 82749)

0...1...2...3...4...5...6...7...8...9...10 Bounce #2 added RGB(98140, 74279, 44665)

0...1...2...3...4...5...6...7...8...9...10 Bounce #3 added RGB(23238, 17627, 10391)

0...1...2...3...4...5...6...7...8...9...10 Bounce #4 added RGB(17259, 13408, 8207)

0...1...2...3...4...5...6...7...8...9...10 Bounce #5 added RGB(5050, 3928, 2352)

0...1...2...3...4...5...6...7...8...9...10 Bounce #6 added RGB(3576, 2849, 1770)

0...1...2...3...4...5...6...7...8...9...10 Bounce #7 added RGB(1152, 920, 561)

0...1...2...3...4...5...6...7...8...9...10 Bounce #8 added RGB(791, 647, 409)

0...1...2...3...4...5...6...7...8...9...10 Bounce #9 added RGB(272, 223, 139)

0...1...2...3...4...5...6...7...8...9...10 Bounce #10 added RGB(184, 154, 100)

0...1...2...3...4...5...6...7...8...9...10 Bounce #11 added RGB(66, 56, 36)

0...1...2...3...4...5...6...7...8...9...10 Bounce #12 added RGB(44, 38, 25)

0...1...2...3...4...5...6...7...8...9...10 Bounce #13 added RGB(17, 14, 9)

0...1...2...3...4...5...6...7...8...9...10 Bounce #14 added RGB(11, 10, 7)

0...1...2...3...4...5...6...7...8...9...10 Bounce #15 added RGB(4, 4, 3)

0...1...2...3...4...5...6...7...8...9...10 Bounce #16 added RGB(3, 3, 2)

0...1...2...3...4...5...6...7...8...9...10 Bounce #17 added RGB(1, 1, 1)

0...1...2...3...4...5...6...7...8...9...10 Bounce #18 added RGB(1, 1, 1)

Build Patch/Sample Hash Table(s).....Done<0.0604 sec>

0...1...2...3...4...5...6...7...8...9...10FinalLightFace Done

0 of 0 (0% of) surface lights went in leaf ambient cubes.

0...1...2...3...4...5...6...7...8...9...10Writing leaf ambient...done

Ready to Finish

Object names Objects/Maxobjs Memory / Maxmem Fullness

------------ --------------- --------------- --------

models 8/2048 384/98304 ( 0.4%)

brushes 1446/16384 17352/196608 ( 8.8%)

brushsides 8838/65536 70704/524288 (13.5%)

planes 948/65536 18960/1310720 ( 1.4%)

vertexes 23006/65536 276072/786432 (35.1%)

nodes 4329/65536 138528/2097152 ( 6.6%)

texinfos 3300/16384 237600/1179648 (20.1%)

texdata 11/8096 352/259072 ( 0.1%)

dispinfos 0/0 0/0 ( 0.0%)

disp_verts 0/0 0/0 ( 0.0%)

disp_tris 0/0 0/0 ( 0.0%)

disp_lmsamples 0/0 0/0 ( 0.0%)

faces 15992/65536 895552/3670016 (24.4%)

hdr faces 0/65536 0/3670016 ( 0.0%)

origfaces 7499/65536 419944/3670016 (11.4%)

leaves 4338/65536 138816/2097152 ( 6.6%)

leaffaces 17711/65536 35422/131072 (27.0%)

leafbrushes 4459/65536 8918/131072 ( 6.8%)

areas 3/256 24/2048 ( 1.2%)

surfedges 105131/512000 420524/2048000 (20.5%)

edges 54420/256000 217680/1024000 (21.3%)

LDR worldlights 2/8192 176/720896 ( 0.0%)

HDR worldlights 0/8192 0/720896 ( 0.0%)

leafwaterdata 0/32768 0/393216 ( 0.0%)

waterstrips 174/32768 1740/327680 ( 0.5%)

waterverts 0/65536 0/786432 ( 0.0%)

waterindices 2598/65536 5196/131072 ( 4.0%)

cubemapsamples 0/1024 0/16384 ( 0.0%)

overlays 2/512 704/180224 ( 0.4%)

LDR lightdata [variable] 27077096/0 ( 0.0%)

HDR lightdata [variable] 0/0 ( 0.0%)

visdata [variable] 9796/16777216 ( 0.1%)

entdata [variable] 7445/393216 ( 1.9%)

LDR ambient table 4338/65536 17352/262144 ( 6.6%)

HDR ambient table 4338/65536 17352/262144 ( 6.6%)

LDR leaf ambient 8223/65536 230244/1835008 (12.5%)

HDR leaf ambient 4338/65536 121464/1835008 ( 6.6%)

occluders 0/0 0/0 ( 0.0%)

occluder polygons 0/0 0/0 ( 0.0%)

occluder vert ind 0/0 0/0 ( 0.0%)

detail props [variable] 1/12 ( 8.3%)

static props [variable] 1/206 ( 0.5%)

pakfile [variable] 173800/0 ( 0.0%)

physics [variable] 572774/4194304 (13.7%)

physics terrain [variable] 2/1048576 ( 0.0%)

Level flags = 0

Total triangle count: 42974

Writing c:\program files (x86)\steam\steamapps\common\half-life 2\bin\custommaps\BigAssMaptest3.bsp

1 minute, 10 seconds elapsed

[Reading texlights from 'lights.rad']

[48 texlights parsed from 'lights.rad']

Loading c:\program files (x86)\steam\steamapps\common\half-life 2\bin\custommaps\BigAssMaptest3.bsp

15992 faces

22635328 square feet [3259487232.00 square inches]

0 Displacements

0 Square Feet [0.00 Square Inches]

15992 patches before subdivision

then the "command failed with return code 0xC0000005!" error


r/hammer • • 1d ago

Currently in the process of making brush based vehicles for my map and thought yall would be horrified at the Portal File in my devbox

Post image
93 Upvotes

I know propper and func_detail exist, this is what the vehicles look like as raw brushes


r/hammer • • 1d ago

Source How to only allow button press if user has a certain amount of money?

8 Upvotes

I'm trying to make a Counter-Strike: Source map in which a user can only press a button if they have at least $5000. Is there any way to do this? Thank you!


r/hammer • • 2d ago

Need help importing a Blender-made map into CS 1.6 (GoldSrc)

7 Upvotes

Hey everyone!

I've spent the last two weeks trying to get a custom map I created in Blender into Counter-Strike 1.6, and I'm completely stuck.

The map is a recreation of a real-world location, with buildings, roads, and custom facade textures. I really want to preserve the geometry and texture placement instead of rebuilding everything manually.

Here's what I've tried:

  • Exporting from Blender using the io_export_qmap addon (Valve 220 .map format).
  • Different export modes: Walls, Faces, and Brushes.
  • Opening and compiling the map in both J.A.C.K. and TrenchBroom.
  • Using ZHLT/VHLT compilation tools.

Problems I've encountered:

  • Some building corners become invisible or transparent in-game, especially when NULL textures are used on hidden brush faces.
  • Some exported brushes have invalid geometry (coplanar planes, illegal brushes).
  • Compilation errors including MAX_MAP_CLIPNODES.
  • Thousands of texture-alignment warnings.

Is there a reliable workflow for bringing an already textured Blender environment into GoldSrc?

Would it be better to convert buildings into GoldSrc .mdl models and create simplified BSP collision geometry? Or is there a better way to preserve the original textures and geometry?

I'm happy to share my Blender project, exported .map file, and compiler logs.

Any help would be massively appreciated!


r/hammer • • 2d ago

Unsolved I want to create a dense fog.

7 Upvotes

Hello! I want to create a dense fog on my map. The problem is that when I try to set it up, the 3D skybox becomes visible beyond the fog's boundary, which ruins the effect. Interestingly, when I move outside the map boundaries, into the void, the fog suddenly starts working more or less the way I intended.


r/hammer • • 2d ago

Source 2 The last time showing the Times Square Ball in every angle on Counter Strike 2 #cs2 #timessquare

Thumbnail
youtu.be
8 Upvotes

Final video of the times square Sphere


r/hammer • • 2d ago

Garry's mod Need help finding a map I forgot

1 Upvotes

The map contains a blue underground train station with 2 tall buildings (with elevators and an office flat) once you reached the surface. I think it's supposed to be set in Japan or smthing.

Thx for help in advance :)


r/hammer • • 3d ago

GoldSrc I just found out my first map ever (it's my college)

16 Upvotes

r/hammer • • 3d ago

TF2 Hello. Idk how i got lightning, is this a good lightning? Its my first attempt at making a good lightning. Is this good or no? If not what should i change?

Thumbnail
gallery
17 Upvotes

r/hammer • • 3d ago

Garry's mod Ghost bar

Post image
83 Upvotes

The blue one has an amazing singing voice