Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsJedi Outcast and Jedi Academy Editing Forum → lighting exceeds maximum memory
lighting exceeds maximum memory
2002-11-14, 12:39 PM #1
i recieve this error when attempting a fullvis compilation:

Exceeded MAX_MAP_LIGHTGRID_ARRAY (3599295 >= 1048576)

any way i can reduce the amount of memory needed for lighting calculations?
2002-11-14, 12:53 PM #2
Use Q3Map2. It will automatically adjust the size of the lightgrid as your level expands. On top of that, it's just a better compiler.

Check out wudan's thread on the lucasforums.com mapping forum, he has all the info you need.
Bassoon, n. A brazen instrument into which a fool blows out his brains.
2002-11-14, 1:22 PM #3
either do what emon suggests or (i had same prob (exceeded MAX_MAP_LIGHTGRID_ARRAY))
and i added-
key: gridsize

value: 128 128 128 (default is 64 64 128)

to the worldspawn.
2002-11-17, 3:31 AM #4
How do you use that compiler, ther Emon. I installed it to my radiant directory and made a batch file like he said. But how do i get it so that it compiles my map instead of Sof2???? Bare in mind i know jack about code or anything else.

------------------
NEB
NEB
2002-11-17, 4:26 AM #5
Drag the MAP file onto the BAT, and watch it go.
Bassoon, n. A brazen instrument into which a fool blows out his brains.
2002-11-17, 5:52 AM #6
I did and it went zumppppppp, dead fast. Then when i checked the map it wsn't updated. So i tried another map and that never compiled either.

This is what i put in the bat file,

C:\Program Files\LucasArts\Star Wars JK II Jedi Outcast\GameData\Q3map2 -game jk2 -bsp -meta C:\Program Files\LucasArts\Star Wars JK II Jedi Outcast\GameData\base\seaplat.map
:\Program Files\LucasArts\Star Wars JK II Jedi Outcast\GameData\Q3map2 -game jk2 -vis C:\Program Files\LucasArts\Star Wars JK II Jedi Outcast\GameData\base\seaplat.map
:\Program Files\LucasArts\Star Wars JK II Jedi Outcast\GameData\Q3map2 -game jk2 -light -fast C:\Program Files\LucasArts\Star Wars JK II Jedi Outcast\GameData\base\seaplat.map

but before that i just had mymap.map, like Wudan had on the example. Neither way has worked.

------------------
NEB
NEB
2002-11-17, 8:35 AM #7
1. You need quotes around files and paths that have spaces in them.

2. For the drag and drop method, you're supposed to use %1 instead of the actual map. So replace that C:\Programblah\Lucasblah\JOBlah\gamedata\base\seaplat.map with %1.

3. I'd put a pause command at the end of it so it pauses and you can scroll through the output.


If you added the quotes around the files and paths, you could just run it, otherwise you'll need to do step 2 for drag and drop.
Bassoon, n. A brazen instrument into which a fool blows out his brains.
2002-11-17, 9:22 AM #8
Youv;e lost me with the 1% bit, what else do you put with the 1% as opposed to the map specific files and paths.

------------------
NEB
NEB
2002-11-17, 10:17 AM #9
Instead of putting:

C:\Program Files\LucasArts\Star Wars JK II Jedi Outcast\GameData\base\seaplat.map

You put:

%1

That lets you drag and drop the MAP onto the BAT file. The %1 will become whatever you dragged onto the BAT.
Bassoon, n. A brazen instrument into which a fool blows out his brains.

↑ Up to the top!