Tutorials: Difference between revisions

Jump to navigation Jump to search
m
→‎Targets: Minor cleanup, mostly missing slashes
m (copy/paste my forum response here http://flightgear.org/forums/viewtopic.php?f=30&t=16089)
m (→‎Targets: Minor cleanup, mostly missing slashes)
Line 230: Line 230:
       </helipad>
       </helipad>
   </targets>
   </targets>
<syntaxhighlight>
</syntaxhighlight>


The tutorial system will for each calculate how the user's aircraft is positioned relative to the respective target, and offer the information in this structure:
The tutorial system will for each calculate how the user's aircraft is positioned relative to the respective target, and offer the information in this structure:
Line 251: Line 251:
       </tutorials>
       </tutorials>
   </sim>
   </sim>
<syntaxhighlight>
</syntaxhighlight>


Where:
Where:
  <direction-deg> is an angle between the aircraft's velocity vector and the
<syntaxhighlight lang="xml">
<direction-deg>   is an angle between the aircraft's velocity vector and the
                   azimuth to the target. 0 means that the aircraft is moving
                   azimuth to the target. 0 means that the aircraft is moving
                   right towards the target. 10 means that the target is slightly
                   right towards the target. 10 means that the target is slightly
Line 260: Line 261:
                   179.9999 that it's right behind.
                   179.9999 that it's right behind.


  <heading-deg>   is the absolute heading that the aircraft would currently
<heading-deg>     is the absolute heading that the aircraft would currently
                   have to fly with in a straight line to reach the target
                   have to fly with in a straight line to reach the target


  <distance-m>   is the distance in meters
<distance-m>     is the distance in meters


  <eta-min>       is the "Estimated Time of Arrival" given the aircraft's
<eta-min>         is the "Estimated Time of Arrival" given the aircraft's
                   current speed towards the target. Positive times mean that
                   current speed towards the target. Positive times mean that
                   the aircraft is getting nearer to the target and can arrive
                   the aircraft is getting nearer to the target and can arrive
Line 272: Line 273:
                   number means that the aircraft moves away, or in other words:
                   number means that the aircraft moves away, or in other words:
                   that in this number of minutes it will be away twice as far.
                   that in this number of minutes it will be away twice as far.
</syntaxhighlight>


=== Preset ===
=== Preset ===

Navigation menu