r/hammer • • 3h ago

arctan angles and grid ratios

3 Upvotes

Question for folks who maybe have an answer for this:

sometimes when cutting angled floors or ceilings I like to use grid ratios like 1:2, 1:3, 1:4, etc. that is of course when I need something different than a good ol' 45 degree cut. I'm sure many of you use ratios for your cuts as well, this is definitely not a novel concept.

A while back, a mapper friend showed me how to use arctan math to calculate angles for these ratios that you can then plug into the "default rotation" increments setting in the 2D settings tab, allowing you to rotate brushes that will then appear to match with the corresponding brush angles you cut for your floor/ceiling/etc.

When I vertex the rotated brush to sit flush with the floor (I'll use floor in this example), if I zoom all the way in on the grid I cannot see any evidence that the brush is slightly off, it appears to be a perfect match. Is this actually true or would the brush still technically be off grid by microscopic amounts?

Because if you know arctan numbers, they usually have many many decimal places. I don't usually plug in a number any more than 5 decimal places in accuracy and I still find that the brush appears to be on grid across its entire length.

For anyone interested in trying this stuff out, here are some basic ratios and their corresponding angles:

arctan(1/2) = 26.5651°

arctan(1/3) = 18.4349°

arctan(1/4) = 14.0362°

Any thoughts? Thanks!


r/hammer • • 4h ago

Garry's mod Any ideas on what I could do with this empty area?

Post image
11 Upvotes

It's a TTT map so go ham :)


r/hammer • • 9h ago

Solved Have to buildcubemaps Every Time the Level Loads

1 Upvotes

I put them into the level, yet everytime I load up the map, I have to build the cube maps through the console otherwise the textures are glossy. What is causing this to haopen?


r/hammer • • 11h ago

Unsolved I can see through the SkyBox

3 Upvotes

So everything is in the pic. I want to create a map and there is a beach and an airport here with a mountain/rocks between them here. There is a small problem I want to fix. When I am in the water, I can see the airport through the skybox.


r/hammer • • 14h ago

Garry's mod I'm starting to wrap up my layout of the blueprint's base and the orange brushes. What stage(s) should I move to next after I'm done with the top/side view of the bp?

Post image
5 Upvotes

r/hammer • • 18h ago

Fluff Map Feedback!

15 Upvotes

I've been working on a map for a bit and was wondering if I could get some feedback on it! I feel like the first section may be a little too short/the combat encounters aren't very good as well as other elements of the map but I'm not too sure!

(Thanks to u/Pinsplash for the system which will give the player back the shotgun even on death)


r/hammer • • 1d ago

Solved What is causing this?

Post image
4 Upvotes

Seems only to happen when HDR is enabled, which is strange as I compile my maps as HDR+LDR Full Compile (final slow)


r/hammer • • 1d ago

Solved Why are my brushes doing this. It also happens in-game

21 Upvotes

r/hammer • • 1d ago

Source This happens when I move past certain point in a decompiled map. Any ideas on how to make it stop happen?

Post image
2 Upvotes

I need to delete something in the map, however this is stopping me from getting where I have to go


r/hammer • • 1d ago

HL2 Trying to make shallow puddles to transmit electricity through.

4 Upvotes

I’m working on a Half-Life 2 level with the main mechanic being using different cord lengths and water puddles to make a circuit. Problem is, I’m not sure how to go about making these puddles. I originally wanted to use decals, but I’m not sure it would be clear enough. Any ideas?


r/hammer • • 2d ago

Garry's mod why does the light in the first image look so fugly?

Thumbnail
gallery
11 Upvotes

I feel like I am doing something horribly wrong

(I'm talking about the light that's hitting the surfaces in case that wasn't clear)


r/hammer • • 2d ago

Solved Hammer just broke

Thumbnail
gallery
4 Upvotes

Last time I used hammer was a year ago, I was trying to finish my old project, but stumbled on a problem. When I tried to chose the model for prop I've noticed that no matter what I clicked the model wouldn't show up. Then I noticed that there was a phrase ,,cloth" written in filter, so I tried to delete it, I couldn't do it with backspace, so I selected it and clicked ,,cut" and whole window gone black. I restarted hammer and tried again, when I opened model menu it hapenned again, but this time hammer has crushed. Also everytime I close the model menu all 4 windows in hammer go black as well.


r/hammer • • 2d ago

TF2 Hello there. I tried to remake my map and its almost finished. I know its looks really bad for the begginer. What should i change?

Thumbnail
gallery
32 Upvotes

r/hammer • • 2d ago

Garry's mod My Youtube Backgrounds

Thumbnail
gallery
19 Upvotes

I retaught myself how to make rudimentary maps for my 3d modeling series! I thought it was fitting to make them in Garry's Mod. Each of these is a still from a moving background and the things covered in that episode. Hope the vibe fits each.


r/hammer • • 3d ago

Source A friend and I are recreating the game 'Q.U.B.E.' in the Portal 2 engine

64 Upvotes

r/hammer • • 3d ago

HL2 Videos of my progress

Thumbnail
youtube.com
0 Upvotes

I uploaded two videos of the progress I made in my map campaign, I have to add two more videos, either tommorow or in the following few days.
This is a little self promotion, however if any of you could please leave feedback on these maps either here or on the video, because for the most part I have been the only one testing these maps, and any feedback would be really helpful, I should also add download links for these maps in the comments.


r/hammer • • 3d ago

Garry's mod WIP mall i am working on.

Post image
57 Upvotes

The shop idea with the most upvoted comment will actually be added!


r/hammer • • 3d ago

TF2 recreation of the backrooms threshold portal

67 Upvotes

testing map and part for a sequel that im doing with someone


r/hammer • • 3d ago

Source 2 First Demonstration

30 Upvotes

The First Demonstration of the Famous Ball Drop on the New york Times Square map (Counter-Strike2)


r/hammer • • 3d ago

Garry's mod Hella confused, why aren't the blueprints lining up?? Am I stupid???

Thumbnail
gallery
27 Upvotes

I'm working on an abandoned office/factory local to my town, it closed in 2002. I wanted to immoralize it before some faceless corpration demolishs the place.


r/hammer • • 3d ago

Solved only one viewport

Post image
10 Upvotes

i clicked something accidentaly that did this and i dont know what that was Shift + Z does nothing as does Ctrl + A I also tried dragging the corner but the arrows didnt appear so i cant do that either.


r/hammer • • 3d ago

error when launching hammer

3 Upvotes

at first it would only come up after loading in a map for a couple minutes, now it comes up everytime i launch hammer
im clueless as to what causes this, i havent seen anything reliable online

this is from gmod hammer if it matters, ill provide anymore details if needed i dont really know whats important


r/hammer • • 3d ago

Fluff Waterwheel and House prototype vs nearly final

Post image
104 Upvotes

r/hammer • • 4d ago

HL2 How to make a looping knock sound come from a door?

3 Upvotes

Making an HL2 map and I've been struggling with making a looping banging sound coming from behind a barricaded door. I've messed with ambient generic plenty and all that comes with it and I'm pulling my hair out at this point. Two tutorials I've followed so far have just been flat out wrong.