Skip to content

Tips And Tricks For Setting Simulator Values

Max Paperno edited this page Feb 15, 2022 · 5 revisions

Tips And Tricks For Setting Simulator Values

Percentage of 16383

16383 * (percent / 100) or eg. for 5%: 16383 * 0.05

Examples

Set throttle to -15%

16383 * -0.15

Throttle advance in 5% increments

${value:MSFSTouchPortalPlugin.Engine.State.ThrottleEngine1} * 163.83 + 16383 * 0.05
                                                            ^^^^^^^^   ^^^^^^^^^^^^
                                         Convert % to 0-16383 range.   Add 5% of full range.

Adjust AP Hold values by custom stepping

Add 1000' to currently set AP altitude hold value:
    ${value:MSFSTouchPortalPlugin.AutoPilot.State.AutoPilotAltitudeVar} + 1000
The other AP settings work the same, just use the corresponding state variable.

Circular AP heading adjustment with custom stepping

Increments heading in 5° steps and wraps around to 0 after 355 (due to modulo operator):
    (${value:MSFSTouchPortalPlugin.AutoPilot.State.AutoPilotHeadingVar} + 5) % 360

Clone this wiki locally