Max_leaf_faces

HuzeHuze Insightful Join Date: 2003-11-12 Member: 22724Members, NS1 Playtester, NS2 Playtester, Squad Five Blue, Reinforced - Shadow
<div class="IPBDescription">error</div> when i try and compile my map i get the "Error: Exceeded MAX_LEAF_FACES
Description: This error is almost always caused by an invalid brush, by having huge rooms, or scaling a texture down to extremely small values (between -1 and 1)
Howto Fix: Find the invalid brush. Any imported prefabs, carved brushes, or vertex manipulated brushes should be suspect" error and I was wondering is there anyway to tell what is giving me the error? <!--emo&???--><img src='http://www.unknownworlds.com/forums/html/emoticons/confused.gif' border='0' style='vertical-align:middle' alt='confused.gif'><!--endemo-->

Comments

  • DarkATiDarkATi Revelation 22:17 Join Date: 2003-06-20 Member: 17532Members, Reinforced - Shadow
    Try the errors dialog in VHE. Map > Check for Problems. Correct any errors found and recompile.

    ~ DarkATi
  • HuzeHuze Insightful Join Date: 2003-11-12 Member: 22724Members, NS1 Playtester, NS2 Playtester, Squad Five Blue, Reinforced - Shadow
    <!--QuoteBegin--DarkATi+Dec 10 2003, 10:30 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (DarkATi @ Dec 10 2003, 10:30 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> Try the errors dialog in VHE. Map > Check for Problems. Correct any errors found and recompile.

    ~ DarkATi <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    it didnt work, there were some things that needed fixing but i still get same error
  • DarkATiDarkATi Revelation 22:17 Join Date: 2003-06-20 Member: 17532Members, Reinforced - Shadow
    <!--QuoteBegin--Hi!+Dec 10 2003, 11:08 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Hi! @ Dec 10 2003, 11:08 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> <!--QuoteBegin--DarkATi+Dec 10 2003, 10:30 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (DarkATi @ Dec 10 2003, 10:30 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> Try the errors dialog in VHE. Map > Check for Problems. Correct any errors found and recompile.

    ~ DarkATi <!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    it didnt work, there were some things that needed fixing but i still get same error <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    Then try this:

    Go to Edit > Select All and then open your texture editor. First make sure that all textures are aligned to world by checking the "World Alignment Checkbox". Next go to Scale and input 1.00 on X and 1.00 on Y. Do the same to the right setting it back to it's default of 0 x 0. Rotation should also be set to 0. Now hit apply. Your textures will remain but your scaling will all be lost. Save as ns_yourmapUNTEXD (Or something else, this is for diagnostic purposes, I don't want you to lose all your texture information so just make sure you don't save over your existing original) and recompile. If this solves your problem then you have a texture alignment or scaling problem and tracking that down could take awhile. If this does not resolve the problem then you may want to try goggling an answer or PMing someone more knowledgeable like XP-Cagey.

    ~ DarkATi
  • Sir_PepeSir_Pepe Join Date: 2002-12-15 Member: 10845Members
    max_leaf_faces means nothing more than that your map has more leafes than hl can handle, so your map might just be too big or complex. Try to reduce your map's amount of leafes as described in <a href='http://www.google.com' target='_blank'>one of the thousand artices on r_speeds</a> out there.

    You can add <b>-chart</b> to your compile parameters - this will log how close the map is to the limits of hl... lightdata, clipnodes, leafes and so on.
  • HuzeHuze Insightful Join Date: 2003-11-12 Member: 22724Members, NS1 Playtester, NS2 Playtester, Squad Five Blue, Reinforced - Shadow
    <!--QuoteBegin--DarkATi+Dec 11 2003, 03:18 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (DarkATi @ Dec 11 2003, 03:18 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> <!--QuoteBegin--Hi!+Dec 10 2003, 11:08 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Hi! @ Dec 10 2003, 11:08 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> <!--QuoteBegin--DarkATi+Dec 10 2003, 10:30 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (DarkATi @ Dec 10 2003, 10:30 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> Try the errors dialog in VHE. Map > Check for Problems. Correct any errors found and recompile.

    ~ DarkATi <!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    it didnt work, there were some things that needed fixing but i still get same error <!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    Then try this:

    Go to Edit > Select All and then open your texture editor. First make sure that all textures are aligned to world by checking the "World Alignment Checkbox". Next go to Scale and input 1.00 on X and 1.00 on Y. Do the same to the right setting it back to it's default of 0 x 0. Rotation should also be set to 0. Now hit apply. Your textures will remain but your scaling will all be lost. Save as ns_yourmapUNTEXD (Or something else, this is for diagnostic purposes, I don't want you to lose all your texture information so just make sure you don't save over your existing original) and recompile. If this solves your problem then you have a texture alignment or scaling problem and tracking that down could take awhile. If this does not resolve the problem then you may want to try goggling an answer or PMing someone more knowledgeable like XP-Cagey.

    ~ DarkATi <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    well, it compiles <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif'><!--endemo--> , now is there anyway to figure out which texture it is? (without looking at every single one)
  • DarkATiDarkATi Revelation 22:17 Join Date: 2003-06-20 Member: 17532Members, Reinforced - Shadow
    <!--QuoteBegin--Hi!+Dec 11 2003, 06:04 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Hi! @ Dec 11 2003, 06:04 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> <!--QuoteBegin--DarkATi+Dec 11 2003, 03:18 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (DarkATi @ Dec 11 2003, 03:18 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> <!--QuoteBegin--Hi!+Dec 10 2003, 11:08 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Hi! @ Dec 10 2003, 11:08 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> <!--QuoteBegin--DarkATi+Dec 10 2003, 10:30 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (DarkATi @ Dec 10 2003, 10:30 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> Try the errors dialog in VHE. Map > Check for Problems. Correct any errors found and recompile.

    ~ DarkATi <!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    it didnt work, there were some things that needed fixing but i still get same error <!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    Then try this:

    Go to Edit > Select All and then open your texture editor. First make sure that all textures are aligned to world by checking the "World Alignment Checkbox". Next go to Scale and input 1.00 on X and 1.00 on Y. Do the same to the right setting it back to it's default of 0 x 0. Rotation should also be set to 0. Now hit apply. Your textures will remain but your scaling will all be lost. Save as ns_yourmapUNTEXD (Or something else, this is for diagnostic purposes, I don't want you to lose all your texture information so just make sure you don't save over your existing original) and recompile. If this solves your problem then you have a texture alignment or scaling problem and tracking that down could take awhile. If this does not resolve the problem then you may want to try goggling an answer or PMing someone more knowledgeable like XP-Cagey.

    ~ DarkATi <!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    well, it compiles <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif'><!--endemo--> , now is there anyway to figure out which texture it is? (without looking at every single one) <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    Unfortuanetly no, but I'm glad I could help you along this far, have fun finding this troublesome texture.

    ~ DarkATi
Sign In or Register to comment.