Leak effect but no leak

Discussion in 'Mapping Questions & Discussion' started by Haggis, Feb 27, 2010.

  1. Haggis

    Haggis L2: Junior Member

    Messages:
    86
    Positive Ratings:
    1
    I have completely finished my map but when i went for a run around it i noticed that in 1 area i was getinng the effect of a leak but there is no leak.When compiling the map compiles fine,here is a pic i have taken
    [​IMG]

    I stripped back a few displacements round about but i still get the same problem,any ideas
     
  2. Tapp

    Tapp L10: Glamorous Member

    Messages:
    776
    Positive Ratings:
    211
    Is there an invisible brush there? Because it could be blocking visibility. Just change it to a playerclip or a func_detail.
     
  3. grazr

    aa grazr Old Man Mutant Ninja Turtle

    Messages:
    5,436
    Positive Ratings:
    3,573
    You might have nodraw instead of skybrush here.
     
  4. Cameron:D

    Cameron:D L6: Sharp Member

    Messages:
    363
    Positive Ratings:
    145
    Yeah, it's probably a nodraw brush/face.
     
  5. Haggis

    Haggis L2: Junior Member

    Messages:
    86
    Positive Ratings:
    1
    After spending all day deleating no draw brushes and sealing my map differently at the place where i was getting the leak effect and it not making a bit of difference i decided it could not be the nodraw brushes.You can use nodraw to seal in your map and not get any leaks and my compile log was telling me there were no leaks.So i thought hard and came up with the answer,it must be my 3d skybox.I saved the map as a dfferent name and deleated my skybox,there was no leak effect when i compiled,problem solved.
    I had remembered when i first starting mapping that i attempted a 3dsky box not fully understanding what it was and what it did,the result was a leak effect even though i did not have 1.What i did was,i created the skybox which only had scenery at the first point and enclosed it neatly with a skybox but what i should have done was make the skybox cover my whole original map.Where i was getting the leak effect was where my 3d skybox was cutting in to my original map,at last,solved it:thumbup:
     
  6. grazr

    aa grazr Old Man Mutant Ninja Turtle

    Messages:
    5,436
    Positive Ratings:
    3,573
    The 3d skybox wouldn't 'cut into your map', that's not how it works. Regular geometry is always rendered before the skybox content. if your skybox content overlaps your map geometry it is not rendered.

    nodraw does seal your map but it gives you the "house of mirrors" effect as the skybox is not rendered through it.

    Without looking at your map or log i couldn't begin to hazard a guess as to the actual culprit for this bug in your case, you seem to think it was the 3dskybox, and you may well have simply not set it up properly. So it may have been related but not the direct cause of the bug.

    Plus, the amount of people we get around here claiming "i looked for a leak, i did not find a leak, so there is no possible leak". Then we ask to see their compile log, and lo and behold, there's a leak.

    Judging by what you said you obviously resolved the issue but i wouldn't want to see you walking away from this believing you understand what caused it when it doesn't seem likely, from my own (6 years) experience using this software, that what was done was a direct resolution to that specific error.

    IE you found the ball under the cup by inadvertantly lifting up all 3 cups.
     
    Last edited: Feb 28, 2010
  7. Haggis

    Haggis L2: Junior Member

    Messages:
    86
    Positive Ratings:
    1
    When i compiled the map with the 3dskybox i was getting the leak effect,when i compiled the map with the 3dskybox deleated i did not get the leak effect.I then made sure that my 3dskybox was covering the whole of my original map,when compiled i did not have the leak effect,everything looked fine,surely it was the fact that i did not have my 3dskybox covering the whole of my original map and just covering what i had made for the skybox.
     
  8. grazr

    aa grazr Old Man Mutant Ninja Turtle

    Messages:
    5,436
    Positive Ratings:
    3,573
    Please rephrase that sentence so it actually makes sense. Also, as a personal request, please put in spaces after your full stops and commas, your bad grammar is driving me nuts, not to mention making your already poorly structured sentences difficult to read.

    Assuming you actually meant that your 3dskbox did not match the size of the original map; The size of the 3dskybox will not cause the game to bug out like this. Be it too large or small in regards to the scale of your original map area.

    But there probably was an issue with your 3dskybox. Possibly an invalid brush or improperly setup entity (sky_camera?), miss textured brush face etc. Or that you simply missed a leak warning in your log. 3dskyboxes can leak, and do for people frequently. People frequently forget to add in a floor to the 3dskybox for example, under a displacement, or some such oversight. They are tricky things to master.

    I can't say for sure though without seeing for myself, and discussing it after you resolved the issue is kinda pointless now (though i find it important people understand where they went wrong so that they may avoid it in future). Just that i seriously doubt that was actually the cause of this error. you just inadvertantly fixed it by doing one thing that could have resolved any number of issues (by removing the offending objects altogether); and drew the wrong conclusion from the result of that action, despite the fact it worked.

    I'm just glad you have it working and can manage to avoid this again in future.
     
    Last edited: Feb 28, 2010
  9. Haggis

    Haggis L2: Junior Member

    Messages:
    86
    Positive Ratings:
    1
    Im really sorry grazr but judging from this sentence, you have taken offence from my last post, when no offence was meant. As you can see i have now put spaces between my fullstops and commas.

    This is exactly what i meant. All the tutorials i have read have told me to make a box around my 3dskybox geometry and then hollow either inwards or outwards, thats why i thought it could not be a leak. Anyway, i am glad i have it working as this map has taken 7 months to make, will get it uploaded as soon as a few of my mates have run around it, just to make sure there are no purple and black checks.:D
     
  10. grazr

    aa grazr Old Man Mutant Ninja Turtle

    Messages:
    5,436
    Positive Ratings:
    3,573
    You didn't offend me. It's just annoying dealing with people who can't communicate properly, particularly when it interfere's with the efficiency of the feedback process.

    And good luck with the map.