Welcome, Guest! Login | Register

Finding Leaks Using Pointfiles [Print this Article]
Posted by: EarthQuake
Date posted: Jun 06 2003
User Rating: N/A
Number of views: 5675
Number of comments: 1
Description: Find those annoying leaks the easy way!
How to Find a Leak Using the Pointfile.

This guide is intended for everyone but I do require that you be familiar with Half-Life.

Admit it. We all get leaks in our levels sometimes (unless we're Jake), and there has been an easy way for people to find those leaks, but not enough people seem to know about this. The key is the pointfile generated during the compile process. It's extension is .pts, and it must be in the same directory as your map, because is vital to finding your leak. Make a shortcut to Half-Life and change the command line to something that should look like this:

"c:/sierra/half-life/hl.exe -console -dev -particles 10000 +map yourmap"

Where 'yourmap' is the filename of your level without the .bsp extension.

When the game loads you should notice that the level is full bright because hlrad.exe (or qrad.exe) did not run. If it is total dark, then type "r_fullbright 1" to allow yourself to see. Go into the console, and type "pointfile"; it should then say that a certain number of points were drawn.

Now, close the console and you should see a line bouncing off the walls. Follow it until you find the end. If it seems to disappear in and out of walls you may have to use "noclip" to be able to see where it goes. It should point to the exact spot of the leak.

Here's what you should see:

user posted image

Try downloading my sample level and finding the leak on your own. I bet you won't user posted image
Make sure you have the .pts in with the .bsp. Now, load up the map with the command line from above, and type "pointfile". It will draw the line to the exact spot".

Download Here

This method does not work 100% of the time, especially if you have multiple leaks. Ususally, if that was the case, then it would help you find them one by one. This guide is provided "as is" with no warrenty, and is correct to the best of my knowledge. If it screws your computer up then neither myself, nor TheWavelength.net is responsible for it. (Just some legal stuff)
Questions? Comments? Email me: earthquake@realsimpsons.com



Rate This Article
This article has not yet been rated.

You have to register to rate this article.
User Comments Showing comments 1-1

Posted By: Bertie on Sep 03 2004 at 21:36:57
Having an entity outside the map causes a leak. You won't see it with this method.
I suggest a faster method, works 100% of the time: "load pointfile" in the hammer menu. The red line goes directly to the problem.

You must register to post a comment. If you have already registered, you must login.

Latest Articles
3rd person View in Multiplayer
Half-Life 2 | Coding | Client Side Tutorials
How to enable it in HL2DM

By: cct | Nov 13 2006

Making a Camera
Half-Life 2 | Level Design
This camera is good for when you join a map, it gives you a view of the map before you join a team

By: slackiller | Mar 05 2006

Making a camera , Part 2
Half-Life 2 | Level Design
these cameras are working monitors that turn on when a button is pushed.

By: slackiller | Mar 04 2006

Storing weapons on ladder
Half-Life 2 | Coding | Snippets
like Raven Sheild or BF2

By: British_Bomber | Dec 24 2005

Implementation of a string lookup table
Half-Life 2 | Coding | Snippets
A string lookup table is a set of functions that is used to convert strings to pre-defined values

By: deathz0rz | Nov 13 2005

Latest Comments
knock knock
General | News
By: MIFUNE | Dec 31 2017
knock knock
General | News
By: omega | Dec 22 2016
knock knock
General | News
By: MIFUNE | Oct 10 2015
New HL HUD Message System
Half-Life | Coding | Shared Tutorials
By: chbrules | Dec 31 2011
knock knock
General | News
By: Whistler | Nov 05 2011
Particle Engine tutorial part 4
Half-Life | Coding | Client Side Tutorials
By: darkPhoenix | Feb 18 2010
Particle Engine tutorial part 2
Half-Life | Coding | Client Side Tutorials
By: darkPhoenix | Feb 11 2010
Particle Engine tutorial part 3
Half-Life | Coding | Client Side Tutorials
By: darkPhoenix | Feb 11 2010
Game Movement Series #2: Analog Jumping and Floating
Half-Life 2 | Coding | Shared Tutorials
By: mars3554 | Oct 26 2009
Particle Engine tutorial part 5
Half-Life | Coding | Client Side Tutorials
By: Deadpool | Aug 02 2009

Site Info
297 Approved Articless
8 Pending Articles
3940 Registered Members
0 People Online (4 guests)
About - Credits - Contact Us

Wavelength version:
Valid XHTML 1.0! Valid CSS!