20,741
edits
No edit summary |
m (→Variants) |
||
Line 305: | Line 305: | ||
}} | }} | ||
}} | }} | ||
Aircraft developers can make use of a new tag in the [[Aircraft-set.xml]] file. Added to the <code><nowiki><sim></nowiki></code>, the <code><nowiki><variant-of></nowiki></code> tag states to the launcher the aircraft type that your aircraft is a variant of. 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]]. | |||
{{note|At the moment, only the Mac Qt launcher (which comes with FlightGear for Mac v3.4+) will read this tag.}} | |||
Syntax: | |||
<syntaxhighlight lang="xml"> | |||
<sim> | |||
... | |||
<variant-of>[aircraft]</variant-of> | |||
... | |||
</sim> | |||
</syntaxhighlight> | |||
Example from {{repo link|site=gito|path=Aircraft/777/777-200ER-set.xml|pre=$FG_ROOT}} (see [https://gitorious.org/fg/fgdata/commit/1017a32b1b078f46959b3b6e7510a7376458b02b commit]): | |||
<code><nowiki><variant-of>777-200</variant-of></nowiki></code> | |||
== Development == | == Development == |