577
edits
No edit summary |
|||
| Line 39: | Line 39: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
If your <model> require an <offsets> you must | If your <model> require an <offsets> you must move the <offsets> section in the children XML like: | ||
your/aircraft/Models/aircraft.xml: | your/aircraft/Models/aircraft.xml: | ||
<syntaxhighlight lang="xml"> | <syntaxhighlight lang="xml"> | ||
<PropertyList> | |||
<path>path/to/model.ac</path> | |||
<model> | <model> | ||
<path>your/aircraft/Models/Interior/model | <path>your/aircraft/Models/Interior/model.xml</path> | ||
<usage>interior</usage> | <usage>interior</usage> | ||
</model> | </model> | ||
... | |||
</PropertyList> | |||
</syntaxhighlight> | </syntaxhighlight> | ||
your/aircraft/Models/Interior/model | your/aircraft/Models/Interior/model.xml: | ||
<syntaxhighlight lang="xml"> | <syntaxhighlight lang="xml"> | ||
< | <PropertyList> | ||
<path>path/to/another/model.ac</path> | |||
<offsets> | |||
<x-m> -1.91552 </x-m> | |||
<y-m> 0.00000 </y-m> | |||
<z-m> 0.23706 </z-m> | |||
<roll-deg> 40.0 </roll-deg> | |||
<pitch-deg> 35.0 </pitch-deg> | |||
<heading-deg> 60.0 </heading-deg> | |||
</ | </offsets> | ||
<model> | |||
<path>path/to/another/model.xml</path> | |||
</model> | </model> | ||
... | |||
</syntaxhighlight> | </syntaxhighlight> | ||
edits