Leak, useless pointfile

Discussion in 'Mapping Questions & Discussion' started by Pocket, Aug 19, 2010.

  1. Pocket

    aa Pocket func_croc

    Messages:
    4,489
    Positive Ratings:
    2,217
    So I tried compiling my map, and ended up with a leak. Loaded up the point file and... um...

    [​IMG]

    ...this happened. :facepalm: A pointfile that goes from nowhere, to nowhere. What the hell did I screw up?

    The only thing I can guess is that maybe having a noclip block that crosses into the void did it, although that's a thousand or so units away from where this thing is.
     
  2. Exist

    Exist L6: Sharp Member

    Messages:
    306
    Positive Ratings:
    112
    My *only* guess is that the brush is pointing to is func_detail.
     
  3. KarmaPolice

    KarmaPolice L3: Member

    Messages:
    108
    Positive Ratings:
    52
    That's my guess too, if it's a brush entity it won't seal the world.
     
  4. Radaka

    Radaka L7: Fancy Member

    Messages:
    495
    Positive Ratings:
    242
    This is caused by some brush entity's origin being located outside the world (at the start of one of the ends of the red line.
     
    • Thanks Thanks x 1
  5. HellJumper

    aa HellJumper

    Messages:
    812
    Positive Ratings:
    373
    There is another cause too. Two actually.

    1) This happens occasionally when you have 2 maps open at once. Close one, and recompile.
    2) This happens totally randomly sometimes for no reason. Recompile, should work.

    This happened to me countless times and I knew for sure there were no leaks. Doing one of the 2 above always fixed it, though.
     
  6. J4CK8

    J4CK8 L11: Posh Member

    Messages:
    820
    Positive Ratings:
    223
    In the compile log, it should say which entity is leaked. Find which one it is, and as Radaka said make sure its origin isn't in the void by making a small nodraw brush that encloses it.
     
  7. alecom

    alecom L8: Fancy Shmancy Member

    Messages:
    516
    Positive Ratings:
    120
    :S Or just centre the object's origin
     
  8. FaTony

    FaTony Banned

    Messages:
    902
    Positive Ratings:
    160
    You can find brush using entity report.
     
  9. Radaka

    Radaka L7: Fancy Member

    Messages:
    495
    Positive Ratings:
    242
    Even better, take the entity's origin and move it back to where it should be (for brush entities, you don't have to move the brush itself to move the origin).
     
  10. Terr

    aa Terr Cranky Coder

    Messages:
    1,591
    Positive Ratings:
    405
    Except for some weird cases where you might customize the origin for a particular purpose, just use the Center Origins command.
     
  11. Pocket

    aa Pocket func_croc

    Messages:
    4,489
    Positive Ratings:
    2,217
    Yep, that was it. I had lumped some brushes that rounded a corner into a single func_illusionary. Moving the origin fixed it. Thanks!