Aircraft-set.xml: Difference between revisions

Jump to navigation Jump to search
Line 163: Line 163:
==== Variants ====
==== Variants ====


When you have multiple -set.xml files in an aircraft directory, one of them should be indicated as the default or primary, and other -set.xmls should be marked as variants of this. This is important so the packaging system knows which -set.xml best describs the whole directory. It's normally quite clear what the main or principle -set.xml should be.
When you have multiple -set.xml files in an aircraft directory, one of them should be indicated as the default or primary, and other -set.xmls should be marked as variants of this. This is important so the packaging system knows which -set.xml best describes the whole directory. It's usually quite clear what the main or principle -set.xml should be, but sometimes an arbitrary decision is needed. (For example, with the 777, should the -200 or -300 be the primary aircraft? In practice it doesn't matter)


In the main -set.xml, add the following:
In the main -set.xml, add the following:
Line 183: Line 183:
</syntaxhighlight>
</syntaxhighlight>


in both c47-set.xml and dst-set.xml. This ensures the information from dc3-set.xml will be used when describing the entire package.
in both c47-set.xml and dst-set.xml. This ensures the information from dc3-set.xml will be used when describing the entire package. In this example it's clear the DC-3 should be the primary aircraft because that is the most commonly recognised version - the C-47 and Douglas Sleeper Transport are both useful variants that might exist, but DC-3 is the most generic name / variant.


==== Tags ====
==== Tags ====
580

edits

Navigation menu