Aircraft-set.xml: Difference between revisions

Jump to navigation Jump to search
→‎The -set.xml file itself: Update variant-of tag section
(→‎The -set.xml file itself: Update variant-of tag section)
Line 181: Line 181:
</syntaxhighlight>
</syntaxhighlight>


Another aircraft an aircraft is a variant of (available since 3.6). For example, the [[British Aerospace Sea Harrier|BAe Sea Harrier FA2]] is a variant of the BAe Sea Harrier, and the ''Cessna 172P - Canvas Demo'' is a variant of the [[Cessna C172P|C172P]]. Additionally, this could be used for different [[Talk:Aircraft_Checklists#In-air_startups_.26_supporting_Startup_Situations|startup situations]] too.
Since 3.6, there is a new <code>&lt;variant-of&gt;</code> tag that can be added. This is used by the [[Integrated Qt5 Launcher|integrated Qt5 launcher]] to easily select a variant of an aircraft. For example, the [[British Aerospace Sea Harrier|BAe Sea Harrier FA2]] is a variant of the BAe Sea Harrier, and the ''Cessna 172P - Canvas Demo'' is a variant of the [[Cessna 172P]]. Additionally, this could be used for different [[Talk:Aircraft_Checklists#In-air_startups_.26_supporting_Startup_Situations|startup situations]] too.


Example from the [{{fgaddon url|777|777-200ER-set.xml|l=11}} 777-200ER-set.xml]: <code><nowiki><variant-of>777-200</variant-of></nowiki></code>
Example from the [{{fgaddon url|777|777-200ER-set.xml|l=11}} 777-200ER-set.xml]: <code>&lt;variant-of&gt;777-200&lt;/variant-of&gt;</code>
 
{{note|At the moment, only the [[Integrated Qt5 Launcher|Mac Qt launcher]] (which comes with FlightGear for Mac v3.4+) will read this tag.}}


<syntaxhighlight lang="xml">
<syntaxhighlight lang="xml">

Navigation menu