XTraffic

 

 

Up
AlphaTrainer
Command Line
DataRefSee
Flight Data Recorder
Goflight
Intellivibe
Logitech G15 Control
Pilot View
Position Aircraft
Python Interface
SBCommands
Virtual Camera
XTraffic
XObjTester
XWing

XTraffic and XTrafficRecorder

XTrafficRecorder Version 2.50

This uses a text file called BatchAircraftNameChangeList.txt which must exist in the XTraffic folder.
The zip file contains a sample version of this file to get you started.

There is a button on the XTrafficRecorder Control Panel.
Just click this to do a batch name change.
Always check the XTrafficRecorderLog.txt file for any errors.
If you get errors make sure that the xtd filename is correct and also that the aircraft path and name are correct.
The batch name change does not check for the existence of the aircraft, it only changes the aircraft name in the .xtd file.

NOTE
The batch conversion is only meant for name changes on similar aircraft types.
If you changed it from a cessna to a 747 then part of 747 would be below the ground.
Please don't email me about this as it is not what this feature is for.

See the XTrafficRecorderVersionHistory.txt file below for all versions history.

XTrafficRecorderVersionHistory.txt


XTraffic Version 2.65

XTrafficVersionHistory.txt

IMPORTANT NOTE
I have had a few emails about users only seeing the aircraft number and no aircraft.
There are 2 things that will cause this.
1.
You need to set the number of aircraft in Xplane's "Aircraft and Situations"
to one more that the number of XTraffic aircraft that you are using.
2.
Other plugins that use the AI aircraft, XSB for example can stop XTraffic
from working properly.
So you need to disable or in some cases remove these plugins.

I no longer supply demo files for this plugin, the idea is to create your own.

Brief description of the new features in V2.50.

Older V2 files will be automatically converted so they can still be used with the new V2.50 XTraffic plugin.
Make sure you are at the airport where the V2 files were created before you load the .xtd file.

Auto loading of sets is now supported.

You would create a set of .xtd files for each airport that you are interested in.

You then add these to the tracks as normal and then save as an .xts file that has the same ID as the airport that they were recorded at.
So for EGPH I would save to the EPGH.xts file.
This is essential as that is what my auto load set code looks for.
Once you have done this for each airport this is how the plugin uses them.
 
It looks for the nearest airport to the user aircraft.
It uses a filter box around the aircraft to reduce the number of airports that are tested.
Once it finds the nearest airport it tries to load a .xts file for that airport.
If it finds a .xts file for that airport it loads it and starts it running.
If it doesn find a .xts file for that it will continue to use the last used .xts file if the UseLastLoadedSet is set to 1.
If UseLastLoadedSet is set to 0 then it clears the tracks so no aircraft will be used

NOTE
You can eliminate delays caused by aircraft loading if each set uses the same track for each type of aircraft.

List of configuration settings for the XTraffic. ini file.
The settings below are using the default settings that I use if the XTraffic.ini file is missing or a setting is not in the file

DebugLogEnabled = 0
Set this to 1 if you want a log file to be created

DebugLoggingLevel = 2
0 = Disable
1 = General Errors
2 = Information
3 = Extended Information
Note that when DebugLoggingLevel is 0, I am still writing essential messages to the log file.
A higher level will include logging from lower levels.

FrameRate = 25
Determines the frame rate that XTraffic will play back at.
If you change this then remember to change the same setting in the XTrafficRecorder.ini file

AutoStart = 0
Set this to 1 if you want XTraffic to automatically start and use the file entered in the DefaultSetFileName setting below.

DefaultSetFileName =
This should be set to the .xts file that you want loaded automatically when the XTraffic plugin starts.

HideControlPanel = 0
Set this to 1 so that the XTraffic Control Panel is hidden after the XTraffic plugin starts.

DisplayAircraftID = 0
Set this to 1 to have the Aircraft ID displayed next to the actual aircraft.

AutoLoadSet = 0
Set this to 1 to have the XTraffic plugin look for a .xts file for the nearest airport.

FindAirportRange = 1.0
This is the range in degrees around the user aircraft that will be tested for airports.

FindAirportUpdateSeconds = 1.0
This is the time in seconds that XTraffic will poll the airports.
I have tested this and I have not seen a hit on the frame rate.
It can be set to a higher value if there is a problem with frame rates.

ConversionOverwritesExistingFile = 1
This will make the plugin overwrite the original file, setting it to zero will create a new file with a _V3 suffix.

Plugin Description

These plugins use the core code from my Flight Data Recorder/Viewer plugins that I wrote in 2003.

XTraffic does the following.

It allows you to play back up to 19 aircraft files (9 in Xplane versions prior to V8.50) that have been recorded with the XTrafficRecorder Plugin.
Playback can also be reversed.

Each aircraft file can be played on its own or stepped through in the forward or backward direction using the VCR type controls.
This is handy for positioning each individual aircraft relative to another.
The step size can be from 1 frame to the size of the clip.
You can speed up the playback by any factor, see the XTraffic01x10.mov and XTraffic01x100.mov files.
You can save a segment of the aircraft file by setting the mark in and mark out points.
This allows you to split a full flight into segments or just clean it up a bit.
You can loop the whole flight so it will repeat.
Aircraft that have shorter flights will loop after they reach the end.
Only aircraft that are enabled will play back.

List of configuration settings for the XTrafficRecorder. ini file
.
The settings below are using the default settings that I use if the XTrafficRecorder.ini file is missing or a setting is not in the file

DebugLogEnabled = 0
Set this to 1 if you want a log file to be created

DebugLoggingLevel = 2
0 = Disable
1 = General Errors
2 = Information
3 = Extended Information
Note that when DebugLoggingLevel is 0, I am still writing essential messages to the log file.
A higher level will include logging from lower levels.

FrameRate = 25
Determines the frame rate that XTrafficRecorder will record at.
If you change this then remember to change the same setting in the XTraffic.ini file

Quick Start Guide (Please Read)

I am updating the pdf files and will upload these when they are ready.

XTrafficPluginQuickStartGuide.pdf    (357 KB)

Plugins

NOTE

The zip files below contain the XTrafficRecorder and XTraffic plugins.
They also contain the XTrafficRecorder.ini and XTraffic.ini files
Copy the XTrafficRecorder and XTraffic plugin files to the plugins folder.
You then need to create a folder under the plugins folder called XTraffic.
Then you copy both the XTrafficRecorder.ini and XTraffic.ini files to the XTraffic folder.
Also copy the BatchAircraftNameChangeList.txt file to the XTraffic folder.


Plugins

32 and 64 Bit

The zip file below contains a FAT plugin that has the 32 and 64 bit plugins for Windows, OS X, and Linux
The OS X version of the plugin is universal so it is in the XTrafficRecorder folder only and not in the 32 or 64 bit folders.
Unzip the archive so that there is a XTrafficRecorder folder under the plugins folder.
Remember to remove any old versions of the plugin.

XTrafficRecorder.zip

The zip file below contains a FAT plugin that has the 32 and 64 bit plugins for Windows, OS X, and Linux
The OS X version of the plugin is universal so it is in the XTraffic folder only and not in the 32 or 64 bit folders.
Unzip the archive so that there is a XTraffic folder under the plugins folder.
Remember to remove any old versions of the plugin but keep your existing XTrafficRecorder.INI and XTraffic.INI files.
The XTrafficRecorder.INI and XTraffic.INI files reside in the XTraffic folder.

XTraffic.zip

     

Up | AlphaTrainer | Command Line | DataRefSee | Flight Data Recorder | Goflight | Intellivibe | Logitech G15 Control | Pilot View | Position Aircraft | Python Interface | SBCommands | Virtual Camera | XTraffic | XObjTester | XWing

This page was last updated 12-May-2014 14:03:45 +0100