AI Traffic: Difference between revisions

Jump to navigation Jump to search
Line 8: Line 8:
== Building Traffic Files ==
== Building Traffic Files ==


Traffic patterns are stored in data files in extended markup language (.xml) format, which are stored in a sudirectory called \verb|Traffic| in FlightGear's main data directory, hereafter referred to with it's technical name:
Traffic patterns are stored in data files in extended markup language (.xml) format. Depending on version, these files are either stored in a sudirectory called '''Traffic''' in FlightGear's main data directory, hereafter referred to with it's technical name:


<nowiki>
<nowiki>
Line 14: Line 14:
</nowiki>
</nowiki>


or in the AI Aircraft's directory. Current FlightGear CVS (as of late December 2007) has its traffic files in the aircraft directories (e.g., in data/AI/Aircraft/737/, and older versions as well as the current PLIB built version of FlightGear have this file in <nowiki>${FGROOT}/Traffic</nowiki>.
Each traffic pattern is built around two entities: Aircraft and Flights. Before discussing the details, lets start by exploring these two concepts a little further.
Each traffic pattern is built around two entities: Aircraft and Flights. Before discussing the details, lets start by exploring these two concepts a little further.


117

edits

Navigation menu