light entities


(Igmon) #1

I tried out q3map2 to compile levels I created and I notice that q3map2, unlike Id’s q3map does not write the light entities in the bsp file.

I was wondering if there is an option to make q3map2 write the light entities in the bsp file? I’ve looked at the document and I can’t seem to find the possibility.


(pazur) #2

why do you need the light entities in the bsp file?


(ydnar) #3

Add this key/value pair to worldspawn:

“_keeplights” “1”

If you are making a realtime lighting engine, I’d suggest using a different entity classname for your realtime lights, such as “rt_light.”


(Igmon) #4

yes, I’m trying to add realtime lights to an engine I’m working on. Thanks.