1. Forums
  2. Discord
  3. About Mapcore
  4. Patreon Supporters
  • Login
  • Register
  • Search
This Thread
  • Everywhere
  • This Thread
  • This Forum
  • Articles
  • Pages
  • Forum
  • More Options
  1. Mapcore
  2. Discussions
  3. Level Design

max leaf faces

  • Bic-B@ll
  • September 29, 2004 at 2:30 AM
  • Bic-B@ll
    • September 29, 2004 at 2:30 AM
    • #1

    I’ve been having a huge problem with this recently, and I really need to get this map out the door, this may be my last shot to do so being that HL is coming to an end.

    Before you all say, “You have a cylinder splitting the ground up!!!”…I don’t. My map just has a lot of stuff in it and I need some help determining what I can do. First of all, I covered parts of the map with a big ass block so that faces inside of the block didn’t count but after covering a whole lot of them I still got the error which led me to believe that that didn’t work.

    So next I just started deleting stuff inside of the boxes and still got the error. Then it hit me that this possibly is caused by the amount of models that I was using. Do model faces count towards max faces? I deleted all the cyclers and yet still got the error. For that matter, what about e_polies, I assume those count also?

    I tried turning the compiler settings to megaspam so it would hopefully give me some more info as to the limit and how many faces I had but none alas. Can one of you help me sort this problem out? I have made many revisions to the map but I haven’t really added a huge amount of polies, which is why im so confused as to why I’m still getting the error after removing many.

    Yes, I did searches on Google, I didn’t find much though, pretty much the most I got was from tommy14 and basically all he had was, “you probably have a cyulinder touching the ground.”

    Edit: Pic:

    http://www.zeroproof.com/bicball/basque1.jpg

    (Please don't go posting this on the Hostile Intent forums if you play HI, I was kinda hoping to keep the map's appearance hush hush to people who hadn't seen the orignal.)

    (I'm assuming that the leaf problem is on the bottom and left side of the map because they are the newest parts)

  • Skjalg
    • September 29, 2004 at 2:35 AM
    • #2

    I did the cool think and checked the ZHTL problem guide thing..

    Exceeded MAX_LEAF_FACES

    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)

    How To fix:

    Find the invalid brush. Any imported prefabs, carved brushes, or vertex manipulated brushes should be suspect.

    so.. if you wanna track this problem down, divide ur map into two pieces, compile both of them, hopefully you will get one with the error and one without, the one with the error, you divide again, and do it all over again untill you are left with this little square place with just your fucked up brush in it..

  • Bic-B@ll
    • September 29, 2004 at 2:41 AM
    • #3

    Do you mean changing subdivide? Chop is a RAD thing. I assume this would help, but what are the downfalls? There has to be some reason its set at 240, if there weren't you could just raise your chop values to 1024 and get a 200-poly map. I assume this would take a toll on your FPS but not your r_speeds?

  • Bic-B@ll
    • September 29, 2004 at 2:47 AM
    • #4

    I was told that max_leaf_faces meant that the face limit for the entire map had gone over but being that it was max_leaf_faces that would make more sense. I'll try dealing with just areas again. Maybe I can extract the VIS leaf coordinates from the compile and place blocks exactly over them by adding a brush in through notepad.

    So as I understand it now, there are too many faces in a leaf...just one area of the map...could I possibly fix this by hinting?

  • OL
    • September 29, 2004 at 2:48 AM
    • #5

    you cud cordon a small area off and see if you still get errors

  • Bic-B@ll
    • September 29, 2004 at 2:35 PM
    • #6

    Ok, I'll try that, so does anyone know if this is only w_polies or do e_polies and models add to the count also?

  • Taylor
    • September 29, 2004 at 4:57 PM
    • #7

    Definately wpoly, epoly doesn't factor into compiles at all.

  • Bic-B@ll
    • September 29, 2004 at 7:35 PM
    • #8

    I see.

  • JynxDaddy
    • October 1, 2004 at 4:37 AM
    • #9

    You can probly fix this by placing brushes in the roof, people only look at roofs, they dont muck around with them, so you can keep the detail but just block it off, no one will notice

  • Skjalg
    • October 1, 2004 at 5:44 AM
    • #10

    so.. problem fixed?

  • Bic-B@ll
    • October 1, 2004 at 2:39 PM
    • #11

    I have no idea what you're talking about Jynx, I have the roof clipped off and the sky going all the way down to the top of the roofs, along with triangular sky brushes going across the two main parts to help along VIS. I don't really understand what you're saying.

    I haven't been able to get enough time to fix it yet, I was working on it some last night, I'm just nulling parts of the terrain and compiling to see if it will work or not. (Nulled faces don't apply to this initial leaf poly count right? or are they deleted later on?)

  • JynxDaddy
    • October 5, 2004 at 11:21 AM
    • #12

    Oh you have done what I was trying to say then. Im out of ideas :x

    hints?

  • Taylor
    • October 5, 2004 at 5:29 PM
    • #13

    IIRC null faces always exist, they just aren't drawn in game - i.e they will have leaf, light, portal, etc data like everywhere else.

  • Bic-B@ll
    • October 8, 2004 at 6:28 PM
    • #14

    thats interesting, I guess I can take my terrain and bring up the curners to get rid of a few faces

    i did get the map to work by chopping off a whole block but after it compiled i still had somereally strange errors, after i pass a point in the map the game thinks that you are under water, im not really sure whats causing it, ill change my water toa func_illusionary and clip it, maybe that will fix the problem

    thanks for the suggestion tay

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!

Register Yourself Login
Discord

The Mapcore Discord is our lively IRC channel of the 2000s reborn. Chat about level design, gaming, and more.

Latest Posts

  1. Custom Gamemodes Contest

    Angel
    July 20, 2026 at 11:46 AM
  2. FAQ

    Angel
    July 20, 2026 at 10:14 AM
  3. Tangerine

    Harry Poster
    July 18, 2026 at 11:10 AM
  4. Any of the old guard still around? D:

    Warby
    July 12, 2026 at 8:23 PM
  5. About our archived forums

    Thrik
    June 30, 2026 at 2:12 PM
  6. Mapcore Discord

    mason_fan123
    June 24, 2026 at 8:52 PM
  7. [CS2] Valley

    Serialmapper
    June 22, 2026 at 11:56 AM
  8. Free Music / SFX Resource - Over 2500 Tracks

    Eric Matyas
    June 18, 2026 at 12:32 PM
  9. Pango [WIP]

    Elowen
    June 11, 2026 at 10:13 AM
  10. [CS2] Dvina

    Jeremy Rivera
    June 11, 2026 at 10:03 AM

Users Viewing This Thread

  • 4 Guests
  1. Privacy Policy
  2. Contact
Powered by WoltLab Suite™