Page 1 of 1

Attaching an Effect to a Flyer Turned Prop [SOLVED]

Posted: Sat Jun 23, 2012 6:41 pm
by yuke5
My map features speeders flying above a set area. I took some community made assets and modified the odfs so that they were no longer flyers and just props. However, I want to add the effects they models had as flyers to the props. For example, I used Mav's tie_fly_atr:

Mav's ODF (the part pertaining to effects):
Hidden/Spoiler:
//1
ThrustEffect = "com_sfx_exhaust_jedistarfighter_blue"
ThrustAttachPoint = "hp_thrust1"
ThrustEffectMinScale = "0.5"
ThrustEffectMaxScale = "1.4"
ThrustEffectScaleStart = "0.55"
My simplified, prop, ODF:
Hidden/Spoiler:
[GameObjectClass]
ClassLabel = "prop"
GeometryName = "tie_fly_atr6.msh"

[Properties]
GeometryName = "tie_fly_atr6"

AttachEffect = "com_sfx_exhaust_jedistarfighter_blue"
AttachToHardPoint = "hp_thrust1"
I looked at the odf parameters on Psychofred's site, but I could not find anything pertaining to scale and stuff under the "prop" section.

Basically, the problem is that I can't get an effect to show up on a model.
However, I don't know if the issue is simple, or if it can be solved by adjusting the scale of the effect somehow.

Also, if I can get this problem solved, I'm would also like to know if it is possible to attach multiple effects to a single prop, and if so, if it is possible to offset the effect.

Thanks in advance!

Re: Attaching an Effect to a Flyer Turned Prop

Posted: Sat Jun 23, 2012 8:23 pm
by AQT
Just change your ClassLabel to armedbuilding, and the effect will show up. Be sure to keep this in mind if you plan to animate it.

I believe you can only attach one effect/ODF per hard point on a model, so you might need more hard points to attach additional effects/ODFs. Offsetting effect ODF parameters might just pertain to flyers, but it is possible for you to offset it via the position values in the .fx file itself.

Re: Attaching an Effect to a Flyer Turned Prop

Posted: Sat Jun 23, 2012 8:43 pm
by yuke5
Okay, I'll try it, and let you know if it works. I don't know how to modify effects, but I guess I have to learn eventually anyway. :D

EDIT:

It works! Thank you!
Hidden/Spoiler:
Image