Page 1 of 1

DrawDistance in ODF lights? :o

Posted: Thu Apr 17, 2014 10:44 pm
by Marth8880
Anyone have any idea on how to make ODF lights appear when they're a REALLY far distance from the player? (e.g., across an entire map?) :o
Hidden/Spoiler:
Image
I tried using the DrawDistance parameter in the light's ODF as per the parameter being listed in this document: http://www.secretsociety.com/forum/downloads/BF2Docs/ODF%20Parameters.txt (press Ctrl+F and type "DrawDistance" without the quotes)
But with no luck. To be specific, I tried setting it to 2000.0.

I know for a fact the lights work because:
Hidden/Spoiler:
Image
Light ODF:

Code: Select all

[GameObjectClass]
ClassLabel			= "Light"

[Properties]
Color				= "21 186 238"
ConeLength			= 0
ConeWidth			= 0
ConeInitialWidth			= 4
ConeFadeFactor			= 0
FlareIntensity			= 0.68
FlickerType			= 0
FlickerPeriod			= 1.0

DrawDistance	= 2000.0

Re: DrawDistance in ODF lights? :o

Posted: Fri Apr 18, 2014 5:25 am
by thelegend
I am not an expert in light odf's but maybe try to add lights in lighting mode. Maybe this should work. Or the view distance in your sky file is to low. I dont know if it works.

Re: DrawDistance in ODF lights? :o

Posted: Fri Apr 18, 2014 12:03 pm
by Maveritchell
Do you have an example in your head of lights being visible at far distance? They may simply not be able to be drawn, in which case, use an LOD "light" model that only has a lowrez model.

Re: DrawDistance in ODF lights? :o

Posted: Fri Apr 18, 2014 12:10 pm
by Marth8880
Yeah, I was specifically thinking of aircraft warning lights on very tall towers. But yeah, I'll likely just go with glowing bits instead. :( I could always also have a lens flare particle effect... Hmmmm......