• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Why my animation doesn't work ?

Messages
33
Country
italy
Regardless of the approach I followed I cannot make my fuel pump switch animation works

I have tried defining the following script in my interior.xml:

<UseTemplate Name="ASOBO_FUEL_Switch_Pump_Template">
<ID>1</ID>
<TT_DESCRIPTION_ID>@TT_Package.FUEL_PUSH_PUMP_ACTION</TT_DESCRIPTION_ID>
<TT_DESCRIPTION_INDEX>(R:1: @TT_Package.GT_STATE_LEFT)</TT_DESCRIPTION_INDEX>
</UseTemplate>

or

<UseTemplate Name="ASOBO_FUEL_Switch_Pump_Template">
<NODE_ID>Fuel_Switch_Pump_1</NODE_ID>
<ANIM_NAME>Fuel_Switch_Pump_1</ANIM_NAME>
</UseTemplate>

In Blender I named the switch as Fuel_Switch_Pump_1 and the animation (from 0 to 100) as Fuel_Switch_Pump_1
When in the cockpit using MSFS when I pass my mouse on the switch nothing happens, neither if I use the keyboard to switch on/off the fuel pump
I checked other similar aircraft project and I don't nothing strange I have to add to my xml. What am I doing wrong ?

To be noticed a similar animation I defined for the Landing Light works perfectly just using
<UseTemplate Name="ASOBO_LIGHTING_Switch_Light_Landing_Template">
<NODE_ID>LANDING_LIGHT_SWITCH</NODE_ID>
<ANIM_NAME>Landing_Light</ANIM_NAME>
</UseTemplate>
havig defined in Blender a switch named LANDING_LIGHT_SWITCH and an animation (from 0 to 100) as Landing_Light
 
Last edited:
Actually i found the reason: I§ just missed to enter the Component xml tag before the animation statements
 
Back
Top