DrawDistance in ODF lights? :o

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

DrawDistance in ODF lights? :o

Post 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
thelegend
Sith
Sith
Posts: 1433
Joined: Thu Jan 23, 2014 6:01 am
Projects :: Star Wars - Battlefront III Legacy
Games I'm Playing :: Swbf GTA CoD LoL KH
xbox live or psn: El_Fabricio#
Location: Right behind you :)

Re: DrawDistance in ODF lights? :o

Post 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.
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: DrawDistance in ODF lights? :o

Post 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.
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: DrawDistance in ODF lights? :o

Post 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......
Post Reply