Howto:Make an aircraft: Difference between revisions

Jump to navigation Jump to search
m
extended
m (extended)
Line 17: Line 17:


==Directories and files==
==Directories and files==
The data created during development results in many files, which are stored in several directories per aircraft. Each aircraft has its own directory in the <tt>$FG_ROOT/Aircraft/</tt> directory. The first thing to do when you start working on a new aircraft is to make a directory for it. A short version of the aircraft name (eg. harrier), or its serial number (eg. 747-400) is prefered. More directories might be needed further on, but we will create them when we need them. For now we create one directory, namely:
The data created during development results in many files, which are stored in several directories per aircraft. Each aircraft has its own directory in the <tt>$FG_ROOT/Aircraft/</tt> directory. The first thing to do when you start working on a new aircraft is to make a directory for it. A short version of the aircraft name (eg. harrier), or its serial number (eg. 747-400) is prefered. More directories might be needed further on, but we will create them when we need them. They are explained in this article, but you can skip them if you are working on your first aircraft. For now we create one directory, namely:


* <tt>Models/</tt> all files related to the appearence of the model are saved in this directory.
* <tt>Models/</tt> all files related to the appearence of the model are saved in this directory.
Line 86: Line 86:
====<autopilot><path></path></autopilot>====
====<autopilot><path></path></autopilot>====
Where to find the [[autopilot]] system.
Where to find the [[autopilot]] system.
===Engines/ directory===
Only required for JSBSim aircraft. In this directory the engine files are stored.


===Models/ directory===
===Models/ directory===
Line 129: Line 132:
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]].


A common subdirectory is the Liveries/ one, which holds the livery files. See [[Livery over MP]] for more information about that subject.
A common subdirectory is the <tt>Liveries/</tt> one, which holds the livery files. See [[Livery over MP]] for more information about that subject.
 
===Nasal/ directory===
All [[Nasal]] code specific to the aircraft is placed in this directory, with the exception of some system or instrument specific Nasal. If a certain Nasal script is usefull for all aircraft (eg. weather or [[Howto: Multiplayer|multiplayer]] related) it can be placed in the <tt>[[$FG_ROOT]]/Nasal</tt> directory. Nasal scripts that are useable on multiple aircraft (eg. [[Howto: Air-Air Refueling|air-air refueling]]) can be found in the <tt>[[$FG_ROOT]]/Aircraft/Generic</tt> directory.
 
===Sounds/ directory===
What is an airliner without the sound of its mighty engines, or a glider without the sound of wind blowing around your face? Sounds quite important to increase the feeling that you are actually into the simulation. In this directory all sound files that are specific for the aircarft are stored. Sounds that can be used on multiple aircraft (eg. the click of a switch or thunder) are available in the <tt>[[$FG_ROOT]]/Sounds</tt> directory.
 
===Tutorials/ directory===
A helpfull feature in learning how to start the engines of a plane, flying a basic leg etc. is FlightGears tutorial system. It allows you to create a step by step tutorial that guides the user through a certain procedure. It can even indicate what switches should be pressed!
 
More about the tutorial system can be found at [[Tutorials]].  


==Comments in XML files==
==Comments in XML files==

Navigation menu