Lightdata Created 12 years ago2011-09-29 01:14:24 UTC by winds winds

Created 12 years ago2011-09-29 01:14:24 UTC by winds winds

Posted 12 years ago2011-09-29 01:14:24 UTC Post #299559
Hey guys,
Having troubles compiling my map, or more specifically, it seems to compile perfectly but when I go to play it, cs freezes. I looked in my compilation log and it seems my lightdata is over it's limit in hlrad.

Object names Objects/Maxobjs Memory / Maxmem Fullness
---------- ------------- ------------- ------
models 146/400 9344/25600 (36.5%)
planes 12528/32767 250560/655340 (38.2%)
vertexes 16203/65535 194436/786420 (24.7%)
nodes 6110/32767 146640/786408 (18.6%)
texinfos 1976/32767 79040/1310680 ( 6.0%)
faces 11350/65535 227000/1310700 (17.3%)
clipnodes 17138/32767 137104/262136 (52.3%)
leaves 4169/8192 116732/229376 (50.9%)
marksurfaces 14501/65535 29002/131070 (22.1%)
surfedges 53625/512000 214500/2048000 (10.5%)
edges 28730/256000 114920/1024000 (11.2%)
texdata [variable] 2746728/4194304 (65.5%)
lightdata [variable] 4250178/4194304 (101.3%)
visdata [variable] 369976/2097152 (17.6%)
entdata [variable] 43869/524288 ( 8.4%)
59 textures referenced

Total BSP file data space used: 8930029 bytes

61.10 seconds elapsed [1m 1s]

--- END hlrad ---

Compiling doesn't give me any errors, so I can only assume thats the culprit.
Does anyone know how to fix this? Is there a way around this without having to delete lights? I tried deleting 16 lights already but that appeared to make no difference.
I also tried adding -lightdata 6144 to hlrad but hlrad just crashed during compile.
Please help :(
Posted 12 years ago2011-09-29 02:25:33 UTC Post #299560
Are you using Zoner's tools?
Posted 12 years ago2011-09-29 02:37:27 UTC Post #299561
Yeah, zhlt 3.4
Posted 12 years ago2011-09-29 04:51:36 UTC Post #299564
as far as i know compiler log is not short like this

anyway you can try backup your map, than slice it to half, close the big leak and try again,
if it don't work, try other half

you can find the error with this method when you don't know anything about any error

if you exceed the halflife limitations, you need reduce from everything a bit
Posted 12 years ago2011-09-29 05:16:05 UTC Post #299565
I found the problem. I had two lights that were turning on and off with a multi manager. Apparently those 2 lights alone took up half of my light data. Still though, does anyone know why using -lightdata 6144 doesn't work when compiling?
Posted 12 years ago2011-09-29 10:50:09 UTC Post #299568
Because -lightdata is a shared option and must be set with the same value on both BSP and CSG.
Posted 12 years ago2011-09-29 19:13:06 UTC Post #299593
Thanks Dragos,
But I actually tried it with The Compilator, which set it for everything automatically, and as well as a batch file, still no go :(
You must be logged in to post a response.