Is there any properties defined by angle as a switch?

Making or wanting help making your own asset? Check in here
Post Reply
velosong
Posts: 49
Joined: 2007-11-20 00:42

Is there any properties defined by angle as a switch?

Post by velosong »

i need a switch, which can stat effect when i pull up the aircraft.

I have found some properties as a switch,like:

ObjectTemplate.setGearDownHeight
or
ObjectTemplate.AlphaIntensityFromSpeed

but, Not the angle makes it work.
Is there any properties defined by angle as a switch?
Birds Birds Birds
Rhino
Retired PR Developer
Posts: 47909
Joined: 2005-12-13 20:00

Re: Is there any properties defined by angle as a switch?

Post by Rhino »

what do you want to do?
Image
velosong
Posts: 49
Joined: 2007-11-20 00:42

Re: Is there any properties defined by angle as a switch?

Post by velosong »

[R-DEV]Rhino wrote:what do you want to do?
i try to add Strake wing vortices to the aircraft,

Especially to the F/A-18

I have made the effect file (e_Strake_vortex) , it works on the aircraft ,
but, since i use the property
"ObjectTemplate.AlphaIntensityFromRotationalSpeed" in e_Strake_vortex, it works when both rolling and pitching.

so , i have to define the e_Strake_vortex works only in pitch behavior .
if there is a code like above, defined by angle on X axis, not just the RotationalSpeed, i can stop the effect work in rolling
Birds Birds Birds
Rhino
Retired PR Developer
Posts: 47909
Joined: 2005-12-13 20:00

Re: Is there any properties defined by angle as a switch?

Post by Rhino »

I dont believe there is such a bit of code that would trigger an effect no.
Image
Post Reply

Return to “PR:BF2 Community Modding”