View Full Version : Problem with Light compile

07-16-2002, 09:15 AM
When doing compile with a Light option, my junk.txt gives this error in the Light section.

Exceeded MAX_MAP_LIGHTGRID_ARRAY (4871061 >= 1048576)

Anyone know what that means? I tried to get help over at Massassi, but no luck so far. Please help!

http://forums.massassi.net/html/Forum17/HTML/001722.html (Massassi thread)


07-16-2002, 10:55 AM
Your lighting is too complex, plain and simple... you can alter the lighting gridsize in worldspawn, but it's much more efficient in the long run to simply figure out what's causing the problem.

There is really no reason you should have that many lightmaps unless you have a lighted evil brush, or if your map is just way too big. :)

Try compiling with both FastVis and FullVis and see if that first number (the 4871061) changes.

07-16-2002, 11:03 AM
Rikku said she only had like 30 lights. Even after the gridsize thing, still won't work apparently. She also said she reduced it to one light and still got the error. :eek:

From QERadiant.com:


You have too many lights in your map. In the worldspawn enter key lightgrid and for the value, 64 64 64. Infinite brushes can also cause this error.

It doesn't seem to be the lights, so it's probably the brush thing.

07-16-2002, 11:05 AM
Ahh, then did a Bobs Tools evil brush purge not fix it?

07-16-2002, 11:07 AM
Dunno. Try that, Rikku.

By the way, bobToolz is the BEST PLUGIN NAME EVER!

07-16-2002, 02:48 PM
I changed the massive floor and ceiling brushes for a lot of smaller ones, made a light with 2000 and placed it between a few buildings and STILL I get this problem

07-17-2002, 02:29 AM

Would really help to know.

07-17-2002, 02:43 AM
Did you try bobToolz?

07-17-2002, 07:57 AM
for the exceeded lightmap problem i can give you the following stuff

looking into this thread should clarify the gridsize option