13,208
edits
(Some more cleanup. Still more to go though) |
(Remaining cleanup, for now) |
||
Line 1: | Line 1: | ||
The '''aircraft-set.xml''' file (or rather ''name-of-aircraft''-set.xml) is the top level aircraft configuration file. The aircraft-set.xml file should be in the aircraft's root directory, for example <code>[[$FG_ROOT]]/Aircraft/747-400/747-400-set.xml</code>. | The '''aircraft-set.xml''' file (or rather ''name-of-aircraft''-set.xml) is the top level aircraft configuration file. The aircraft-set.xml file should be in the aircraft's root directory, for example <code>[[$FG_ROOT]]/Aircraft/747-400/747-400-set.xml</code>. | ||
Line 62: | Line 60: | ||
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><sim></code> tags. | 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><sim></code> tags. | ||
{{note|Most of these tags are optional.}} | |||
<syntaxhighlight lang="xml"> | <syntaxhighlight lang="xml"> | ||
Line 163: | Line 162: | ||
<syntaxhighlight lang="xml"> | <syntaxhighlight lang="xml"> | ||
</ | <checklists include=""/> <!-- File name --> | ||
< | |||
</syntaxhighlight> | </syntaxhighlight> | ||
Configuration XML file defining a [[Aircraft Checklists|checklist]] (available since version 3.0). | |||
<syntaxhighlight lang="xml"> | |||
<variant-of><!-- Aircraft --></variant-of> | |||
</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. | |||
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> | |||
{{note|At the moment, only the [[Integrated Qt5 Launcher|Mac Qt launcher]] (which comes with FlightGear for Mac v3.4+) will read this tag.}} | {{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"> | ||
<sim> | </sim> | ||
<PropertyList> | |||
</syntaxhighlight> | </syntaxhighlight> | ||
Closing <code><sim></code> and <code><PropertyList></code> tags | |||
<code> | |||
== Related content == | == Related content == |