Howto:Implement aerial refueling capability: Difference between revisions

Jump to navigation Jump to search
(Template:Air-to-air refueling)
Line 58: Line 58:


=== Serviceable option ===
=== Serviceable option ===
With FlightGear 2.0.0 and older, refueling is possible only if the tanker uses a "MOBIL" callsign (eg. MOBIL3). Later releases of FlightGear (and Git), allow any callsign to be a tanker. Besides that, the tanker property is now transmitted over multiplayer, permitting for example to prevent refueling if the refueling probe is not operational.
With FlightGear 2.0.0 and older, refueling is possible only if the tanker uses a "MOBIL" callsign (e.g., MOBIL3). Later releases of FlightGear (and Git), allow any callsign to be a tanker. Besides that, the tanker property is now transmitted over multiplayer, permitting for example to prevent refueling if the refueling probe is not operational.


For this to work, add the following code in your aircraft's -set file (be sure not to be in another block):
For this to work, add the following code in your aircraft's -set file (be sure not to be in another block):
 
<syntaxhighlight lang="xml">
<tanker type="bool">false</tanker>
<tanker type="bool">false</tanker>
</syntaxhighlight>


Switch this property true or false to allow following aircraft to refuel or not.
Switch this property true or false to allow following aircraft to refuel or not.

Navigation menu