Displacements - please, please help....

Discussion in 'Mapping Questions & Discussion' started by Nosher, Feb 5, 2008.

  1. Nosher

    Nosher L4: Comfortable Member

    Messages:
    184
    Positive Ratings:
    20
    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
     
  2. DJive

    aa DJive Cake or Death?

    Messages:
    1,466
    Positive Ratings:
    740
    displacements need a solid behind them So if you make a rock displacement you need to have no_draw behind your displacement

     
    • Thanks Thanks x 1
  3. YM

    aa YM LVL100 YM

    Messages:
    7,099
    Positive Ratings:
    5,920
    lol, I was just about to quote me aswell...
    beat me to it DJive :p
     
  4. Nosher

    Nosher L4: Comfortable Member

    Messages:
    184
    Positive Ratings:
    20
    Thanks - BUT can I add the no draw AFTER I have created the displacements??

    I am getting confused!!

    Thanks again
     
  5. DJive

    aa DJive Cake or Death?

    Messages:
    1,466
    Positive Ratings:
    740
    ya, just when your done, your displacement needs a "back" to it to seal it in.
     
  6. YM

    aa YM LVL100 YM

    Messages:
    7,099
    Positive Ratings:
    5,920
    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.
     
  7. Nosher

    Nosher L4: Comfortable Member

    Messages:
    184
    Positive Ratings:
    20
    like this??? - this is the underside of the cavern.....

    [​IMG]
     
  8. YM

    aa YM LVL100 YM

    Messages:
    7,099
    Positive Ratings:
    5,920
    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
     
  9. Nosher

    Nosher L4: Comfortable Member

    Messages:
    184
    Positive Ratings:
    20
    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.
     
  10. YM

    aa YM LVL100 YM

    Messages:
    7,099
    Positive Ratings:
    5,920
    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.
     
  11. Nosher

    Nosher L4: Comfortable Member

    Messages:
    184
    Positive Ratings:
    20
    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.
     
  12. YM

    aa YM LVL100 YM

    Messages:
    7,099
    Positive Ratings:
    5,920
    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)
     
  13. Nosher

    Nosher L4: Comfortable Member

    Messages:
    184
    Positive Ratings:
    20
    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.
     
  14. YM

    aa YM LVL100 YM

    Messages:
    7,099
    Positive Ratings:
    5,920
    no problem, glad to help :)

    Thanks, a nice offer, but sadly illegal as I am underage (not 18 yet) (unless its wine and with a meal)
     
  15. Nosher

    Nosher L4: Comfortable Member

    Messages:
    184
    Positive Ratings:
    20
    Just to say thanks again, Youme....

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

    BEFORE:-

    [​IMG]



    AFTER:-

    [​IMG]

    Cheers
    Nosh.