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

FSX Keyframes for lever_throttle0 animation

Messages
588
Country
germany
Hi All, need some quick help here.

What are the keyframe positions for the lever_throttle0 animation in a jet with reverser_available=0?

And secondly, is there anything overriding the reverser_available=0 entry in the aircraft.cfg? Because I am using the container of the default Lear45 to test my plane and it seems that the reversers are still available despite the aircraft.cfg entry.

Edit. Correct me if I'm wrong, because it seems to work on my side, with my airfile and aircraft.cfg; but I would like to know if this is generally the case:

Keyframe 0 = Full throttle
Keyframe 50 = Idle
Keyframe 100 = Max. reverse thrust
 
Last edited:
Hi, just use 50 keys.

KF 50 : Idle
KF 0 : Full.

But tag the part with 100 keyframes.
 
According to the SDK when describing what percent means "Normally a value between 0 and 100, though sometimes values outside this range are possible (reverse thrust, for example)."

This is the code for the lever_throttle animation:

Code:
(A:GENERAL ENG THROTTLE LEVER POSITION:1, part) s0 0 >= if{ l0 -50 * 50 + } els{ l0 (A:THROTTLE LOWER LIMIT, part) / 1 + 50 * }

So if reverse thrust is engaged (ie returning less than 0 from Gen end throttle lever position) the els comes into play and the throttle lower limit is used to spread over the reverse thrust from 50 to 100 keyframes. Otherwise it is from 0 to 50 keyframes.

I've never had to use reverse thrust and have always rolled my own anim code anyway so never used the default code. GENERAL ENG THROTTLE LEVER POSITION will normally return 0 for idle and 100 for full throttle. I presume it returns up to -100 for reverse thrust (this would depend on your THROTTLE LOWER LIMIT). The maths in the above code seems to switch it to as you describe.
 
Thanks for the confirmation. I didn't think about looking in the modeldef.xml and it would have been difficult to decipher anyway...
 
Back
Top