• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

FS9 GPS Traffic?

Messages
10,163
Country
us-arizona
Hey all,


I know the FSX Garmins (stock units) have traffic in them. I wonder if traffic can be inserted into the FS9 GPS code for FS9 XML MFD's?


Anyone tried it?



Bill
 
Quite interesting. Vehicles is not a valid layer in FS9's gps.dll, so how do you do it?

Bob

There is some confusion here. Those two referenced posts are clearly labled in the subject header as "FSX:..." So, given that information, the use of <Vehicles> makes perfect sense... ;)

FS9 requires the use of either Arne Bartel's original TrafficRadar.dll or better still, Doug Dawson's revised TrafficRadar.dll that will work in both FS9 and FSX!

At my request, Doug reworked Arne's original C++ source files so that it would load and work in FSX. Because of his kindness, I no longer use FSX's "Traffic.dll" at all.

Here is one example of the script required for TrafficRadar.dll usage:

Code:
  <!-- =============FS9/X TCAS ============== -->
  <Element>
    <Visible>(L:B737_TCAS_OnOff,number) (L:B737_RadarOnOff,number) ! and</Visible>
    <Position X="86" Y="31"/>
    <Image Name="Range5_Mask.bmp"/>
  </Element>
  
  <Element>
    <Visible>(L:B737_TCAS_OnOff,number)</Visible>
    <CustomDraw Name="fs9traffic:tcas" X="512" Y="400" Bright="Yes" SymbolSize="3.5" Brightness="255" FixedResolution="1" OtherColour="0x7fffff">
      <CenterX>256</CenterX>
      <CenterY>200</CenterY>
      <Heading>(A:GPS GROUND TRUE HEADING, degrees)</Heading>
      <TrackUp>0</TrackUp>
      <Range>(@g:map_ZoomFactor)</Range>
      <PadSymbols>1</PadSymbols>
      <MaxRange>50</MaxRange>
      <MaxNumAct>100</MaxNumAct>
      <Heading>(A:GPS GROUND TRUE HEADING, degrees)</Heading>
      <OtherAboveAlt>(L:B737_TCAS_Above,number) (L:B737_TCAS_Normal,number) or if{ 2700 } els{ 0 }</OtherAboveAlt>
      <OtherBelowAlt>(L:B737_TCAS_Below,number) (L:B737_TCAS_Normal,number) or if{ 2700 } els{ 0 }</OtherBelowAlt>
      <ProximityAboveAlt>(L:B737_TCAS_Above,number) (L:B737_TCAS_Normal,number) or if{ 1200 } els{ 0 }</ProximityAboveAlt>
      <ProximityBelowAlt>(L:B737_TCAS_Below,number) (L:B737_TCAS_Normal,number) or if{ 1200 } els{ 0 }</ProximityBelowAlt>
    </CustomDraw>
  </Element>
The script above will display up to 100 AI aircraft with a max range of 50nm, and will show ABOVE, NORM, or BELOW...
 
Those two referenced posts are clearly labled in the subject header as "FSX:..."

Yes, and that was really my point.

And thank you very much, Bill, for taking time to point out Arne and Doug's work and for providing the example script. I recall you have discussed traffic radar applications in one or two of your semi-recent posts, but thanks very much for this reminder. It's good stuff.

Bob
 
Yes, and that was really my point.

And thank you very much, Bill, for taking time to point out Arne and Doug's work and for providing the example script. I recall you have discussed traffic radar applications in one or two of your semi-recent posts, but thanks very much for this reminder. It's good stuff.

Bob
I would add two more thoughts here:
  1. The "FSX Traffic" only works for FSX+SP2 or +Acceleration.
  2. Carefully read the usage notes from both Arne's original version as well as Doug's updated version.
Although ACES "did good" with their rudimentary "traffic display," the simple fact is that there's no provision for detecting collision avoidance at all, and their display icons do not resemble reality at all...

Whereas Arne's icons are highly realistic, with provisions for both "Radar" and "TCAS" specific displays, and also includes collision avoidance caution and warning by default.
 
n4gix

I'm seriously tempted to try the 'revised TrafficRadar.dll '.

I have done several radars with FSX AI traffic capabilities , but would like to experiment the Arne- Doug affair to achieve some extra outcomes primarily
for military applications.

Q1. Does the revised TrafficRadar.dll overwrite the FSX dll ?
Q2. Can the AI traffic icons be graphically customised ?

Cheers
Karol
 
Q1. Does the revised TrafficRadar.dll overwrite the FSX dll ?
Q2. Can the AI traffic icons be graphically customised ?

No, it is a uniquely named .dll module.
If you mean "customised" outside of what's available via configuration of the module's built in options, no.
 
Thank you.
Will install it , my primary concern was the uniqueness of the dll , as my current radar is just over 3,500 lines of code that I did not want to jeopardise .

Cheers
Karol
 
Although ACES "did good" with their rudimentary "traffic display," the simple fact is that there's no provision for detecting collision avoidance at all, and their display icons do not resemble reality at all...

I quite agree that Bartels/Dawson is the logical way to go if one wants to build a TCAS gauge, but for those that just love a good XML gauge challenge and haven't forgotten their college trig, then a pretty sophisticated TCAS with a moving map and user-designed display icons would be possible entirely in XML for FSX - but not possible for FS9.

I'm not fanning the C++ vs. XML debate flames because the superiority of C++ is a given. Just saying that FSX gives you everything you need to do TCAS in XML, if you're bored and have time to burn. :)

Bob
 
Last edited:
To any interested. Someone out there made an fs9gps.cab that works for TCAS and someone made an fs9gps.cab that works for Wind. I gleaned the info. and made an fs9gps.cab that provides both, and its an .xml gauge :).
 

Attachments

That's a good example of integrating Arne's TCAS module into the stock gps_500 gauge. I'm sure it looks great.

Bob
 
Last edited:
Back
Top