!!!WORK IN PROGRESS!!!
May not work with seats at the moment, use a programming board
Does not work in cockpits
- Paste hud.lua code into
system->start()
- Paste
system.showScreen(0)
intosystem->stop()
- Choose between updater
system->update()
where hud refreshes every frame- Paste
updateHud()
intosystem->update()
- Paste
unit->tick()
where hud refresh rate can be chosen- Paste
unit.setTimer("updateHud", 1/x)
intounit->start()
. For exampleunit.setTimer("updateHud", 1/30)
has refresh rate of 30 times a second - Create
unit->tick(updateHud)
event and pasteupdateHud()
into it
- Paste