AI Traffic: Difference between revisions

Jump to navigation Jump to search
(added an important thing)
Line 613: Line 613:


==Perfomance==
==Perfomance==
The Ai Interactive Traffic needs with FGFS 1.0.0 a lot of CPU-perfomance. But with the CVS-version we have now a much better perfomance so realistic density of traffic is possible now for some weaker computers.
With FGFS 1.0.0, the AI Interactive Traffic needs a lot of CPU-power. With the current CVS-versions, however, we now have much better performance so realistic density of traffic is currently possible, even for slower computers.
For those who are still afraid, there is a not yet pulished feature:
For those who are still afraid, there is an, as of yet, unpublished feature:
Set a new property "/sim/traffic-manager-proportion" to any value between 0 and 1 in your preference.xml.
Set a new property "/sim/traffic-manager/proportion" to any value between 0 and 1 in your preferences.xml.
During program start up, the traffic manager draws a random number(between 0  
During program start up, the traffic manager draws a random number (between 0 and 1) for each aircraft, and if that random number is smaller than the value  
and 1)for each aircraft, and if that random number is smaller than the value  
specified in /sim/traffic-manager/proportion, the aircraft is added, otherwise it is discarded. In essence, only the specified proportion of aircraft will be loaded.  
specified in /sim/traffic-manager/proportion, the aircraft is added, otherwise it is discarded.  
 
Unfortunately you can't change this at runtime yet, so you need a little bit trial and error! ;-)
Unfortunately you can't change this at runtime yet, so you need a little bit trial and error! However, it should allow the combination of slower computers and dense traffic files. ;-)


==External links==
==External links==
* [http://www.xs4all.nl/~dtalsma/flightgear.html The FlightGear AI aircraft download page]
* [http://www.xs4all.nl/~dtalsma/flightgear.html The FlightGear AI aircraft download page]
* [http://www.ilovelinux.de/svn/fgfs-ffm/user/data/AI/  Created  a dense AI traffic for EDDF, LSZH and a lot of other airports depending on real timetables. More to come!]
* [http://www.ilovelinux.de/svn/fgfs-ffm/user/data/AI/  Created  a dense AI traffic for EDDF, LSZH and a lot of other airports depending on real timetables. More to come!]
117

edits

Navigation menu