Glowing in ODFs

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
User avatar
CodaRez
Field Commander
Field Commander
Posts: 940
Joined: Mon May 25, 2009 6:49 am
Projects :: I would like one.....
Location: Ride around the world! And I won't give you anything :P

Glowing in ODFs

Post by CodaRez »

Just wondering, in the properties section of the ODF is ther a line of text to define an objects glow?

If so what is it?

Or is it meant to be in another file.
myers73
Lieutenant General
Lieutenant General
Posts: 690
Joined: Fri Apr 03, 2009 11:04 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Atlanta, GA xfire=myers73 IngameName=mYers

Re: Glowing in ODFs

Post by myers73 »

Code: Select all

[GameObjectClass]		
ClassLabel		= "Light"

[Properties]
Name			= white_light_flicker
Color			= "255 255 255"
OmniRadius 		= 4.0 
FlickerType		= StrobeRandom
FlickerPeriod		= 0.5	
ShadowCaster		= 1

FlareIntensity 		= 0.0
ConeLength 		= 0.0
HaloRadius 		= 0.0
this is the odf for the lights on tantive. try using some of the lines from this.
User avatar
CodaRez
Field Commander
Field Commander
Posts: 940
Joined: Mon May 25, 2009 6:49 am
Projects :: I would like one.....
Location: Ride around the world! And I won't give you anything :P

Re: Glowing in ODFs

Post by CodaRez »

Can anyone explain which new line in that text actually does? Cus I bet adding this will make my object glare like the sun or something, which isn't what I want.
FragMe!
Gametoast Staff
Gametoast Staff
Posts: 2244
Joined: Sat May 13, 2006 12:34 am
Projects :: Not sure keep changing my mind.
Games I'm Playing :: F1 and SWBF
xbox live or psn: No gamertag set
Location: Origin name GT_FragMe
Contact:

Re: Glowing in ODFs

Post by FragMe! »

You are talking about making parts of a msh glow correct.
Have a look at this, it explains how it can be accomplished.
User avatar
CodaRez
Field Commander
Field Commander
Posts: 940
Joined: Mon May 25, 2009 6:49 am
Projects :: I would like one.....
Location: Ride around the world! And I won't give you anything :P

Re: Glowing in ODFs

Post by CodaRez »

So with that method supposedly the .odf can be a normal blank prop type?
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: Glowing in ODFs

Post by Fiodis »

It makes the mesh glow. The ODF has no choice in the matter. Yes, the ODF can just be a plain ODF.

It may also be mentioned that Rep's Meshtool can also apply glow rather than you having to hex it in. I think you would still need to apply a vertex map, correct?
Post Reply