AI Traffic: Difference between revisions

m
→‎An example of a traffic file: proper name capitalization
m (→‎An example of a traffic file: proper name capitalization)
Line 43: Line 43:
== An example of a traffic file ==
== An example of a traffic file ==


Below is a complete and working example of a traffic manager II file, as it can be used with FlightGear 1.9.0 and later:
Below is a complete and working example of a Traffic Manager II file, as it can be used with FlightGear 1.9.0 and later:
<syntaxhighlight lang="xml">
<syntaxhighlight lang="xml">
  <?xml version="1.0"?>
  <?xml version="1.0"?>
Line 109: Line 109:
  </trafficlist>
  </trafficlist>
</syntaxhighlight>
</syntaxhighlight>
== Dissecting the traffic file ==
== Dissecting the traffic file ==
Here I will discuss the general structure of a traffic file in more detail. As discussed, the traffic patterns are centered around aircraft and flights. Therefore, a minimal traffic file will consist of two sections: the aircraft definition and the flights section. In the next two sections, I will discuss each of these sections.
Here I will discuss the general structure of a traffic file in more detail. As discussed, the traffic patterns are centered around aircraft and flights. Therefore, a minimal traffic file will consist of two sections: the aircraft definition and the flights section. In the next two sections, I will discuss each of these sections.
185

edits