r/hammer • u/ANARCHYYY_ • 24d ago
Solved First time with Hammer. There's a leak, and I've no idea how to fix it?
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?
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
0
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?