Exceeded MAX_LEAF_FACES error

Exceeded MAX_LEAF_FACES error

Hammer Mapping — Page [1]
rh-penguin

2006 Dec 4 • 50
13 ₧
I got this error when trying to compile my map:[code:1]hlbsp: 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[/code:1]

I dont have any extremely huge room nor did i resize a shape really really small......
I fixed all the problems which existed(Alt+p) but i still get the same error.
Is there a particular way of finding out which shape/brush is corrupt?
Thanks!
WinVista,??......Fuck Off!...
 
 
 
2006 Dec 17 at 22:02 UTC
rh-penguin

2006 Dec 4 • 50
13 ₧
some help me out please!!!

superjer?? any thaughts?.....your the Man on this stuff.

i really wanna test this map but untill i can solve this problem i cant do much really.......besides sit here and ball my eyes out :(
WinVista,??......Fuck Off!...
 
 
 
2006 Dec 19 at 16:08 UTC
jacksmoke234
Tendrils McGee

2005 Mar 21 • 1375
34 ₧
Post your <mapname>.log here and I'll try to help.
 
 
 
2006 Dec 20 at 00:38 UTC
rh-penguin

2006 Dec 4 • 50
13 ₧
hlcsg v2.5.3 rel Custom Build 1.7 (Dec 9 2002)
Zoner's Half-Life Compilation Tools -- Custom Build
Based on code modifications by Sean 'Zoner' Cavanaugh
Based on Valve's version, modified with permission.
Submit detailed bug reports to (merlinis@bigpond.net.au)
----- BEGIN hlcsg -----
Command line: hlcsg rh_meto
Entering rh_meto.map

Current hlcsg Settings
Name | Setting | Default
---------------------|-----------|-------------------------
threads [ 1 ] [ Varies ]
verbose [ off ] [ off ]
log [ on ] [ on ]
developer [ 0 ] [ 0 ]
chart [ off ] [ off ]
estimate [ off ] [ off ]
max texture memory [ 4194304 ] [ 4194304 ]
priority [ Normal ] [ Normal ]

noclip [ off ] [ off ]
null texture stripping[ on ] [ on ]
clipnode economy mode [ on ] [ on ]
onlyents [ off ] [ off ]
wadtextures [ on ] [ on ]
skyclip [ on ] [ on ]
hullfile [ None ] [ None ]
min surface area [ 0.500 ] [ 0.500 ]
brush union threshold [ 0.000 ] [ 0.000 ]

Using mapfile wad configuration
Wadinclude list :
[zhlt.wad]

0 brushes (totalling 0 sides) discarded from clipping hulls
CreateBrush:
(0.23 seconds)
SetModelCenters:
(0.00 seconds)
CSGBrush:
(1.06 seconds)

Using Wadfile: \documents and settings\rh-pengy\desktop\cs mapping appz\wads\cstrike.wad
- Contains 6 used textures, 21.43 percent of map (123 textures in wad)
Using Wadfile: \documents and settings\rh-pengy\desktop\cs mapping appz\wads\halflife.wad
- Contains 13 used textures, 46.43 percent of map (3116 textures in wad)
Using Wadfile: \documents and settings\rh-pengy\desktop\cs mapping appz\wads\ajawad.wad
- Contains 0 used textures, 0.00 percent of map (1 textures in wad)
Using Wadfile: \documents and settings\rh-pengy\desktop\cs mapping appz\wads\chateau.wad
- Contains 1 used texture, 3.57 percent of map (136 textures in wad)
Using Wadfile: \documents and settings\rh-pengy\desktop\cs mapping appz\wads\cs_747.wad
- Contains 0 used textures, 0.00 percent of map (143 textures in wad)
Using Wadfile: \documents and settings\rh-pengy\desktop\cs mapping appz\wads\cs_bdog.wad
- Contains 1 used texture, 3.57 percent of map (132 textures in wad)
Using Wadfile: \documents and settings\rh-pengy\desktop\cs mapping appz\wads\cstraining.wad
- Contains 0 used textures, 0.00 percent of map (24 textures in wad)
Using Wadfile: \documents and settings\rh-pengy\desktop\cs mapping appz\wads\cs_office.wad
- Contains 4 used textures, 14.29 percent of map (102 textures in wad)
Using Wadfile: \documents and settings\rh-pengy\desktop\cs mapping appz\wads\cs_havana.wad
- Contains 3 used textures, 10.71 percent of map (122 textures in wad)

Warning: More than 8 wadfiles are in use. (9)
This may be harmless, and if no strange side effects are occurring, then
it can safely be ignored. However, if your map starts exhibiting strange
or obscure errors, consider this as suspect.


added 6 additional animating textures.
Texture usage is at 0.97 mb (of 4.00 mb MAX)
1.50 seconds elapsed

----- END hlcsg -----



hlbsp v2.5.3 rel Custom Build 1.7 (Dec 9 2002)
Zoner's Half-Life Compilation Tools -- Custom Build
Based on code modifications by Sean 'Zoner' Cavanaugh
Based on Valve's version, modified with permission.
Submit detailed bug reports to (merlinis@bigpond.net.au)
----- BEGIN hlbsp -----
Command line: hlbsp rh_meto

Current hlbsp Settings
Name | Setting | Default
-------------------|-----------|-------------------------
threads [ 1 ] [ Varies ]
verbose [ off ] [ off ]
log [ on ] [ on ]
developer [ 0 ] [ 0 ]
chart [ off ] [ off ]
estimate [ off ] [ off ]
max texture memory [ 4194304 ] [ 4194304 ]
priority [ Normal ] [ Normal ]

noclip [ off ] [ off ]
nofill [ off ] [ off ]
null tex. stripping [ on ] [ on ]
notjunc [ off ] [ off ]
subdivide size [ 240 ] [ 240 ] (Min 64) (Max 512)
max node size [ 1024 ] [ 1024 ] (Min 64) (Max 4096)


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


----- END hlbsp -----



hlvis v2.5.3 rel Custom Build 1.7 (Dec 9 2002)
Zoner's Half-Life Compilation Tools -- Custom Build
Based on code modifications by Sean 'Zoner' Cavanaugh
Based on Valve's version, modified with permission.
Submit detailed bug reports to (merlinis@bigpond.net.au)
----- BEGIN hlvis -----
Command line: hlvis rh_meto
>> There was a problem compiling the map.
>> Check the file rh_meto.log for the cause.

----- END hlvis -----



hlrad v2.5.3 rel Custom Build 1.7 (Dec 9 2002)
Zoner's Half-Life Compilation Tools -- Custom Build
Based on code modifications by Sean 'Zoner' Cavanaugh
Based on Valve's version, modified with permission.
Submit detailed bug reports to (merlinis@bigpond.net.au)
----- BEGIN hlrad -----
Command line: hlrad rh_meto
>> There was a problem compiling the map.
>> Check the file rh_meto.log for the cause.

----- END hlrad -----


I've got 9 wads included but that cant be the cause of this error. I removed one leaving 8 WAD's left (restarted Worldcraft) but nothing has changed......
WinVista,??......Fuck Off!...
 
 
 
2006 Dec 20 at 09:40 UTC
jacksmoke234
Tendrils McGee

2005 Mar 21 • 1375
34 ₧
Hmm that log did nothing for me :-\.

Did you use the "fit" option on any of the brushes? This could of made a texture too small.
 
 
 
2006 Dec 20 at 12:29 UTC
rh-penguin

2006 Dec 4 • 50
13 ₧
i used it in some places. what should i do now?>
(on another map when i used the 'fit' option and i used it alot, i didnt get this error :/)
WinVista,??......Fuck Off!...
 
 
 
2006 Dec 20 at 13:35 UTC
SuperJer
Websiteman

2005 Mar 21 • 6673
Copied from tommy of escondido's:

Quote:
Max_leaf_faces

You have gone over a limit similar to max patches error, but by BSP creating too many leaf faces for VIS to handle - probably due to "shattering" of a brush. Did you carve a complex brush (like a cylinder) or intersect it with another brush?
 
 
 
2006 Dec 20 at 22:27 UTC
rh-penguin

2006 Dec 4 • 50
13 ₧
superjer, just like i said; Ur tha MAN!!!!!

I copyd and cut up one of the balkonys from cs_militia. It had alot of brushes laying one over another. As soon as i deleted it, it all went good. Well, now it gives me another error: [code:1]Error: Bad surface extents[/code:1]

The full .log is: [code:1]hlcsg v2.5.3 rel Custom Build 1.7 (Dec 9 2002)
Zoner's Half-Life Compilation Tools -- Custom Build
Based on code modifications by Sean 'Zoner' Cavanaugh
Based on Valve's version, modified with permission.
Submit detailed bug reports to (merlinis@bigpond.net.au)
----- BEGIN hlcsg -----
Command line: hlcsg rh_meto
Entering rh_meto.map

Current hlcsg Settings
Name | Setting | Default
---------------------|-----------|-------------------------
threads [ 1 ] [ Varies ]
verbose [ off ] [ off ]
log [ on ] [ on ]
developer [ 0 ] [ 0 ]
chart [ off ] [ off ]
estimate [ off ] [ off ]
max texture memory [ 4194304 ] [ 4194304 ]
priority [ Normal ] [ Normal ]

noclip [ off ] [ off ]
null texture stripping[ on ] [ on ]
clipnode economy mode [ on ] [ on ]
onlyents [ off ] [ off ]
wadtextures [ on ] [ on ]
skyclip [ on ] [ on ]
hullfile [ None ] [ None ]
min surface area [ 0.500 ] [ 0.500 ]
brush union threshold [ 0.000 ] [ 0.000 ]

Using mapfile wad configuration
Wadinclude list :
[zhlt.wad]

0 brushes (totalling 0 sides) discarded from clipping hulls
CreateBrush:
(0.23 seconds)
SetModelCenters:
(0.00 seconds)
CSGBrush:
(1.00 seconds)

Using Wadfile: \documents and settings\rh-pengy\desktop\cs mapping appz\wads\cstrike.wad
- Contains 7 used textures, 29.17 percent of map (123 textures in wad)
Using Wadfile: \documents and settings\rh-pengy\desktop\cs mapping appz\wads\halflife.wad
- Contains 10 used textures, 41.67 percent of map (3116 textures in wad)
Using Wadfile: \documents and settings\rh-pengy\desktop\cs mapping appz\wads\ajawad.wad
- Contains 0 used textures, 0.00 percent of map (1 textures in wad)
Using Wadfile: \documents and settings\rh-pengy\desktop\cs mapping appz\wads\chateau.wad
- Contains 1 used texture, 4.17 percent of map (136 textures in wad)
Using Wadfile: \documents and settings\rh-pengy\desktop\cs mapping appz\wads\cs_747.wad
- Contains 0 used textures, 0.00 percent of map (143 textures in wad)
Using Wadfile: \documents and settings\rh-pengy\desktop\cs mapping appz\wads\cs_bdog.wad
- Contains 1 used texture, 4.17 percent of map (132 textures in wad)
Using Wadfile: \documents and settings\rh-pengy\desktop\cs mapping appz\wads\cs_office.wad
- Contains 3 used textures, 12.50 percent of map (102 textures in wad)
Using Wadfile: \documents and settings\rh-pengy\desktop\cs mapping appz\wads\cs_havana.wad
- Contains 2 used textures, 8.33 percent of map (122 textures in wad)

added 6 additional animating textures.
Texture usage is at 0.90 mb (of 4.00 mb MAX)
1.41 seconds elapsed

----- END hlcsg -----



hlbsp v2.5.3 rel Custom Build 1.7 (Dec 9 2002)
Zoner's Half-Life Compilation Tools -- Custom Build
Based on code modifications by Sean 'Zoner' Cavanaugh
Based on Valve's version, modified with permission.
Submit detailed bug reports to (merlinis@bigpond.net.au)
----- BEGIN hlbsp -----
Command line: hlbsp rh_meto

Current hlbsp Settings
Name | Setting | Default
-------------------|-----------|-------------------------
threads [ 1 ] [ Varies ]
verbose [ off ] [ off ]
log [ on ] [ on ]
developer [ 0 ] [ 0 ]
chart [ off ] [ off ]
estimate [ off ] [ off ]
max texture memory [ 4194304 ] [ 4194304 ]
priority [ Normal ] [ Normal ]

noclip [ off ] [ off ]
nofill [ off ] [ off ]
null tex. stripping [ on ] [ on ]
notjunc [ off ] [ off ]
subdivide size [ 240 ] [ 240 ] (Min 64) (Max 512)
max node size [ 1024 ] [ 1024 ] (Min 64) (Max 4096)


BSP generation successful, writing portal file 'rh_meto.prt'
3.63 seconds elapsed

----- END hlbsp -----



hlvis v2.5.3 rel Custom Build 1.7 (Dec 9 2002)
Zoner's Half-Life Compilation Tools -- Custom Build
Based on code modifications by Sean 'Zoner' Cavanaugh
Based on Valve's version, modified with permission.
Submit detailed bug reports to (merlinis@bigpond.net.au)
----- BEGIN hlvis -----
Command line: hlvis rh_meto
544 portalleafs
1498 numportals

-= Current hlvis Settings =-
Name | Setting | Default
-------------------|-----------|-------------------------
threads [ 1 ] [ Varies ]
verbose [ off ] [ off ]
log [ on ] [ on ]
developer [ 0 ] [ 0 ]
chart [ off ] [ off ]
estimate [ off ] [ off ]
max texture memory [ 4194304 ] [ 4194304 ]
max vis distance [ 0 ] [ 0 ]
priority [ Normal ] [ Normal ]

fast vis [ off ] [ off ]
full vis [ off ] [ off ]


BasePortalVis:
(0.53 seconds)
LeafThread:
(5.89 seconds)
average leafs visible: 91
g_visdatasize:24819 compressed from 36992
6.48 seconds elapsed

----- END hlvis -----



hlrad v2.5.3 rel Custom Build 1.7 (Dec 9 2002)
Zoner's Half-Life Compilation Tools -- Custom Build
Based on code modifications by Sean 'Zoner' Cavanaugh
Based on Valve's version, modified with permission.
Submit detailed bug reports to (merlinis@bigpond.net.au)
----- BEGIN hlrad -----
Command line: hlrad rh_meto

-= Current hlrad Settings =-
Name | Setting | Default
--------------------|---------------------|-------------------------
threads [ 1 ] [ Varies ]
verbose [ off ] [ off ]
log [ on ] [ on ]
developer [ 0 ] [ 0 ]
chart [ off ] [ off ]
estimate [ off ] [ off ]
max texture memory [ 4194304 ] [ 4194304 ]
priority [ Normal ] [ Normal ]

vismatrix algorithm [ Original ] [ Original ]
oversampling (-extra)[ off ] [ off ]
bounces [ 1 ] [ 1 ]
ambient light [ 0.000 0.000 0.000 ] [ 0.000 0.000 0.000 ]
maximum light [ 255.000 ] [ 256.000 ]
circus mode [ off ] [ off ]

smoothing threshold [ 50.000 ] [ 50.000 ]
direct threshold [ 25.000 ] [ 25.000 ]
direct light scale [ 2.000 ] [ 2.000 ]
coring threshold [ 1.000 ] [ 1.000 ]
patch interpolation [ on ] [ on ]

texscale [ on ] [ on ]
patch subdividing [ on ] [ on ]
chop value [ 64.000 ] [ 64.000 ]
texchop value [ 32.000 ] [ 32.000 ]

global fade [ 1.000 ] [ 1.000 ]
global falloff [ 2 ] [ 2 ]
global light scale [ 1.000 1.000 1.000 ] [ 1.000 1.000 1.000 ]
global gamma [ 0.500 0.500 0.500 ] [ 0.500 0.500 0.500 ]
global light scale [ 1.000 ] [ 1.000 ]
global sky diffusion [ 1.000 ] [ 1.000 ]

opaque entities [ on ] [ on ]
sky lighting fix [ on ] [ on ]
incremental [ off ] [ off ]
dump [ off ] [ off ]

colour jitter [ 0.0 0.0 0.0 ] [ 0.0 0.0 0.0 ]
monochromatic jitter [ 0.0 0.0 0.0 ] [ 0.0 0.0 0.0 ]
softlight hack [ 0.0 0.0 0.0 0.0 ] [ 0.0 0.0 0.0 0.0 ]
diffuse hack [ on ] [ on ]
spotlight points [ on ] [ on ]

custom shadows with bounce light
[ off ] [ off ]
rgb transfers [ off ] [ off ]


9781 faces
Create Patches : 31899 base patches
0 opaque faces
199839 square feet [28776844.00 square inches]
16 direct lights

BuildFacelights:
Error:
for Face 354 (texture -0cstrike_fj2dk) at
(-88.000 981.125 268.000) (-88.000 981.000 268.000) (-266.000 981.000 268.000) (-266.000 981.125 268.000)
Error: Bad surface extents (10 x 9433)
Check the file ZHLTProblems.html for a detailed explanation of this problem

----- END hlrad -----[/code:1]
WinVista,??......Fuck Off!...
 
 
 
2006 Dec 21 at 00:19 UTC
jacksmoke234
Tendrils McGee

2005 Mar 21 • 1375
34 ₧
Hmm first try removing this texture from your map.

[code:1]texture -0cstrike_fj2dk[/code:1]

Then recompile and see if it is still giving you the same problem.
 
 
 
2006 Dec 21 at 06:49 UTC
rh-penguin

2006 Dec 4 • 50
13 ₧
yea i noticed that last night but since them brushes r used quite alot in my map i thaught maybe ill wait and c if theres some other way out.
Neways, i tried to remove it and retexture it but once i did, id get a new error. Its saying the same thing just for another brush. And this brush is/are my walls..............:( which is the main part of the map.......lol!!! (althaugh it aint funny)

What can i do?

I really dont want to start building the map all over again. Theres quite a bit to it already and since im a new mapper i cant get around Worldcraft as fast as i would want to.

So is there any other alternative to this problem?.......

Tha MAN?
WinVista,??......Fuck Off!...
 
 
 
2006 Dec 21 at 11:37 UTC
SuperJer
Websiteman

2005 Mar 21 • 6673
Bad surface extents

Use check for problems and look for any texture axis perpendicular to face and fix.

OR if you have any really HUGELY scaled textures, that could do it too.
 
 
 
2006 Dec 21 at 18:25 UTC
rh-penguin

2006 Dec 4 • 50
13 ₧
when i tried to search for problems, i got a No Errors Found message and i dont have any huge brushes. anything else you could recommend?
WinVista,??......Fuck Off!...
 
 
 
2006 Dec 22 at 20:04 UTC
rh-penguin

2006 Dec 4 • 50
13 ₧
I tried to make another map(remake of the other one).

I've got 4 walls with a floor and a ceiling. Theres nothing else on the map and im still getting the same error......
None of my brushes over-lap nor do i have anything 'spectacular' carved out. Like i said "4 walls" thats all i have.

WinVista,??......Fuck Off!...
 
 
 
2006 Dec 25 at 14:32 UTC
Page [1]