FG1000: Difference between revisions

Jump to navigation Jump to search
349 bytes added ,  11 October 2020
(One intermediate revision by the same user not shown)
Line 232: Line 232:




=== Setting Vx, Vy flags etc ===
=== Airspeed flags (Vx, Vy, Vr, Vglide, Vne) ===


Much of the FG1000 configuration is stored in the ConfigStore. See /Aircraft/Instruments-3d/FG1000/ConfigStore.nasYou can set aircraft-specific configuration as follows:
You can set the value and visibility of various V-speeds shown on the airspeed tape.  The values are stored in the ConfigStore of fg1000 and properties that you set.
 
To set them, simply call the "set()" method in your Nasal file with the appropriate valueFor example:


<syntaxhighlight lang="nasal">
<syntaxhighlight lang="nasal">
Line 241: Line 243:
fg1000system.getConfigStore().set("Vglide-visible", 0);
fg1000system.getConfigStore().set("Vglide-visible", 0);
</syntaxhighlight>
</syntaxhighlight>
The flags available are as follows
* Vx
* Vy
* Vr
* Vglide
* Vne
Each flag has a "-visible" property which is used to indicate whether the value should be shown at all.  In the above example code the "Vglide" flag will not be shown.


=== Add multikey support ===
=== Add multikey support ===

Navigation menu