Howto:Make an aircraft: Difference between revisions

Jump to navigation Jump to search
m
update
mNo edit summary
m (update)
Line 10: Line 10:
** all its visual aspects as animations, [[Howto: Add aircraft lights|lighting]] and textures.
** all its visual aspects as animations, [[Howto: Add aircraft lights|lighting]] and textures.
** auditory (sounds).
** auditory (sounds).
Please note that we use spaces in our codes, some developers use rather tabs, to make our code easy(er) to read. Every line that starts a new tag, we press the space key once, so you get a kind of stairs. It does not really matter what method you use, as long as you use it consistent throughout all of your files.


==The -set.xml file==
==The -set.xml file==
Line 24: Line 26:
  </PropertyList>
  </PropertyList>


The following tags are to be placed between the <sim> tags.
The following tags are to be placed between the <sim> and </sim> tags.


===<splash-texture></splash-texture>===
===<description></description>===
Place the location of an image you would like to show during loading of the aircraft.
The text that have to be showed in the Aircraft selection dialog of FlightGear.
  <splash-texture> Aircraft/747-400/splash.png </splash-texture>
  <description>Boeing 747-400</description>


===<status></status>===
===<status></status>===
Line 43: Line 45:
===<aero></aero>===
===<aero></aero>===
The filename of the FDM file, without .xml. This file should be placed in the aircrafts root directory (eg. <tt>$FG_ROOT/Aircraft/747-400/</tt>).
The filename of the FDM file, without .xml. This file should be placed in the aircrafts root directory (eg. <tt>$FG_ROOT/Aircraft/747-400/</tt>).
===<splash-texture></splash-texture>===
Place the location of an image you would like to show during loading of the aircraft.
<splash-texture> Aircraft/747-400/splash.png </splash-texture>


===<model><path></path></model>===
===<model><path></path></model>===
Line 50: Line 56:
  </model>
  </model>


===<description></description>===
===<sound><path></path></sound>===
The text that have to be showed in the Aircraft selection dialog of FlightGear.
The path to your aircrafts sound file, do not include if you don't have one.
  <description>Boeing 747-400</description>
  <sound>
  <path>Aircraft/747-400/747-400-sound.xml</path>
</sound>


===<panel><path></path></panel>===
===<panel><path></path></panel>===

Navigation menu