Rotating light effects [Solved]

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
Snork
Lieutenant General
Lieutenant General
Posts: 669
Joined: Thu Jun 07, 2007 3:34 pm
Games I'm Playing :: SWBF2 and Minecraft
xbox live or psn: No gamertag set
Contact:

Rotating light effects [Solved]

Post by Snork »

I'm trying to create a lighthouse using an object with a light effect attached to it spinning around with ze animations. The object spins around, but the light remains in one direction, unmoving. Is there any way to accomplish what I'm trying to do?

This is the object rotating (don't be fooled, its a renamed rep pistol)
Hidden/Spoiler:
[code]
[GameObjectClass]

ClassLabel = "prop"
GeometryName = "lighthouse.msh"


[Properties]

GeometryName = "lighthouse"

AttachOdf = "lighthouselight"
AttachToHardPoint = "hp_fire"


FoleyFXGroup = "metal_foley"[/code]
and here is the light being attached
Hidden/Spoiler:
[code][GameObjectClass]
ClassLabel = "Light"

[Properties]
Color = "241 230 202"
ConeLength = 50.0
ConeWidth = 12.0
ConeInitialWidth = 0.5
ConeFadeFactor = 0.3



OmniRadius = 50.0
[/code]
any help'd be appreciated :)
THEWULFMAN
Space Ranger
Posts: 5557
Joined: Tue Aug 17, 2010 3:30 pm
Projects :: Evolved 2
Location: Columbus, Ohio
Contact:

Re: Rotating light effects

Post by THEWULFMAN »

In battlefront, lights are completly static, afaik. You can not turn them off, cant move them, etc. I may be wrong, I think Mav did something like that in his aquiris(correct spelling?) map. There were moving searchlights, I think he had lights attached. I would not know how to get them moving. My ZE doesnt do animations, dont ask.
Lephenix

Re: Rotating light effects

Post by Lephenix »

THEWULFMAN wrote:In battlefront, lights are completly static, afaik. You can not turn them off, cant move them, etc. I may be wrong, I think Mav did something like that in his aquiris(correct spelling?) map. There were moving searchlights, I think he had lights attached. I would not know how to get them moving. My ZE doesnt do animations, dont ask.
You're wrong , Fragme! did it :

http://www.xfire.com/video/173bc9/
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: Rotating light effects

Post by FragMe! »

If I remember correctly that is an animated prop. The animation was done in XSI but you should be able to use ZE animations too.

From the attached effects doc
If an attached effect must remain attached to a moving or animated object, you must include the tag AttachDynamic = "1".
Try adding that to the first odf.
User avatar
Snork
Lieutenant General
Lieutenant General
Posts: 669
Joined: Thu Jun 07, 2007 3:34 pm
Games I'm Playing :: SWBF2 and Minecraft
xbox live or psn: No gamertag set
Contact:

Re: Rotating light effects

Post by Snork »

It worked, thank you very much :)
THEWULFMAN
Space Ranger
Posts: 5557
Joined: Tue Aug 17, 2010 3:30 pm
Projects :: Evolved 2
Location: Columbus, Ohio
Contact:

Re: Rotating light effects

Post by THEWULFMAN »

FragMe! wrote:If I remember correctly that is an animated prop. The animation was done in XSI but you should be able to use ZE animations too.

From the attached effects doc
If an attached effect must remain attached to a moving or animated object, you must include the tag AttachDynamic = "1".
Try adding that to the first odf.
Cool, gald I was wrong. I must try that out myself.
Post Reply