WIP: WTRTI v2.3 - 20230908
Added 2023-09-08 13:00:41 +0000 UTCScripting:
- Added ability to make a custom graphical indicators in Lua, with Graphics API similar to HTML5 canvas API.
To understand the basics, it's recommended to take a look at the code of "GFX Boresight". For a bit more complex example, check the "GFX Compass".
Also, have a look at the Lua API(WIP) to see all the functions that are available.
If you don't understand something, don't hesitate to ask!
Note: To make animations look smoother, try reducing the "Update Interval" (Settings) to at least 25ms.
- Some custom graphical indicators have been added as examples:
- GFX Boresight
- GFX Compass
- GFX Vario
They are located in Indicators folder, and can be used as usual user-made custom indicators.
Most of the indicators are centred, and the positions of the indicators are the position of a group to which they belong.
- From now the "value_proc" function can be optional when the "draw_proc" is declared.
Fixes:
- Fixed no sound when using "Stop playing sounds when engine is off".
- Fixed WTRTI OSD displays a trash in some situations.
- Fixed a bug, N/A in values when trying to use "%d" in State key for multi-value indicator (e.g. for "blister1", "blister2" ect).
- Fixed unable to set "None" OSD type when VR Mode is enabled.
- Fixed the move a group hotkeys maximizes Windowed OSD.