I'm new to the entire Prepar3D SIM and especially the SDK.
I'm creating animations for a new aircraft and I've got the hang of how to use the default settings but not how to create my own "PartInfo".
I have an active thread over at FSDeveloper(https://www.fsdeveloper.com/forum/threa ... 3d.447938/) but I'm not getting the answers to get me further so I'm asking here as well.
My issue:
I can't see my custom animation move within P3D. If I tag the animation as something else (default like doors, Shift+E) it works.
I've tried to use the default modeldef.xml and the wing fold toggle (T) but it won't work either.
I've tried to create my own name and GUID but still use the WING FOLD variable and it still won't work. What am I doing wrong and is there a simple "code" I can use instead to just toggle an animation?
Code: Select all
<Animation name="thrust_reversor" guid="99510169-9693-4e44-8bd5-8e739bef0d07" length="100" type="Sim" typeParam2="thrust_reversor" typeParam="AutoPlay" />
Code: Select all
<PartInfo>
<Name>thrust_reversor</Name>
<AnimLength>100</AnimLength>
<Animation>
<Parameter>
<Sim>
<Variable>WING FOLD:0</Variable>
<Units>percent</Units>
</Sim>
</Parameter>
</Animation>
<MouseRect>
<Cursor>Hand</Cursor>
<EventID>TOGGLE_WING_FOLD</EventID>
</MouseRect>
</PartInfo>