• ORBITER-FORUM will be temporarily closed at 2026-07-23 18:00 UTC while we complete some OF maintenance tasks. The amount of downtime is expected to take up to one hour, but probably less.

Question Implementing DG-Like Landing Gear Indicators in Lua?

Thunder Chicken

Resident Lua Script Rabble-Rouser
Donator
Joined
Mar 22, 2008
Messages
5,880
Reaction score
5,556
Points
188
Location
Massachusetts
Yep, me again. I have my jet engine code completely converted into Lua, and I have annotations that indicate the status of the afterburner on the screen. The final thing I want to implement is to replicate the landing gear indicators like is done in the DG.

Screenshot at 2023-11-11 19-20-16.png
I can put text annotations into the screen, but in order to put the three rectangles in I would need to implement a Sketchpad object (I think), and it seems that I can't make a Sketchpad object outside of the context of a MFD. I'm not quite sure what can be done here.

Any ideas or pointers? If worse comes to worse I can just put a text annotation off to the side, but if I can implement a gear indicator like this I'd rather do that.
 
Back
Top