735
edits
(→PFD) |
|||
Line 220: | Line 220: | ||
var fg1000system = fg1000.FG1000.getOrCreateInstance(EIS_Class:EIS_Class, EIS_SVG: "Nasal/EIS/EIS-J3Cub.svg"); | var fg1000system = fg1000.FG1000.getOrCreateInstance(EIS_Class:EIS_Class, EIS_SVG: "Nasal/EIS/EIS-J3Cub.svg"); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
=== Using custom SVG files === | |||
To assist in implementing related glass cockpits (e.g. Garmin Perspective on the Cirrus SR22T), you can specify a directory to be used instead of /Aircraft/Instruments-3d/FG1000/MFDPages/ for the SVG files used by the MFD. Note that you must copy across all the .svg files. | |||
<syntaxhighlight lang="nasal"> | |||
# Create the FG1000 using custom EIS Class, and the appropriate .svg file, and a custom path to other SVG files | |||
var fg1000system = fg1000.FG1000.getOrCreateInstance(EIS_Class:EIS_Class, EIS_SVG: "Nasal/EIS/EIS-J3Cub.svg", SVG_Path: "MFDPages/"); | |||
</syntaxhighlight> | |||
=== Add multikey support === | === Add multikey support === |