Changes

Jump to: navigation, search

FG1000

504 bytes added, 21:25, 26 June 2020
Load the Interfaces to provide data
You may want to create your own version depending on what properties you are
using for the NAV/COM, and your engine configuration. In which case you should copy /Aircraft/Instruments-3d/FG1000/Nasal/Interfaces/GenericInterfaceController.nas into your aircraft Nasal directory, edit it to load any updated interfaces and load it instead: <syntaxhighlight lang="nasal">var aircraft_dir = getprop("/sim/aircraft-dir");io.load_nasal(aircraft_dir ~ '/Nasal/GenericInterfaceController.nas', "fg1000"); var interfaceController = fg1000.GenericInterfaceController.getOrCreateInstance();interfaceController.start();</syntaxhighlight>
Note that you should only start the interface after you've started the FG1000

Navigation menu