Aircraft-set.xml: Difference between revisions

Jump to navigation Jump to search
(→‎-set.xml Sections: + Checking FlightGear version and aircraft folder name. After tip from Mika, and from flightgear/Main/fg_init.cxx, around line 400)
 
Line 320: Line 320:
   <model>
   <model>
     <path><!-- File path --></path>
     <path><!-- File path --></path>
    <fallback-model-index><!-- Fallback model ID --></fallback-model-index>
   </model>
   </model>
</syntaxhighlight>
</syntaxhighlight>


The file path to either a plain .ac (AC3D) 3D model or a model and animation configuration XML file.
The file path to either a plain .ac (AC3D) 3D model or a model and animation configuration XML file. This path is also used when loading multiplayer aircraft and needs to be in the long form <code>Aircraft/<aircraft folder>/Models/<model file></code> so FlightGear can find it for multiplayer aircraft.  The <code>fallback-model-index</code> is used to set what aircraft model be used to render their aircraft over multiplayer if a user does not have their aircraft installed or if the aircraft is outside the [[Level Of Detail (LOD) Ranges#AI/MP ranges|level of detail range]]. See [[MP Fallback models]] for more details.
 
This path is also used when loading multiplayer aircraft and needs to be in the long form "Aircraft/<aircraft folder>/Models/<model file>" so FlightGear can find it for multiplayer aircraft.  For more details, see the [[#Not used for loading multiplayer aircraft]] section above.


<syntaxhighlight lang="xml">
<syntaxhighlight lang="xml">

Navigation menu