4
edits
mNo edit summary |
mNo edit summary |
||
Line 91: | Line 91: | ||
===Models/ directory=== | ===Models/ directory=== | ||
This directory contains all model related files; such as textures, models and animation files (.xml). In the -set.xml file we've set the path to one .xml file. That file should link (indirect) to each other model file (including a possible 3D cockpit) needed for the plane. The whole plane could be modeled into one file, but most developers prefer to split things up. A cockpit for example can be built up by several files, each existing of just one [[Creating instruments for FG| | This directory contains all model related files; such as textures, models and animation files (.xml). In the -set.xml file we've set the path to one .xml file. That file should link (indirect) to each other model file (including a possible 3D cockpit) needed for the plane. The whole plane could be modeled into one file, but most developers prefer to split things up. A cockpit for example can be built up by several files, each existing of just one [[Creating instruments for FG|instrument]] or panel. This way it is easy to (re)move certain parts of the aircraft. You set up your model file like this: | ||
<pre> | <pre> | ||
Line 128: | Line 128: | ||
</pre> | </pre> | ||
The cockpit.xml file can contain a similair structure, with all the instruments as seperate models. The amount of models is not limited, | The cockpit.xml file can contain a similair structure, with all the instruments as seperate models. The amount of models is not limited, nor is the amount of animations. | ||
A detailed article about animating and models can be found in [[Howto: 3D Aircraft Models]]. | A detailed article about animating and models can be found in [[Howto: 3D Aircraft Models]]. |
edits