Please or Register to create posts and topics.

random false leaks

Page 1 of 2Next

im making a co-op map, but random leaks that arent even leaks show up. could anyone help? .vmf is included.

you know who i am?! i'm the man who's gonna burn your map down, with the lemons, im gonna get my coders to create a combustible lemons, that burns your map down!

I took out the area portal over the door and it compiled and ran fine. Area portals can create leaks (which are different to normal ones) if you use them incorrectly. That's the extent of my knowledge on area portals. I wouldn't try to use them unless you know how to.

Yep, the areaportal was causing the leak, so best to remove it, or better yet, read a tutorial on it's proper usage.

Other issues:

There were a couple of props that the compiler shows as out of the map, so you may want to check them (the compile log gives you the coordinates). Also, the big box surrounding the map is a bad idea.

I noticed you have used a shitload of light entities. A better solution would be to use a light_environment. This works in conjunction with the sky texture, and causes the sky to emit light in a specified direction.

I also noticed that you have used the carve tool for the doorway hole (or copied the hole from a decompiled map). You would be better served by using the clip tool, and making the hole yourself. You should then func_detail the resulting angular brushes. It's better to have a simple rectangular hole of solid geometry for your doors, with the triangles around the door as func_detail. This will also make it easier to properly incorporate areaportals later if you need to.

I don't have time to properly look at your map at the moment, but these are the things that jumped out at me. Regarding optimisation in general, including areaportals, have a read of this site, which has a pretty good guide to the techniques available to you.

NocturnalGhost wrote:
Also, the big box surrounding the map is one of the worst things you can do when building a map.
[Important Threads] Forum Rules | Welcome to the new Thinking With Portals
Please do not Private Message me for assistance. Post a thread if you have questions or concerns.
If you need to contact the staff privately, contact the Global Moderators via Discord.

i deleted the areaportal but the leaks are still showing and its always through the same spot in the skybox and it's always the lights(i have deleted most of them) please help

you know who i am?! i'm the man who's gonna burn your map down, with the lemons, im gonna get my coders to create a combustible lemons, that burns your map down!

Attach your updated vmf

here is the updated .vmf

you know who i am?! i'm the man who's gonna burn your map down, with the lemons, im gonna get my coders to create a combustible lemons, that burns your map down!

Deleting the areaportal fixed the leak that you had last time. The new leak has been caused by your additions since then, specifically the corridor leading to your exit room. The instance that you have used has a portal chamber door, and the wall surrounding the door is func_detail. Your walls in the corridor leading up to this room don't take this into account, which is why the leak is occuring. You need to make the walls wider so it seals properly.

You still have two light props showing as outside the map. This is because you have embedded them in the ceiling, rather than cutting out a proper hole for them.

You have also used the carve tool to cut out cylinder holes for your doors. This is a bad idea, since it makes all sorts of nasty triangles splitting up the walls, which causes errors in the compiler, and will make it impossible to resize the walls in future. You should cut out the hole for the door properly using the clip tool, preferably making the triangles immediately surrounding the door into func_detail, as was done in the instance you used for the exit chamber.

I made a quick map earlier to demonstrate this to somebody on the steam forums. I'll attach it to my post:

portal_chamber_door.zip

You still have a shitload of light entities BTW. You are aware than you can adjust the brightness of them so you won't need so many, right?

NocturnalGhost wrote:
You have also used the carve tool to cut out cylinder holes for your doors.

Actually it doesn't look like he has done that at all. It looks like a really bad clipping job to me.

what i meant by lights was actually the light entities not the instance ones. if i try to run the map, it just says that there is a leak from a light, but pointfile cuts through a solid block, not a func detail. plz help.

you know who i am?! i'm the man who's gonna burn your map down, with the lemons, im gonna get my coders to create a combustible lemons, that burns your map down!
Page 1 of 2Next