Hi fellow wiki editors!

To help newly registered users get more familiar with the wiki (and maybe older users too) there is now a {{Welcome to the wiki}} template. Have a look at it and feel free to add it to new users discussion pages (and perhaps your own).

I have tried to keep the template short, but meaningful. /Johan G


Jump to: navigation, search

Canvas ND Framework

24 bytes added, 09:20, 10 March 2016
Switch from {{fgaddon url}} to {{fgaddon aircraft source}}.
Note that the latest ND code is currently only available in Git and not in the latest stable release.
# Add a surface object to your 3D model and apply a place holder texture to it. You can refer to the 747-400 and 777 for examples.
# Copy the ND.nas file of the Boeing 777 into your own aircraft directory ([{{fgaddon urlaircraft source|777|Models/Instruments/ND/ND.nas}} $FG_ROOT/|text=Aircraft/777/Models/Instruments/ND/ND.nas]}}).
# Add the file to the <nasal> block in your aircraft's [[Aircraft-set.xml|-set.xml]] file.
# In order to customize the ND for your specific aircraft, change a few options in your ND.nas file:
## the node behind <code>addPlacement</code> is the name of the object in your 3D model. For multiple independent NDs, each ND should have its own object (and thus placement node). The 777 for example has a "ndScreenL" and a "ndScreenR".
## Rename the properties in the "myCockpit_switches" hash at the top of the ND.nas file to match your own properties (range selector, mode selector etc.), see [{{fgaddon urlaircraft source|747-400|Models/Cockpit/Instruments/ND/ND.nas}} $FG_ROOT/|text=Aircraft/747-400/Models/Cockpit/Instruments/ND/ND.nas]}}. You're advised to use the defaults (and change other systems of your aircraft accordingly). For an overview of switches, see [[#Cockpit switches]].# Add knobs/buttons to the 3D model of your cockpit to control the various options of the ND. See [{{fgaddon urlaircraft source|777|Models/Instruments/EFIS/efis-ctl1.xml}} $FG_ROOT/|text=Aircraft/777/Models/Instruments/EFIS/efis-ctl1.xml] }} for an example.# Add a binding to your screen(s) to open the ND in a popup dialog. See [{{fgaddon urlaircraft source|777|Models/Instruments/ND/ND_L.xml}} $FG_ROOT/|text=Aircraft/777/Models/Instruments/ND/ND_L.xml] }} for an example.
That's the only thing you need to do right now. future changes will be in navdisplay.mfd and will be automatically available to you once they're committed/merged, no changes needed in your ND.nas at all, except for additional switches/buttons that may be created, and which would obviously need to be mapped to your cockpit hot spots.

Navigation menu