Leaks

Tutorial collection, comprehensive listings on main site.

Leaks

Postby Tutorial on Wed Mar 30, 2005 9:23 pm

category
General Half-Life 2/Editor

description
The bane of every level designers existence, thankfully leaks are easily solved.

keywords
leak, leaks, void, leaked.

1) What the hell is a leak???
A leak is 'hole' in the walls of your map, leading to the void outside. When making a map, you should put things together carefully, so as to avoid leaks. But if you do get them . . .

2) Spotting Leaks

One of the more obvious, but less used ways, is to just have a quick look through the compile log. If you do have a leak, it will tell you near the top of VBSP's log:
Image
where it says:

**** leaked ****
Entity info_player_terrorist (88.10 -331.75 1.00) leaked!

is where VBSP detected the leak. Some other ways to find leaks in-game are by looking at any water in your map, or turning 'mat_wireframe' on:

Image
This should be water, but as you can see it is a big problem instead. this has happened because there is a leak.

Image
The map I am in is a big S shape, so the engine really shouldn't be rendering the other end of the S. It is though, because the leak stopped VVIS from running. To turn on wireframe, go to the console and type "sv_cheats 1" to turn on cheats, then "mat_wireframe 1" to turn on wireframe.

3) Fixing Leaks

After you've decided that your map definitely has a leak, go to Hammer and click Map > Load Pointfile, and agree to the confirmation box that comes up.

Image

A red line should have appeared snaking around your map:

Image

This red line will start in the void, pass through the leak, and end at the entity that VBSP first found (in this case, info_player_terrorist), so find the start of the red line, and follow it till it passes through a wall. this is where the leak is. It will never pass straight through solid wall (it will pass through any brush entities however; they don't seal maps), only through gaps at the edges, no matter how small they are.
So i've followed my red line and i find this:

Image

The leak is circled in orange. To fix it, simply resize one of the brushes around it so everything fits together:

Image

So compile the map again and enjoy the leak-free goodness. if there is still a leak, just go through this process again till there is none:
Image
Image
Image

Serever
- Don't send PM's to this user -
Tutorial
Not A Real User
 
Joined: Sun Mar 06, 2005 11:00 pm

Postby ishbog on Fri Apr 08, 2005 4:31 am

and dont forget to unload the pointfile before you compile again.
Imagine a world with no hypothetical situations.
http://www.nwmotoring.com
ishbog
Sir Post-a-lot
Sir Post-a-lot
 
Joined: Tue Mar 29, 2005 5:01 am
Location: hell

Postby YokaI on Sat Apr 16, 2005 4:15 am

What happens if my point file isnt working? is there a way to get it to work?
YokaI
Forum Goer Elite™
Forum Goer Elite™
 
Joined: Fri Dec 03, 2004 12:38 am

Postby Grim Reaper on Sun May 15, 2005 8:45 am

Would anything bad happened if i loaded the pointfile if i wasnt certain i had a leak.
Mapper
jman wrote:Blocky, yet good.

Image
Grim Reaper
May Contain Skills
May Contain Skills
 
Joined: Mon May 02, 2005 9:40 am
Location: Its this place, with air, and buildings, and there is lots of concrete...

Postby slayera on Sun May 15, 2005 9:40 am

I believe, depending on your setup more than anything, the point is deleted if you have a leak free compile.
Image


"When one person suffers from a delusion it is called insanity. When many people suffer from a delusion it is called religion." -Robert Pirsig
User avatar
slayera
Veteran
Veteran
 
Joined: Wed Dec 08, 2004 3:15 am
Location: Near the world's only super volcano.

Postby Grim Reaper on Sun May 15, 2005 9:55 am

So is that bad, good or neutral to what i do?
Mapper
jman wrote:Blocky, yet good.

Image
Grim Reaper
May Contain Skills
May Contain Skills
 
Joined: Mon May 02, 2005 9:40 am
Location: Its this place, with air, and buildings, and there is lots of concrete...

Postby Shifty31 on Mon May 16, 2005 12:35 pm

that little line that comes up when you load your point file seems to be under my skybox. It seems to be out of my skybox and because of this leak my water isnt showing up :(.

Can someone please help me with this.

EDIT: Here is a screenshot http://www.shiftsgames.net/downloads/ma ... _broke.jpg

Thanks Shifty :D
171157165040075040154145145164054
040053040123150174146164171
Image
User avatar
Shifty31
Been Here A While
Been Here A While
 
Joined: Sun May 01, 2005 1:53 pm

Similar

Postby Palgie on Sun May 22, 2005 2:18 pm

Yeah I Have A Problem Similar To That That Starts Out Of The SkyBox The Ends Up inside my map... :?

I think Thats WHy My water isnt working :(
Palgie
Member
Member
 
Joined: Sat May 21, 2005 8:38 pm

Postby Shifty31 on Sun May 22, 2005 9:05 pm

Yes thats your problim. I have looked around and the only way is to get all and things inside your skybox and place them on a new map then put a new skyox in and what ever you do dont bring that huge brush that is the size of your map ;)

Shifty
171157165040075040154145145164054
040053040123150174146164171
Image
User avatar
Shifty31
Been Here A While
Been Here A While
 
Joined: Sun May 01, 2005 1:53 pm

Postby serpent666 on Mon May 23, 2005 2:35 am

bah, every time i fix a leak it pops up wtih a new one

ive gone through 15 leaks until i got to one that i cant fix

it goes right through a wall, but the wall is solid and i know there isnt any leaks..


how gay
Image
User avatar
serpent666
Sir Post-a-lot
Sir Post-a-lot
 
Joined: Thu Apr 07, 2005 1:03 pm
Location: Perth , Western Australia

Postby RaccoonKing on Mon May 23, 2005 3:56 am

Is your whole map enclosed in skybox, or at least a basic brush pattern?

EDIT: What I mean is, did you change the shape of the bounding boxes around your map, or are they all standard cubes (rectangles)?
RaccoonKing
Been Here A While
Been Here A While
 
Joined: Wed May 18, 2005 2:15 pm

Palgie

Postby Palgie on Mon May 23, 2005 3:35 pm

Yo,
My Map Has A Rectangular Skybox... :oops: Plus Mine Also Passes Threw A Solid wall...
Palgie
Member
Member
 
Joined: Sat May 21, 2005 8:38 pm

Another Solution!

Postby Yaminoxi on Sat Jul 09, 2005 2:01 am

Dont use Translucent textures for boxes.. it worked for me.
The next thing I do I rush through so I can do the next thing.
Yaminoxi
Member
Member
 
Joined: Sat Jul 09, 2005 1:52 am
Location: Gosford, NSW, Australia

Postby Vallian88 on Sat Jul 09, 2005 4:08 am

There's no use digging up the dead...
kimi wo mezamesaseru nara nejimageyou ka? -Kirito

Club No Release
Image
User avatar
Vallian88
Regular
Regular
 
Joined: Thu Jun 30, 2005 8:08 pm
Location: Good Ol` Cali

Postby ishbog on Sat Jul 09, 2005 7:05 am

you have an entity outside your skybox if your pointfile is only outside your skybox. if you cant see it in 3d, use the 2d grid and delete it, or move it inside the skybox.
Imagine a world with no hypothetical situations.
http://www.nwmotoring.com
ishbog
Sir Post-a-lot
Sir Post-a-lot
 
Joined: Tue Mar 29, 2005 5:01 am
Location: hell
Next

Return to Tutorials

Who is online

Users browsing this forum: No registered users

cron