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

1,019 bytes added, 14:00, 3 February 2019
Controlling scenario aircraft: Added info on how to control spawned scenario aircraft. Thanks for the info James.
The following how-to shows you how to animate a tail-dragger airplane so that its pitch attitude looks proper for the AI aircraft's airpeed. This is not needed for aircraft with tricycle landing gear.
 
=== Controlling scenario aircraft ===
 
After a scenario has been loaded, the aircraft can be controlled with properties.
For example to control a tanker, locate it in /ai/models, for example ai/models/tanker[0], and change properties under ai/models/tanker[0]/control/
 
{| class="wikitable"
! property !! description
|-
| controls/flight/lateral-mode
| Controls whether to change the aircraft roll target directly, or set a heading target. Valid values are "roll" or "hdg".
|-
| controls/flight/target-hdg
controls/flight/target-roll
| Depending on what lateral-mode is set to edit these targets for the aircraft lateral flight.
|-
| controls/flight/vertical-mode
| Controls whether to change the aircraft pitch target directly, or set a altitude target. Valid values are "pitch" or "alt".
|-
| controls/flight/target-alt
controls/flight/target-pitch
| Depending on what vertical-mode is set to, edit these targets for the aircraft vertical flight.
|-
| controls/flight/target-spd
| Edit this to set target speed.
|}
 
=== Using Interpolation Tables ===
493
edits

Navigation menu