miscellaneous FlyWithLua scripts for X-Plane
This is just a random collection of FlyWithLua scripts to be used with X-Plane.
Scripts
Reality Check
Reality Check compares locally reported with externally perceived speeds (simulation rate vs. real time) and provides simple frame rate estimations.
See the full documentation for more information.
Time Control
Time Control takes an offset of up to 24 hours to apply to system time.
To install, simply drop time-control.lua into the FlyWithLua Scripts directory and reload the scripts in X-Plane.
The script is configured through Plugins/FlyWithLua/FlyWithLua Macros/Show Time Control: Simply configure an offset and hit "Apply" which unlinks X-Plane from system time and enables automated updates. While automated updates are enabled, the simulator will periodically be reset to the offset time which allows to keep the offset constant while paused or under time dilation/low FPS.
Input Proxy
Unifies commonly used but non-standardized button/key commands for cleaner control profiles.
Example: Almost every aircraft has its own special way how it wants a proper autopilot disconnect (the button on a yoke/flight stick) or autothrottle disengage (the button on the thrust lever) to be triggered. Although it would work to disable AP or AT by hard intervention on the MCP/FCU ("flicking the panel switch") this is not the way it should be done. So what we usually end up is either a myriad of control profiles (effectively one per aircraft) or reconfiguring a smaller number of control profiles each time we decide to settle on some other plane for a while. Using this script a smaller number of control profiles is sufficient and no longer requires any changes just to map those buttons to the correct commands - just set it up once and the script routes you button presses to the correct aircraft-specific commands.
As usual, drop inputproxy.lua into your FlyWithLua Scripts directory. Note that manual configuration is required and all configuration is currently performed directly in the script itself.
License
Unless stated otherwise, everything within this repository is licensed under MIT license.