• 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.

Problems with fuel selector


In the Siai Marchetti SF260 I am building, there is a fuel tank selector where you can select Left or Right Tip Tanks, and Left or Right main tanks. 4 of them. It doesn't have any automatic selection.
So in the flight_model.cfg of my plane I set in the [FUEL] area:

LeftMain = -10.29, -5, -1.2, 13, 1
RightMain = -10.29, 5, -1.2, 13, 1
Center1 = 0, 0, 0, 0, 0
Center2 = 0, 0, 0, 0, 0
Center3 = 0, 0, 0, 0, 0
LeftAux = 0, 0, 0, 0, 0
LeftTip = -9.43, -13, -1.2, 20, 1
RightAux = 0, 0, 0, 0, 0
RightTip = -9.43, 13, -1.2, 20, 1
External1 = 0, 0, 0, 0, 0
External2 = 0, 0, 0, 0, 0
fuel_type =1
number_of_tank_selectors =4
electric_pump =1
engine_driven_pump =1
manual_transfer_pump =0
manual_pump =0
anemometer_pump =0
fuel_dump_rate =0.02
default_fuel_tank_selector.1 =12
default_fuel_tank_selector.2 =2
default_fuel_tank_selector.3 =3
default_fuel_tank_selector.4 =11

ok.... Because I don't know too much about XML I saw this code and copied modifing with my values in the SF260_interior.xml in the model folder:

<Animation name="Fuel_Select_Switch" guid="8f3b87b8-579f-470c-a212-bc52ec099ace" length="75" type="Sim" typeParam2="Fuel_Select_Switch" typeParam="AutoPlay" />
<Code>(A:FUEL TANK SELECTOR:1, enum) 25 *</Code>
(M:Event) 'LeftSingle' scmp 0 ==
(M:Event) 'WheelDown' scmp 0 == and
if{ (A:FUEL TANK SELECTOR:1, enum) -- 0 max (>A:FUEL TANK SELECTOR:1, enum) }

(M:Event) 'RightSingle' scmp 0 ==
(M:Event) 'WheelUp' scmp 0 == and
if{ (A:FUEL TANK SELECTOR:1, enum) ++ 3 min (>A:FUEL TANK SELECTOR:1, enum) }

(A:FUEL TANK SELECTOR:1, enum) 0 == if{ 12 (&gt;A:FUEL_SELECTOR_SET) }
(A:FUEL TANK SELECTOR:1, enum) 1 == if{ 2 (&gt;A:FUEL_SELECTOR_SET) }
(A:FUEL TANK SELECTOR:1, enum) 2 == if{ 3 (&gt;A:FUEL_SELECTOR_SET) }
(A:FUEL TANK SELECTOR:1, enum) 3 == if{ 11 (&gt;A:FUEL_SELECTOR_SET) }
</CODE_POS_4> -->

The commented lines are other code that I didn't want to remove completelly to see if I could use it.. but no luck, so I leave it here to comment what should I change to make it work
In FS2020 I put the mouse over the selector, and it changes the icon to select, but no wheel mouse or click will change anything.
I have been more than 3 days already with this, without any solution. Can someone help please? In the animation I am using 4 keyframes to show 4 key positions (0,1,2 and 3)