Dead Men Walking

Forum Archive 2023 => Counter-Strike: Source => Games of old that no longer float our boat........ => dMw Gaming => Gaming Archive => CS Mapping & Modelling => Topic started by: FBG on May 04, 2003, 06:25:05 PM

Title: tutorials, sites and other goodies. Fining leaks
Post by: FBG on May 04, 2003, 06:25:05 PM
http://www.47hassocks.freeserve.co.uk/faq.htm (http://www.47hassocks.freeserve.co.uk/faq.htm)

What is a "leak" and how can I fix it?
If you see the message "LEAK LEAK LEAK" anytime during the QBSP compile, you have a leak. A leak is simply an error where the level can see anywhere into the "void" (not to be confused with the sky.) This typically occurs when you have small gaps between the brushes that make up the outer walls. Additionally, entities that are completely or partially outside those walls can also cause leaks
To help find leaks, you can use the pointfile command in the HL game itself:
-Run half_life with the -dev and -console parameters
(right click on your short cut and add them to the command line)
it should look something like this:
c:SIERRAHalf-Lifehl.exe -console -dev -particles 10000 +sv_cheats 1
-Run the map in Half-Life and go to the console
(hit the ~ key)
-Type pointfile then hit enter.
A yellow and black line will be drawn that defines a path for you to follow to the leak
However if it says that you have a leak and the console says that there are 0 points in the pointfile, it must mean you have an entity outside the level or an outer wall as an error. In this case, use the Map, Check Map for Problems command in WC.
Title: tutorials, sites and other goodies. Fining leaks
Post by: SLoWHaND on May 04, 2003, 07:07:11 PM
http://collective.valve-erc.com/index.php?go=leaks (http://collective.valve-erc.com/index.php?go=leaks)

Just another link to leaky stuff     :roll:

SLoWHaND
Title: tutorials, sites and other goodies. Fining leaks
Post by: A Twig on May 04, 2003, 07:49:01 PM
For the really lazy people, just put a big hollow box around the map as a clip entity. People can't see it, but it is there, and therefore easily stops leaks. Also as it is invisible, no extra time is lost in compiling the map as obviously no lights etc reflects off it!!!
Title: tutorials, sites and other goodies. Fining leaks
Post by: smite on May 04, 2003, 08:44:25 PM
Nice one  :D  :D
Title: tutorials, sites and other goodies. Fining leaks
Post by: FBG on May 05, 2003, 07:37:11 PM
Note: Some people would point out - if placing a box around your level gets rid of the leak, why not stop there? Well, it gets rid of the leak, but it doesn't get rid of the main bad effect of the leak - VIS still cannot properly optimize the level because it doesn't know what is inside or outside the level. You will still see the high polygon counts and poor framerate. This is not a solution.
Title: tutorials, sites and other goodies. Fining leaks
Post by: A Twig on May 06, 2003, 05:24:49 PM
lol, tis a solution for me, as my map is only small, but yeah, point taken...  :D
Oh and how do you run the map in HL for your error thing, as it can't compile??????  8O
Title: tutorials, sites and other goodies. Fining leaks
Post by: A Twig on May 06, 2003, 06:36:14 PM
The best site I have found for mappers yet:
http://www.tdcom.net/lacos/?section=0 (http://www.tdcom.net/lacos/?section=0)

 :D
Title: tutorials, sites and other goodies. Fining leaks
Post by: FBG on May 06, 2003, 08:09:53 PM
mine does compile and runs. it just doesn't work very well.
Title: tutorials, sites and other goodies. Fining leaks
Post by: suicidal_monkey on May 23, 2003, 04:07:23 PM
A pretty good forum on mapping here if you get stuck on something, but be warned you will be treated as a mapping noob if you get on their bad side. Oh, and you want your map to look good before they see it ;)

http://countermap.counter-strike.net/ (http://countermap.counter-strike.net/)
Title: tutorials, sites and other goodies. Fining leaks
Post by: OldBloke on May 23, 2003, 04:17:05 PM
Not read this yet but I respect the author ...

http://www.johnsto.co.uk/text.php?t=common_sense (http://www.johnsto.co.uk/text.php?t=common_sense)
Title: tutorials, sites and other goodies. Fining leaks
Post by: A Twig on May 24, 2003, 11:45:29 AM
Yeah I posted that link in a different topic. That is a really good article on basic mapping guidelines and how to make your map believeable. Top Notch  :D
Title: tutorials, sites and other goodies. Fining leaks
Post by: FBG on May 25, 2003, 12:34:49 AM
having trouble with invalid shapes? i was while trying to build my cliff sides. Got it all sorted from a tutorial i read. The trick is this, and you have to be pretty good with the old vertex manipulation tool.

Basically to avoid invalid brushes its best to build irregular walls, shapes with pyramids. This is because a pyramid can never be an invalid shape. So you just build your walls with the triangular sides of the pyramid.

To make this shape, create a standard brush and vertex manipulate all the top vertexs to the center. Select join vertices when it asks you. Finally take one of the 4 bottom vertices and join it with it neighbour and hey presto instant pyramid.
Title: building funny shapes.
Post by: FBG on May 25, 2003, 12:35:05 AM
having trouble with invalid shapes? i was while trying to build my cliff sides. Got it all sorted from a tutorial i read. The trick is this, and you have to be pretty good with the old vertex manipulation tool.

Basically to avoid invalid brushes its best to build irregular walls, shapes with pyramids. This is because a pyramid can never be an invalid shape. So you just build your walls with the triangular sides of the pyramid.

To make this shape, create a standard brush and vertex manipulate all the top vertexs to the center. Select join vertices when it asks you. Finally take one of the 4 bottom vertices and join it with it neighbour and hey presto instant pyramid.
Title: tutorials, sites and other goodies. Fining leaks
Post by: A Twig on May 25, 2003, 09:25:59 AM
Alright alright, I get the point, no need to put it twice!  :D
Title: Re: building funny shapes.
Post by: SLoWHaND on May 25, 2003, 10:36:57 AM
Quotehaving trouble with invalid shapes? i was while trying to build my cliff sides. Got it all sorted from a tutorial i read. The trick is this, and you have to be pretty good with the old vertex manipulation tool.

Basically to avoid invalid brushes its best to build irregular walls, shapes with pyramids. This is because a pyramid can never be an invalid shape. So you just build your walls with the triangular sides of the pyramid.

To make this shape, create a standard brush and vertex manipulate all the top vertexs to the center. Select join vertices when it asks you. Finally take one of the 4 bottom vertices and join it with it neighbour and hey presto instant pyramid.

Or you could do the following

SELECT BLOCK TOOL
SELECT PRIMITIVE CATEGORIES
SELECT SPIKE

You can select as many faces on your Spike "PYRAMID" as you like.
Cos a spike is a pyramid  :wink:
Title: tutorials, sites and other goodies. Fining leaks
Post by: A Twig on May 26, 2003, 01:08:22 PM
LOL, good point that man  :D
Title: Re: building funny shapes.
Post by: suicidal_monkey on May 26, 2003, 01:24:43 PM
QuoteYou can select as many faces on your Spike "PYRAMID" as you like.
Cos a spike is a pyramid :wink:

Uh uh uhhhh. Remember that its only a "safe" object if its a 3-sided spike though ;) If you have more than the 3 sides you can still make an invalid shape with your pyramid.
Title: tutorials, sites and other goodies. Fining leaks
Post by: A Twig on May 26, 2003, 01:43:37 PM
But tht requires some effort to do that though, The chances are you'll get away with it, lol
Title: tutorials, sites and other goodies. Fining leaks
Post by: OldBloke on May 27, 2003, 10:41:33 PM
Famous mapper Barney is doing a set of mapping tutorials ...

http://csnation.counter-strike.net/#news6102 (http://csnation.counter-strike.net/#news6102)
Title: tutorials, sites and other goodies. Fining leaks
Post by: DarkAngel on May 28, 2003, 05:47:05 PM
Tried to make a arcade map didnt work though :(
think me read into it more
Title: tutorials, sites and other goodies. Fining leaks
Post by: suicidal_monkey on May 28, 2003, 06:57:33 PM
theres a pretty decent arcade in de_deadlock. You could always rip that apart and have a look for ideas ;)