Hi fellow wiki editors!

To help newly registered users get more familiar with the wiki (and maybe older users too) there is now a {{Welcome to the wiki}} template. Have a look at it and feel free to add it to new users discussion pages (and perhaps your own).

I have tried to keep the template short, but meaningful. /Johan G

Changes

Jump to: navigation, search

AI Systems

41 bytes added, 19:38, 7 November 2017
Scenario File definition
It looks much the same as the ship AI code. There are two differences, the <class> item and the <bank> item.
* The <code>class</code> specifies the type of aircraft and its flight characteristics. You can find the allowed values for this property in {{fgdata file|AI/Aircraft/performancedb.xml}}. If the class is set to "tanker" the airplane actually is configured to be a tanker, than it will allow you to refuel if you can get close behind it(see also [[Howto:Aerial_refueling]]). * The bank is of course similar to the ship's rudder. In the above example the A-4 will be orbiting to the left at 15 degrees of bank.
You can also create a ship or airplane with a flight plan. In this case the object will follow the flight plan, and then delete itself when it reaches the end. The flight plans are kept in {{fgdata file|AI/FlightPlans}}. To create an airplane with a flightplan do this:
473
edits

Navigation menu