Page 1 of 1

q3map2 decompile loses light entities in new maps

Posted: Thu Mar 05, 2015 9:59 pm
by Pat Howard
I'm dealing with a strange bug and I was wondering if someone else could reproduce it.

When I decompile a .bsp, the light entities seem to be missing in some maps but not others. I think it may have something to do with the version of q3map2 the .bsp was compiled with because the light entities are not missing in maps from 2000 or earlier.

Try decompiling a map that was made in the year 2000, and then a recent map, and let me know what happens.

Here is the batch file I am using:

Code: Select all

set MAP_PATH="C:\Program Files (x86)\Quake III Arena Developer\FILENAME.bsp"
cd "C:\Program Files (x86)\Quake III Arena Developer\q3map2"

q3map2 -game -q3 -convert -format map %MAP_PATH%

pause
thanks,
pat

Re: q3map2 decompile loses light entities in new maps

Posted: Thu Mar 05, 2015 10:14 pm
by Theftbot
Light ents are not needed after compile-some choose to save light ents(worldspawn switch)-hence what your seeing.

Re: q3map2 decompile loses light entities in new maps

Posted: Fri Mar 06, 2015 6:49 am
by Pat Howard
gotcha, thanks.

Re: q3map2 decompile loses light entities in new maps

Posted: Mon Mar 30, 2015 11:17 pm
by KittenIgnition
The key is _keeplights, BTW.