Howto:Implement aerial refueling capability
Jump to navigation
Jump to search
This hotwo teaches you how to implement aerial refueling capability to both tanker and/or receiver aircraft.
Receiver aircraft
Add the following blocks of code to your aircraft's -set.xml file (after the </sim> tag). Make sure to check for pre-existing blocks/structures and leave them in tact.
<systems> <refuel> <type>probe</type> <serviceable type="bool">true</serviceable> </refuel> </systems>
<nasal> <aar> <file>Aircraft/Generic/aar.nas</file> </aar> </nasal>
The aircraft can receive fuel from the KA6 with the above code. To receive fuel from the KC-135, replace 'probe' with 'boom'.
Tanker aircraft
Add the following blocks of code to your aircraft's -set.xml file (after the </sim> tag):
<systems> <refuel> <type>probe</type> </refuel> </systems>
<nasal> <aar> <file>Aircraft/Generic/aar.nas</file> </aar> </nasal>
And add these lines to your aircraft's model .xml file (usually located in Aircraft/.../Models/):
<multiplay> <refuel> <type>probe</type> </refuel> </multiplay>
Replace 'probe' with 'boom' in both files for a boom-equipped tanker. This influences what aircraft can receive fuel!