13,212
edits
(Might be a good idea to mention that the autopilot configuration file should be declared in the -set.xml file) |
(→Adding the autopilot to the -set.xml file: Clarifying that the path tho the autopilot configuration file should be within the <tt><systems></tt> tags within the <tt><sim></tt> tags) |
||
Line 45: | Line 45: | ||
== Adding the autopilot to the -set.xml file == | == Adding the autopilot to the -set.xml file == | ||
In order for your aircraft to use the configuration file of the autopilot you are about to design you need to add | In order for your aircraft to use the configuration file of the autopilot you are about to design, you need to add the path to the file within the <tt><systems></tt> tags in turn within the <tt><sim></tt> tags in your [[Aircraft-set.xml|<tt><aircraft>-set.xml</tt> file]]: | ||
<syntaxhighlight lang="xml"> | <syntaxhighlight lang="xml"> | ||
<autopilot> | <!-- ... --> | ||
<sim> | |||
</ | <!-- ... --> | ||
<systems> | |||
<!-- ... --> | |||
<autopilot> | |||
<path>Aircraft/747-400/Systems/autopilot.xml</path> <!-- Using the the directory in the example above --> | |||
</autopilot> | |||
<!-- ... --> | |||
</systems> | |||
<!-- ... --> | |||
</sim> | |||
<!-- ... --> | |||
</syntaxhighlight> | </syntaxhighlight> | ||