Aircraft-set.xml: Difference between revisions

Jump to navigation Jump to search
Line 60: Line 60:


== -set.xml Sections ==
== -set.xml Sections ==
The aircraft-set.xml file is a [[PropertyList XML files|PropertyList XML file]] that will configure properties in the property tree when an aircraft is loaded.  Properties can also be added as needed.
The aircraft-set.xml file is a [[PropertyList XML files|PropertyList XML file]] that will configure properties in the property tree when an aircraft is loaded.  When you view the property tree via the in-sim inspector, the properties you see are those defined in your -set.xml, combined with all the properties defined at runtime by the FDM, instruments, renderer and so on.


While the aircraft-set.xml file is very flexible and can be dauntingly complex for some aircraft this description will only deal with the most commonly used tags within the <code>&lt;sim&gt;</code> tags.
Since the -set.xml can grow to become very large, it's common to break it into several pieces. This is especially important when using multiple -set.xml files to avoid code duplication, but it can be very helpful in all cases to keep the main -set.xml file clear and readable. Splitting the file up is done via the PropertyList <code>include</code> syntax.  


{{note|Most of these tags are optional.}}
{{note|Most of these tags are optional.}}
580

edits

Navigation menu