Howto:Make an aircraft: Difference between revisions

Jump to navigation Jump to search
m
Bot: Automated text replacement (-aircrafts +aircraft)
mNo edit summary
m (Bot: Automated text replacement (-aircrafts +aircraft))
Line 51: Line 51:


===The -set.xml file===
===The -set.xml file===
This is the most important file of a FlightGear aircraft. This is the only file that is read directly by FlightGear. Actually it can be compared with an airport hub (from where flights of a certain airline to all other airports departure and arrive). The -set.xml file leads FlightGear to all files that are needed to simulate the aircraft. The -set.xml file should be stored in the aircrafts root directory (eg. <tt>$FG_ROOT/Aircraft/747-400/</tt>)
This is the most important file of a FlightGear aircraft. This is the only file that is read directly by FlightGear. Actually it can be compared with an airport hub (from where flights of a certain airline to all other airports departure and arrive). The -set.xml file leads FlightGear to all files that are needed to simulate the aircraft. The -set.xml file should be stored in the aircraft's root directory (eg. <tt>$FG_ROOT/Aircraft/747-400/</tt>)


Most XML files in FlightGear use the so called [[PropertyList XML File|Property List]] format.
Most XML files in FlightGear use the so called [[PropertyList XML File|Property List]] format.
Line 100: Line 100:


====<sound><path></path></sound>====
====<sound><path></path></sound>====
The path to your aircrafts sound file, do not include if you don't have one. The pitch and volume of the sound is controlled by the xml file and throttle position. If for example you find a nice wav file of the jet engine you're using, you can fix it up with your favorite sound editor so it loops nicely and include that into your model (I've noticed a few models where it can get quite annoying when the loop length is so small you can really notice it) so make it smooth.
The path to your aircraft's sound file, do not include if you don't have one. The pitch and volume of the sound is controlled by the xml file and throttle position. If for example you find a nice wav file of the jet engine you're using, you can fix it up with your favorite sound editor so it loops nicely and include that into your model (I've noticed a few models where it can get quite annoying when the loop length is so small you can really notice it) so make it smooth.


For additional information, you'll want to check out <tt>[[$FG_ROOT]]/Docs/README.xmlsound</tt>
For additional information, you'll want to check out <tt>[[$FG_ROOT]]/Docs/README.xmlsound</tt>

Navigation menu