Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/archive/global.php(40) : eval()'d code on line 2
Displacements - please, please help.... [Archive] - TF2Maps.net Forums

PDA

View Full Version : Displacements - please, please help....


Nosher
02-05-2008, 03:55 PM
Done some displacements whilst trying to make a underground room look like it was hewn roughly from the rock....

Ran the compile.....

got this message:-

**** leaked ****
Entity light (-1124.75 -480.00 -240.00) leaked!

However, there is no leak.

The pointfile red line goes str8 thru solid rock where it ends in space......

If I run the compile again after changing the cavern into simple flat brushes and removing the displacements, the leak goes away!!

I also get this message a few times.....

FindPortalSide: Couldn't find a good match for which brush to assign to a portal near (1024.0 3120.0 -584.0)
Leaf 0 contents: CONTENTS_SOLID
Leaf 1 contents:
viscontents (node 0 contents ^ node 1 contents): CONTENTS_SOLID
This means that none of the brushes in leaf 0 or 1 that touches the portal has CONTENTS_SOLID
Check for a huge brush enclosing the coordinates above that has contents CONTENTS_SOLID
Candidate brush IDs:

This is very frustrating as I have made sure I followed the tutorial and also overlapped the walls and floor so any displacements I make do NOT create a leak...

Can anyone help?

Many thanks in advance
Nosh

DJive
02-05-2008, 04:03 PM
displacements need a solid behind them So if you make a rock displacement you need to have no_draw behind your displacement

A few last tweaks before sealing the areawith nodraw brushes behind the displacements and skybox brushes elsewhere. You might want to note that displacements don't block vvis so that means you will have to put nodraw brushes behind it to prevent leaks.
http://img151.imageshack.us/my.php?image=016li8.jpg

Youme
02-05-2008, 04:08 PM
lol, I was just about to quote me aswell...
beat me to it DJive :p

Nosher
02-05-2008, 04:14 PM
Thanks - BUT can I add the no draw AFTER I have created the displacements??

I am getting confused!!

Thanks again

DJive
02-05-2008, 04:22 PM
ya, just when your done, your displacement needs a "back" to it to seal it in.

Youme
02-05-2008, 04:22 PM
before...after...inbetween... It doesn't matter, as long as there are brushes (preferrably nodraw) sealing the area of displacement then it won't leak. You just need to make the cavern/cliff/ground/whaterver you are displaceing twice, once with displacements and once with normal nodraw brushes.

Nosher
02-05-2008, 04:27 PM
like this??? - this is the underside of the cavern.....

http://i172.photobucket.com/albums/w15/Noshdaminsk/nowall.jpg

Youme
02-05-2008, 04:44 PM
No
You shouldnt have nodraw ON a displacement (it gives a new error)
you need NORMAL BRUSHES with nodraw on to seal the area.
If you follow this - http://tf2maps.net/showthread.php?t=798 - (look at the pictures) then you can't go wrong

Nosher
02-05-2008, 04:50 PM
Youme - I have read your gr8 tutorial - very lately the bit you mention above again and again - maybe it is me being a little thick <g> .....

....so, what you are saying is I copy the displacement brush (the rocky floor in the pic) and then change the texture to NO DRAW.....and just drag it a bit lower that the displacement brush?

Sorry if my question seems stupid, but I cannot get my head around it!!

Thanks again for your help and patience!!!

Nosh.

Youme
02-05-2008, 05:04 PM
No. you need to make normal brushes, no displacements on them, just bog standard cubiod brushes.
Displacements don't block Vis. which means things can leak though them as though they weren't there.
To the right hand side of the screen you should see a box called 'visgroups' in that, under auto, you should see a check box for "displacements" if you uncheck that you should be able to see part of the void, but a wall behind the displacement.(don't forget to check it again otherwise your displacements won't compile)
Imagine a displacement is like a curtain. it needs a wall behind it so that you cant walk through it to the outside world. So once you make your displacement out of the brushes (walls) you have laid down they cease to be walls, but become curtains. you now need to replace the walls with new brushes.

Nosher
02-05-2008, 05:21 PM
Youme

Your patience staggers me!!

Thanks!!

So - with your advice ringing, I have just created a floor in the cavern - ran the compile and no leaks - applied the NO DRAW to all faces of the brush of the floor - clicked on the face edit icon - selected the top surface only (which is currently NO DRAW (like the other sides)) and selected my rock texture...applied that to the floor face only (the other sides of the brush that DID say NO DRAW have now just vanished (is that normal??) - created a one click displacement downwards - compiled the map and have the leak again......

I just don't know understand what part of the process I am doing wrong......

I do not want to sacrifice this element for a basic square room and so desperately want to get it right.........

Nosh.

Youme
02-05-2008, 05:25 PM
maybe this will help : http://tf2maps.net/downloads.php?do=file&id=134
Uploaded it just for you. Its the .vmf file and .bsp for my displacement tutorial.

from what you just said, you are not making new brushes after you make the displacements.
I guess I have to spell this out very simply, there are two steps:
-MAKE DISPLACEMENT (method above)
-MAKE NEW BRUSH (where the original brush that you turned into a displacement was)

Nosher
02-05-2008, 05:29 PM
Seeing your .vmf file explains EVERYTHING!

A picture speaks etc etc...

I shall be buying you a drink should we ever meet....

Many thanks
Nosher.

Youme
02-05-2008, 05:44 PM
Seeing your .vmf file explains EVERYTHING!

A picture speaks etc etc...
no problem, glad to help :)

I shall be buying you a drink should we ever meet....
Thanks, a nice offer, but sadly illegal as I am underage (not 18 yet) (unless its wine and with a meal)

Nosher
02-08-2008, 05:30 PM
Just to say thanks again, Youme....

....just finished the cavern with your help, mate...

BEFORE:-

http://i172.photobucket.com/albums/w15/Noshdaminsk/glitch2.jpg



AFTER:-

http://i172.photobucket.com/albums/w15/Noshdaminsk/in1.jpg

Cheers
Nosh.