Leak.

Discussion in 'Mapping Questions & Discussion' started by DatPyroFish, Sep 30, 2014.

  1. DatPyroFish

    DatPyroFish L1: Registered

    Messages:
    4
    Positive Ratings:
    0
    Hello everyone, I'm having some troubles with my map.
    Everytime I compile it, it says that there's a leak, so I load the pointfile and it just points the skybox wall.

    Everything's fine with that wall, no leaks.
    Then I tried to make it one block higher, compiled the map, and it said there was another leak. So I loaded the pointfile and it pointed the skybox wall on the other side of the map:
    I made this wall a block higher too and then compiled the map, no leaks.
    Then I decreased the height of those 2 walls and compiled the map again, still no leaks.
    Lastly, I added a light ( the map already had some lights before) and compiled the map once again, and it pointed out the wall on the right again.

    Does anyone know what's the problem? รง_รง
    And yes, sorry for my english.
     
    Last edited: Sep 30, 2014
  2. wareya

    wareya L7: Fancy Member

    Messages:
    493
    Positive Ratings:
    173
    Your images aren't loading for me, but whenever I get leaks like this, it's an areaportal leak.
     
  3. DatPyroFish

    DatPyroFish L1: Registered

    Messages:
    4
    Positive Ratings:
    0
    Didn't use any areaportals in my map, I'm a noob at my mapping.
     
  4. puxorb

    aa puxorb L69: Emoticon

    Messages:
    455
    Positive Ratings:
    643
    Up on the top click "view" and move your mouse down until you see "use radius culling". That's what that red circle is and it should be off, because it only compiles what is inside it and in this case your perfectly set up walls are not.
     
  5. DatPyroFish

    DatPyroFish L1: Registered

    Messages:
    4
    Positive Ratings:
    0
    It still says there's a leak,and the red line points one of those two walls.
    http://puu.sh/bU8QN/92af489eaa.png
     
    Last edited: Sep 30, 2014
  6. Muddy

    Server Staff Muddy Muddy

    Messages:
    2,390
    Positive Ratings:
    4,229
    Make sure the walls aren't brush entities.

    Also, if all else fails, just delete and remake the skybox. (Basically the mapping equivalent of "have you tried turning it off and on again?")
     
    • Thanks Thanks x 1
  7. puxorb

    aa puxorb L69: Emoticon

    Messages:
    455
    Positive Ratings:
    643
    Did you recompile? (Not assuming you are stupid or anything) Also, when you are done compiling you have to unload the pointfile and reload it.

    View>Uncheck "use radius culling"
    F9 (runs map)

    When finished:
    Map>unload pointfile
    Map>load pointfile (loads new pointfile, and if it fails to load one then you do not have a leak)

    You have to recompile with radius culling off. In fact, you should probably just have it off all the time as it drastically lowers fps in hammer when moving around in the 3D viewport. I guess the only time you should ever have it on is if you are doing a multiple stage map and each stage fits perfectly within the bounds but that's not always guaranteed.
     
    • Thanks Thanks x 1
  8. Lampenpam

    aa Lampenpam

    Messages:
    1,019
    Positive Ratings:
    337
    After my experience when you disable radius culling (which you should always disable) it still seems to be enabled during compile. Just restart hammer and it should work.

    Also make sure that the brush where the pointfile is going through is no entity


    EDIT: eh? How did I not see the last two post before mine... ah well, useless post <_>
     
    • Thanks Thanks x 1
  9. xzzy

    aa xzzy

    Messages:
    815
    Positive Ratings:
    393
    An excellent faq I saw yesterday that explains in exhaustive detail how to troubleshoot leaks:

    http://www.tophattwaffle.com/faq/

    Number 2 and number 3 should be relevant to you.
     
    • Thanks Thanks x 1
  10. Izotope

    aa Izotope Never releases maps

    Messages:
    622
    Positive Ratings:
    586
    Looks like a deathrun map, I've had the exact same issues when I was making one and I posted here.

    They told me to make sure the skybox is a worldbrush, select the skybox and hit the button that says "To World", or just hit CTRL+Shift+W when you selected the skybox.
    After you did that, save the map and compile.

    Hell, even if you're 100% sure it's fine, do this anyway, it worked for me.

    Another thing: if this really is a deathrun map, your skybox looks incredibly unoptimized, it should only cover parts that have no roof or anything of that sort, not the entire map.
     
    • Thanks Thanks x 1
  11. DatPyroFish

    DatPyroFish L1: Registered

    Messages:
    4
    Positive Ratings:
    0
    Thank you guys for these helpful replies!
    I finally solved this problem with your help. :D
     
    Last edited: Sep 30, 2014
  12. Neobenedict

    Neobenedict L1: Registered

    Messages:
    22
    Positive Ratings:
    1
    For googlers in the future: Turn off radiusculling and restart hammer. Always.