IT Autoflight: Difference between revisions

Jump to navigation Jump to search
166 bytes removed ,  27 November 2018
no edit summary
No edit summary
No edit summary
Line 68: Line 68:


==== Step One ====
==== Step One ====
* Copy the Systems and Nasal folders from the IT-AUTOFLIGHT folder to the aircraft's folder. Overwrite any conflicts.
* Copy the gui, Systems, and Nasal folders from the IT-AUTOFLIGHT folder to the aircraft's folder. Overwrite any conflicts.
* Open the -set file of the aircraft, and find the <systems> area inside <sim></sim>.
* Open the -set file of the aircraft, and find the <systems> area inside <sim></sim>.
* Add the following inside <systems></systems>
* Add the following inside <systems></systems>
Line 122: Line 122:
setlistener("/sim/signals/fdm-initialized", func {
setlistener("/sim/signals/fdm-initialized", func {
     itaf.ap_init();
     itaf.ap_init();
    var autopilot = gui.Dialog.new("sim/gui/dialogs/autopilot/dialog", "Aircraft/XXX/Systems/autopilot-dlg.xml");
});
});
</syntaxhighlight>
</syntaxhighlight>
* Make sure you change XXX to the aircraft's folder name.


==== Complete ====
==== Complete ====
2,199

edits

Navigation menu