Sprites Causing Leak?

DarkATiDarkATi Revelation 22:17 Join Date: 2003-06-20 Member: 17532Members, Reinforced - Shadow
This is what I get:

<!--QuoteBegin--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->BSP generation successful, writing portal file 'F:\ns_project.prt'
Warning: === LEAK in hull 1 ===
Entity env_sprite @ (-998, 938, 475)
Error:
  A LEAK is a hole in the map, where the inside of it is exposed to the
(unwanted) outside region.  The entity listed in the error is just a helpful
indication of where the beginning of the leak pointfile starts, so the
beginning of the line can be quickly found and traced to until reaching the
outside. Unless this entity is accidentally on the outside of the map, it
probably should not be deleted.  Some complex rotating objects entities need
their origins outside the map.  To deal with these, just enclose the origin
brush with a solid world brush

Leak pointfile generated

0.88 seconds elapsed
<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->

Never had it say it was succesful like that and then say there's a leak in Hull 1, normally I get a leak in hull 0. When I delete the env_sprite (which is 100% within the level) the error goes away, these sprites are key, I cannot drop them. Any solutions?

~ DarkATi

Comments

  • ShenTraXShenTraX Join Date: 2003-11-10 Member: 22434Members, Constellation
    try replaceing the sprite with another... just for a test.

    you may have to re-create the sprite... it could be corrupt.
  • DarkATiDarkATi Revelation 22:17 Join Date: 2003-06-20 Member: 17532Members, Reinforced - Shadow
    <!--QuoteBegin--ShenTraX+Jan 21 2004, 12:46 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (ShenTraX @ Jan 21 2004, 12:46 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> try replaceing the sprite with another... just for a test.

    you may have to re-create the sprite... it could be corrupt. <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    I did try replacing it... same error.

    ~ DarkATi
  • brute_forcebrute_force Join Date: 2003-10-04 Member: 21433Members, Constellation
    Umm... I've had problems with entities *inside* of world brushes touching the void before, maybe that's the cause? Otherwise I have no idea.
  • ShenTraXShenTraX Join Date: 2003-11-10 Member: 22434Members, Constellation
    hrmm..
    <!--QuoteBegin--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->LEAK LEAK LEAK was the old message and provided no information.

    The new information includes the hull
    hull 0 : visibile polygons
    hull 1 : player standing/man sized monster collision hull
    hull 2 : player crouched/small monster collision hull
    hull 3 : misc (usualy unused) hull <!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->

    does this help? prolly not <!--emo&:(--><img src='http://www.unknownworlds.com/forums/html/emoticons/sad.gif' border='0' style='vertical-align:middle' alt='sad.gif'><!--endemo-->
  • ShenTraXShenTraX Join Date: 2003-11-10 Member: 22434Members, Constellation
    edited January 2004
    is it stationary or moving sprite? is it a PS sprite, or just a decal-type?

    EDIT;
    nm, env_sprite... i missed.... sry
    /EDIT
  • InsaneInsane Anomaly Join Date: 2002-05-13 Member: 605Members, Super Administrators, Forum Admins, NS1 Playtester, Forum Moderators, NS2 Developer, Constellation, NS2 Playtester, Squad Five Blue, NS2 Map Tester, Subnautica Developer, Pistachionauts, Future Perfect Developer
    Have you loaded the pointfile in Hammer and looked for holes in your geometry?
  • ShenTraXShenTraX Join Date: 2003-11-10 Member: 22434Members, Constellation
    try re-locating the sprite to a larger room, ( i know you said its 100% in the map)... just to see if its location or the size is mis-calculated.
  • DarkATiDarkATi Revelation 22:17 Join Date: 2003-06-20 Member: 17532Members, Reinforced - Shadow
    I've tried all these suggestions, that hull 0, hull 1 hull 2, etc. text I've already read. There are no holes in my geometry, the sprite is not touching even a world brush. I'm telling you this is the most obscure error I have ever recieved. <!--emo&:(--><img src='http://www.unknownworlds.com/forums/html/emoticons/sad.gif' border='0' style='vertical-align:middle' alt='sad.gif'><!--endemo-->

    ~ DarkATi
  • ShenTraXShenTraX Join Date: 2003-11-10 Member: 22434Members, Constellation
    make a new map, just a sky brush box, a light and the sprite.... compile still same error?

    why do you have to have the hard problems? lol
  • ToneeTonee Wub wuB UK Join Date: 2003-10-25 Member: 21926Members, Constellation
    <!--QuoteBegin--DarkATi+Jan 21 2004, 05:33 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (DarkATi @ Jan 21 2004, 05:33 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> This is what I get:

    <!--QuoteBegin--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->BSP generation successful, writing portal file 'F:\ns_project.prt'
    Warning: === LEAK in hull 1 ===
    Entity env_sprite @ (-998, 938, 475)
    Error:
      A LEAK is a hole in the map, where the inside of it is exposed to the
    (unwanted) outside region.  The entity listed in the error is just a helpful
    indication of where the beginning of the leak pointfile starts, so the
    beginning of the line can be quickly found and traced to until reaching the
    outside. Unless this entity is accidentally on the outside of the map, it
    probably should not be deleted.  Some complex rotating objects entities need
    their origins outside the map.  To deal with these, just enclose the origin
    brush with a solid world brush

    Leak pointfile generated

    0.88 seconds elapsed
    <!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->

    Never had it say it was succesful like that and then say there's a leak in Hull 1, normally I get a leak in hull 0. When I delete the env_sprite (which is 100% within the level) the error goes away, these sprites are key, I cannot drop them. Any solutions?

    ~ DarkATi <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    alt p = problems? if the it has it in there click it - go to then delete it

    this happened to me with other things - invisible things in the void where i havent put anything.
  • DjBourgeoisieDjBourgeoisie Join Date: 2003-08-28 Member: 20300Members
    Just check the coordinates on the map and you will probably see a leak, like a wall that is 1 unit off of the surface or something. When I get an entity leak like that (which is rare) I usually find I accidentally left a small hole somewhere. Good luck.
  • MrBenMrBen ns_eclipse, ns_veil caretaker Join Date: 2002-11-14 Member: 8575Members
    edited January 2004
    Your env_sprite is more than likely not the problem. Of course it can be the problem if you've placed it outside the map or if it's origin is outside the map. I believe that is correct. What that is actually saying is that is the entity where your pointfile will start from. Sometimes the entitiy choosen appears to be at random and i've yet to find any sort of constant relationship with the entity choosen and the location of the leak and i've came to the conclusion there isn't one.

    If you actually read what it says it in the leak warning it'll tell you exactly that so changing the entity to somethig different will have no effect and simply moving it will cause it to pick a different one entirely.

    I suggest you fire up your map and load your pointfile and follow it. You may think there is no hole in your architecture but evidently there is. Either that or as i already stated you have an entity exposed to the void. Either way it exists and bsp hasn't just made this up for no apparent reason.
  • ReeseReese Join Date: 2003-05-08 Member: 16143Members
    I'd check the origin on that entity, just in case. Sometimes the origin of an entity can be outside the map even though the rest of the entity really isn't.
  • CageyCagey Ex-Unknown Worlds Programmer Join Date: 2002-11-15 Member: 8829Members, Retired Developer, NS1 Playtester, Constellation
    <!--QuoteBegin--DarkATi+Jan 21 2004, 09:33 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (DarkATi @ Jan 21 2004, 09:33 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> This is what I get:

    <!--QuoteBegin--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->BSP generation successful, writing portal file 'F:\ns_project.prt'
    Warning: === LEAK in hull 1 ===
    Entity env_sprite @ (-998, 938, 475)
    Error:
      A LEAK is a hole in the map, where the inside of it is exposed to the
    (unwanted) outside region.  The entity listed in the error is just a helpful
    indication of where the beginning of the leak pointfile starts, so the
    beginning of the line can be quickly found and traced to until reaching the
    outside. Unless this entity is accidentally on the outside of the map, it
    probably should not be deleted.  Some complex rotating objects entities need
    their origins outside the map.  To deal with these, just enclose the origin
    brush with a solid world brush

    Leak pointfile generated

    0.88 seconds elapsed
    <!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->

    Never had it say it was succesful like that and then say there's a leak in Hull 1, normally I get a leak in hull 0. When I delete the env_sprite (which is 100% within the level) the error goes away, these sprites are key, I cannot drop them. Any solutions?

    ~ DarkATi <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    If Hull 1 has a "hole" and Hull 0 doesn't, it could mean that you have an item within half a player bounding box of an edge. Since planes are shifted half the bounding box before being used for Hull 1, that might be causing the error by placing the sprite outside the bounds of the clip hull. If removing the sprite fixes the error, try moving it so that it's at least 40 units from the nearest wall and compiling again.

    This might also be the bug in BSP I've been fishing for with bad clip hulls. I've been asking for bad maps for a month now with only 1 taker -- if shifting your sprite doesn't fix the problem, would you be willing to email me your .map for testing?

    If shifting the sprite does fix the problem, I'll need to consider reducing the sensitivity of the leak test for hulls 1-3, since there are going to be times when a point entity needs to be close to the visible hull walls.
Sign In or Register to comment.