plane icon Welcome to Microsoft Flight Simulator’s SDK Q&A Platform!

We prepared 3 new YouTube tutorials about Audio! They are available here.
You have questions regarding the SDK? DevMode Tools? SimConnect? You would like to submit an idea for future improvements, seek help or exchange knowledge? You’re in the right place.

Please take a moment to read the platform’s guidelines before you get started!


question

flyinside_dan avatar image
flyinside_dan asked thealx commented

Broken Throttle Variable in 1.21.18.0

We depend upon the variable "GENERAL ENG THROTTLE LEVER POSITION:1" for our collective position input. I have my Logitech 3D Pro axis bound to "Throttle Axis". I also have "F2" bound to "Decrease Throttle" and "F3" bound to "Increase Throttle"

F2/F3 work as expected. I can control the throttle, A:GENERAL ENG THROTTLE LEVER POSITION:1 updates as expected, and I can see the helicopter collective move, and the helicopter takes off.

The joystick input is totally broken. No matter where I move my throttle axis, A:GENERAL ENG THROTTLE LEVER POSITION:1 is instantly reset to "0". Even if I increase it to 50 via F3, as soon as I touch my throttle paddle it jumps back to zero.

Reports from multiple users seeing the same issue, and it's actually affecting other MSFS aircraft not just us.


Note that this does vary from aircraft to aircraft (MSFS built-in aircraft work fine). I'm running some comparisons to see if I can find a pattern of what's causing this. That said it's definitely a regression in 1.21.18.0 and a huge deal to us.


Thanks,

Dan

aircraft
10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

flyinside_dan avatar image
flyinside_dan answered thealx commented

As a big hint, bringing in an ASOBO_ENGINE_Lever_Throttle_Template to the model XML appears to fix things. Any idea why a virtual throttle lever binding is needed to bring simulation events to life?


<Component ID="ENGINE">
<UseTemplate Name="ASOBO_ENGINE_Lever_Throttle_Template">
<TOOLTIPID>TT:COCKPIT.TOOLTIPS.THROTTLE_CONTROL</TOOLTIPID>
<USE_TRAJECTORY_DRAG_MODE>True</USE_TRAJECTORY_DRAG_MODE>
<HIGHLIGHT_NODE_ID>ENGINE_Lever_Throttle_1_Visual</HIGHLIGHT_NODE_ID>
</UseTemplate>
</Component>

1 comment
10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

Confirms - it fixes issue (side note: for multiple engines same amount of levers should be added).
My guess it related with PROCESS_LIMITS parameter - without initialization, min/max values of each throttle lever stays 0/0

0 Likes 0 ·
jakil avatar image
jakil answered thealx commented

@flyinside_dan can you make a tutorial on yt how to do it. I try and it didn't work.

1 comment
10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

You can use throttles template(s) without custom values (templates 2-3-4 and <ID>1</ID> can be removed if you have single engine)

<?xml version="1.0" encoding="utf-8" ?>
<ModelInfo>
    <LODS>
        <LOD minSize="0"     ModelFile="model.gltf"/>
    </LODS>
     <Behaviors>

         <!-- CODE TO COPY START -->
        <Include Path="Asobo\Common.xml"/>
        <Component ID="ENGINE">
            <UseTemplate Name="ASOBO_ENGINE_Lever_Throttle_Template">
                <ID>1</ID>
            </UseTemplate>
            <UseTemplate Name="ASOBO_ENGINE_Lever_Throttle_Template">
                <ID>2</ID>
            </UseTemplate>
            <UseTemplate Name="ASOBO_ENGINE_Lever_Throttle_Template">
                <ID>3</ID>
            </UseTemplate>
            <UseTemplate Name="ASOBO_ENGINE_Lever_Throttle_Template">
                <ID>4</ID>
            </UseTemplate>
        </Component>
        <!-- CODE TO COPY END -->

     </Behaviors>

</ModelInfo>


0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 19.1 MiB each and 23.8 MiB total.