PDA

View Full Version : Unknown Error.


Clank
March 13th, 2003, 11:55 PM
Alright I've worked quite some time on this map, compiled a build the other day after i had changed a TON of stuff. and I get this error.

----- BEGIN hlbsp -----
Command line: D:\GAMEIN~1\HAMMER\ZHLT\HLBSP.EXE D:\Maps\complex.map -estimate

Current hlbsp Settings
Name | Setting | Default
-------------------|-----------|-------------------------
threads [ 1 ] [ Varies ]
verbose [ off ] [ off ]
log [ on ] [ on ]
developer [ 0 ] [ 0 ]
chart [ off ] [ off ]
estimate [ on ] [ 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 'D:\Maps\complex.prt'
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 -----


I really would like to know how to find this, and fix it, cuz I really don't wanna go back to my previous build. If i can get any help it would be nice.

I have already looked through forums at ERC and TFMAPPED, searched through handy vandals, and even the collective. nothing i found really helped, so this is my next stop.

March 14th, 2003, 01:00 AM
open the mapname.log and it should give coordinates

FryGuy
March 14th, 2003, 04:42 AM
that is the log.

Did you already do an alt-p in worldcraft?

March 14th, 2003, 09:50 AM
I could have sworn the stuff that shows up in the compile window is separate from the log. I had bad surface extents and it didn't show the coordinates in the window, but I opened the log and it showed them.

SuperSumo
March 14th, 2003, 10:45 AM
did you carve?

FryGuy
March 14th, 2003, 02:59 PM
oh maybe it does. I don't use worldcraft to compile, I use a batch file that opens notepad with the log file at the end.

Clank
March 14th, 2003, 04:42 PM
That is from the log, run by a batch file.
Yes, there are no problems.
No I don't carve. (CARVING = TEH EVIL)

Am I screwed?

Clank
March 15th, 2003, 10:32 PM
^^bump^^ plz

March 15th, 2003, 11:20 PM
If it don't have the coordinates, start doing bigblock.

FryGuy
March 16th, 2003, 03:58 PM
yes bigblock should work if you don't have two of them.

if you don't know what bigblock is, place a very large brush covering about half of your level. Keep doing a bsp compile and dividing the remaining part of your level in half, until you don't get the error. When you don't any more you know that the error is in the half that you most recently covered. You can procede with this to narrow down the error if you want to by covering the other remaining half instead (making sure it errors at that point still, otherwise the error spans both halves, or you have an error in each half) and then repeat the process.

I'm sure you can figure it out :)

Defrag
March 16th, 2003, 07:27 PM
Go look this up on the valve erc - it's usually caused by having extremely complex geometry in a certain area, the engine can't cope. If you've done any weird clipping or manipulating of a certain brush, go back and delete it. I would just go through the area you've changed and look for the most complex parts, then delete them or turn them into a func_wall (temporarily) to see if the error still happens.

Clank
March 16th, 2003, 07:28 PM
ahh thx, so it is a leak "type" error.

i just had no clue how to find/fix it.
ty for that long xplanation fryguy, but i knew what bigblocking is :p

EDIT: just read urs defrag. i read the erc and didn't quite understand what it meant. so what ur saying is i should go find some complex brushes and change them to func_walls? that will eliminate the error so i can go back and fix the brushes? cuz as far as I know, all of my complex stuff is already a func_wall.

Clank
March 16th, 2003, 07:41 PM
bigblocking doesn't fix this type of error. covered the whole map :(

looks like ima start deleting chunks of map.