Howto:Name fuel tanks: Difference between revisions
Jump to navigation
Jump to search
m (Agregado el enlace a la versión en español) |
m (Syntaxhighlighting) |
||
Line 2: | Line 2: | ||
In order to (re)name fuel tanks in FlightGear; place the following lines out of the <tt><sim></sim></tt> part of the <tt>-set.xml</tt> file of your [[aircraft]]. | In order to (re)name fuel tanks in FlightGear; place the following lines out of the <tt><sim></sim></tt> part of the <tt>-set.xml</tt> file of your [[aircraft]]. | ||
<syntaxhighlight lang="xml"> | |||
<consumables> | <consumables> | ||
<fuel> | <fuel> | ||
Line 7: | Line 8: | ||
</fuel> | </fuel> | ||
</consumables> | </consumables> | ||
</syntaxhighlight> | |||
This will (re)name tank 0 (the first in the [[FDM]] file) to Center. You can add more tanks, by increasing n to 1, 2 etc. The following example is taken from the [[Boeing 747-400]]. | This will (re)name tank 0 (the first in the [[FDM]] file) to Center. You can add more tanks, by increasing n to 1, 2 etc. The following example is taken from the [[Boeing 747-400]]. | ||
<syntaxhighlight lang="xml"> | |||
<consumables> | <consumables> | ||
<fuel> | <fuel> | ||
Line 21: | Line 24: | ||
</fuel> | </fuel> | ||
</consumables> | </consumables> | ||
</syntaxhighlight> | |||
[[es:Howto:Nombrar_los_depósitos_de_combustible]] | [[es:Howto:Nombrar_los_depósitos_de_combustible]] | ||
[[Category:Aircraft enhancement|Name fuel tanks]] | [[Category:Aircraft enhancement|Name fuel tanks]] | ||
[[Category:Howto|Name fuel tanks]] | [[Category:Howto|Name fuel tanks]] |
Revision as of 11:55, 6 December 2014
FlightGear names fuel tanks by default to 0, 1, 2 etc.. In real life however, tanks often have different names. Center tank, Main 1, Main 2 etc. are seen on most airliners, while Left and Right are often to be seen on General Aviation (= small) traffic. Since an aircraft author is free to decide the order of tanks in FlightGear, tank 0 is not always the center tank, and tank 1 is not always on the left side of the plane.
In order to (re)name fuel tanks in FlightGear; place the following lines out of the <sim></sim> part of the -set.xml file of your aircraft.
<consumables>
<fuel>
<tank n="0"><name>Center</name></tank>
</fuel>
</consumables>
This will (re)name tank 0 (the first in the FDM file) to Center. You can add more tanks, by increasing n to 1, 2 etc. The following example is taken from the Boeing 747-400.
<consumables>
<fuel>
<tank n="0"><name>Center</name></tank>
<tank n="1"><name>Res #2</name></tank>
<tank n="2"><name>Main #1</name></tank>
<tank n="3"><name>Main #2</name></tank>
<tank n="4"><name>Main #3</name></tank>
<tank n="5"><name>Main #4</name></tank>
<tank n="6"><name>Res #3</name></tank>
<tank n="7"><name>Stab</name></tank>
</fuel>
</consumables>