Hi
I am playing around with a conversion from a FS9 model to P3D with MCX.
The problem I have is that the elevators and the ailerons in the original AI model are down by default (see pic attached).
The standard animations do no work when I export into P3D, so I decided to code an animation for that linking it with the beacon light (if it's off, elevator deflected)
But it doesn't work, I've chaded 0! for == as well.
I wonder if the problem is that the elevator is already deflected and the animation should brig it to 0 degrees instead... I don't know, I'm a bit confused.
I guess that whatever that works for the elevator, should be easily adapted to the aileron.
Thanks in advance.
Kano
I am playing around with a conversion from a FS9 model to P3D with MCX.
The problem I have is that the elevators and the ailerons in the original AI model are down by default (see pic attached).
The standard animations do no work when I export into P3D, so I decided to code an animation for that linking it with the beacon light (if it's off, elevator deflected)
Code:
<Animation name="My_elevator_deflection_pct" guid="428e6101-cbc7-4e6a-bef0-d1e22e9f2a9f" typeParam2="My_elevator_deflection_pct" length="100" type="Sim" typeParam="AutoPlay" />
<PartInfo>
<Name>My_elevator_deflection_pct</Name>
<AnimLength>100</AnimLength>
<Animation>
<Parameter>
<Code>
(A:LIGHT BEACON,bool) 0!= if(A:ELEVATOR DEFLECTION PCT, percentage) 100
</Code>
</Parameter>
</Animation>
</PartInfo
But it doesn't work, I've chaded 0! for == as well.
I wonder if the problem is that the elevator is already deflected and the animation should brig it to 0 degrees instead... I don't know, I'm a bit confused.
I guess that whatever that works for the elevator, should be easily adapted to the aileron.
Thanks in advance.
Kano