Howto:Aerial refueling: Difference between revisions

Jump to navigation Jump to search
No edit summary
 
Line 43: Line 43:
There are several AAR scenarios available in the AI directory.  refueling_demo.xml has a KC135 circling near KSFO at 3000ft; refueling_demo_1.xml the KC135 on a North/South towline at 8000ft and refueling_demo_2.xml the KA6D on a similar N/S path but at 8500ft.
There are several AAR scenarios available in the AI directory.  refueling_demo.xml has a KC135 circling near KSFO at 3000ft; refueling_demo_1.xml the KC135 on a North/South towline at 8000ft and refueling_demo_2.xml the KA6D on a similar N/S path but at 8500ft.


These can be selected by editing preferences.xml (use your operating system's search facility to locate this if you don't know where it is).  Open preferences.xml in a text editor (e.g. notepad if on windows) and search for the <ai> </ai> tags.  Place a line like <scenario>refueling_demo</scenario> somewhere within the <ai> tags; you should see other scenarios already there too, perhaps commented out : i.e. with <!-- -->).
These can be selected by several methods; using the --ai-scenario command line option, or by editing preferences.xml.
 
==== Command line method ====
 
Add the --ai-scenario option to your usual flightgear command line; e.g. <code>fgfs --aircraft=lightning --ai-scenario=refueling_demo_2</code>
 
==== Preferences.xml method ====
Use your operating system's search facility to locate this if you don't know where it is).  Open preferences.xml in a text editor (e.g. notepad if on windows) and search for the <ai> </ai> tags.  Place a line like <code><scenario>refueling_demo</scenario></code> somewhere within the <ai> tags; you should see other scenarios already there too, perhaps commented out : i.e. with <! -- --> ).
Anonymous user

Navigation menu