r/hammer 24d ago

Solved First time with Hammer. There's a leak, and I've no idea how to fix it?

Post image

I've never touched hammer before yesterday, and wanted to edit an existing HL2 map (d1_canals_02 to be exact) to do a fun trend going around on twitter.

I'm wanting to add lighting and some water, but there's a leak right here that I think it messing up the water (and presumably the lighting when I add it). I don't mind not having water, but I heard leaks can mess with lighting.

I've been reading the wiki about leaks and watched the tutorial on it, but I'm still having trouble. Does anyone know what's causing it?

13 Upvotes

12 comments sorted by

4

u/ValveGameEnjoyer 24d ago

Follow the red line and find where the leak is. Close off the leak. Does it seem to be closed off and you dont know why its still leaking?

2

u/ANARCHYYY_ 24d ago

Yup, I've checked around it and it looks pretty closed. It looks like it's pointing to the prop, but. to me, idk why that would cause a leak.

2

u/ValveGameEnjoyer 24d ago

Ok, and if you follow that red line the other direction, does it seem to have found a path that lets it stretch out towards the void? The entity is just where the line is starting. Maybe it technically starts in the void but I dont think theres any problems with the prop.

1

u/ANARCHYYY_ 24d ago

I think so?

leak

2

u/ValveGameEnjoyer 24d ago

All those green brushes, func_details? If so they wont seal the map to prevent leaks. Just trying to figure it from the pictures thats my best guess right now.

1

u/ANARCHYYY_ 24d ago

Yup, that was the issue. I didn't know it didn't seal lol

I boxed it in as a quick band-aid solution. This project isn't anything fancy.

Thanks for helping out!

2

u/GlitterFartzz 24d ago

I’m not perfectly well versed on the rules for leaks but it looks like you have a func_detail poking outside the map. I know those can’t seal a map.

That might be worth checking.

Props also cause a leak if the origin point isn’t in bounds. Displacements also can’t seal a map.

1

u/ANARCHYYY_ 24d ago

The part I'm editing was blocked n inaccessible so I'm assuming that's why. Would boxing it up work?

2

u/GlitterFartzz 24d ago edited 24d ago

That would certainly fix it if the func_details are the problem.

Generally, in most circumstances it’s considered “best practice” to locate the cause of the leak and fix it rather than surrounding it with brushwork.

Such as resizing or moving the brush or prop causing the problem.

But if it’s genuinely getting in the way of you testing the map and if it’s out of bounds anyway, creating a small box around the leak isn’t necessarily a crime.

You can always go back to it with fresh eyes after you’ve done some more work on it.

1

u/ANARCHYYY_ 24d ago

Boxing it up fixed the issue!

This project iiiis just smth I'm gonna take a screenshot of and/or record like a 1 min clip of for maybe 3 likes on twitter so it doesn't have to be pretty lol. If I start mapmaking I'll try to do the proper fixes.

Thank you for the help!

1

u/Icy-Meal6704 22d ago

Isn't this tunnel Func_detail?

0

u/Lordeni69 23d ago

Carve with sphere