• 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.

FSX Default Radar Flight Plans

Messages
78
Country
unitedkingdom
Maybe I'm blind But I can't find a thread on this.

I'm sure it would have been asked before but here goes....

Using the Default FSX radar there is a section in the session info which says Flight Plans.

In multiplayer mode nothing shows here.
In single player mode this displays the from/to Airport ICAO of the selected aircraft.

Now the question...

Is there a way this can be displayed in Multiplayer mode?

Having a look at the Radar gauge (C:ITrafficInfo:SelectedFlightPlan) seems to be the culprit?
 
Last edited:
Not surprised that you didn't find a thread on this. There isn't all that much written about XML ITrafficInfo and when combined with Multiplayer, even less.

Up front, I'll admit that I don't know MP very well, so I won't be able to provide a satisfactory answer to your question. You might consider posting in a MP forum like at AVSIM if you don't get a helpful response here. But, I know there are a few members of this forum that are active MP, so they may have the answer you need. Hopefully so.

In the meantime, maybe you can experiment with this. It's a simple XML gauge that creates a traffic list from a Nearest Traffic search:

upload_2015-5-13_14-21-13.jpeg


Code:
<Gauge Name="ITrafficInfo_List_1" Version="1.0">
    <Size X="500" Y="400" />

        <Macro Name="CurrentCallsign">
            (C:ITrafficInfo:C:ATC AIRLINE, string) d slen 0 &gt;
                if{ 0 3 ssub uc (C:ITrafficInfo:C:ATC FLIGHT NUMBER, string) scat }
                els{ (C:ITrafficInfo:C:ATC ID) d slen 0 == if{ (C:ITrafficInfo:CurrentPlayerName) } }
        </Macro>

        <Update>
            (A:PLANE LATITUDE, RADIANS) (>L:Reference Latitude, radians) <!-- Whatever reference Latitude is desired -->
            (A:PLANE LONGITUDE, RADIANS) (>L:Reference Longitude, radians) <!-- Whatever reference Longitude is desired -->
            (L:Reference Latitude, radians) (>C:ITrafficInfo:Latitude, radians)
            (L:Reference Longitude, radians) (>C:ITrafficInfo:Longitude, radians)
            30 (>C:ITrafficInfo:Radius, nmiles)
            30 (>C:ITrafficInfo:MaxVehicles)
            88 (>C:ITrafficInfo:Filter)    <!-- AWAKE, IN AIR or ON GROUND -->
        </Update>

        <Element Name="B A C K G R O U N D   R E C T A N G L E">
            <Position X="0" Y="0"/>
            <Rectangle Width="500" Height="400" FillColor="white" Bright="Yes" />
        </Element>

        <Element Name="ITraffic Loop Display">
            <!-- <Visible>(L:ITrafficLoopDisplay, bool)</Visible>    -->
            <Position X="10" Y="10"/>
            <FormattedText X="450" Y="350" Font="courier new" FontSize="8" LineSpacing="8" Color="Blue" BackgroundColor="white" Bright="Yes" Align="Right">
            <Color Value="#101010"/>
                <String>
                \{clr2}
                %CUR                                                                     ON  MAG  GND\n
                %VHC  CALL      MODEL   DIST   VID   LATITUDE   LONGITUDE    ALT    VSI GND  HDG  SPD  FLIGHT PLAN\n\{clr}
                        %((C:ITrafficInfo:ListSize) s2 0 !=)
                        %{if}
                            %(0 sp1)
                            %{loop}
                                %(l1 d (>C:ITrafficInfo:CurrentVehicle) (>C:ITrafficInfo:SelectedVehicle))
                                %((C:ITrafficInfo:CurrentVehicle))%!-5d!
                                %( @CurrentCallsign )%!-10s!
                                %((C:ITrafficInfo:C:ATC MODEL, string))%!-8s!
                                %((C:ITrafficInfo:CurrentDistance, nmiles))%!4.1f!
                                %((C:ITrafficInfo:SelectedVehicleID))%!6d!
                                %((C:ITrafficInfo:C:PLANE LATITUDE, degrees))%!11.6f!
                                %((C:ITrafficInfo:C:PLANE LONGITUDE, degrees))%!12.6f!
                                %((C:ITrafficInfo:C:PLANE ALTITUDE, feet))%!7d!
                                %((C:ITrafficInfo:C:VERTICAL SPEED, feet per minute))%!7d!
                                %((C:ITrafficInfo:C:SIM ON GROUND, bool))%!4d!
                                %((C:ITrafficInfo:C:PLANE HEADING DEGREES MAGNETIC, degrees))%!5d!
                                %((C:ITrafficInfo:C:GROUND VELOCITY, knots))%!5d!
                                % %((C:ITrafficInfo:SelectedFlightPlan))%  %!s!\n
                                %(l1 ++ s1 l2 &lt;)
                            %{next}
                        %{end}
                </String>
            </FormattedText>
        </Element>
</Gauge>


The screen shot is from Single Player. It shows the Users aircraft (Call sign N71FS, flight plan is KORD to KSFO) and a bunch of AI aircraft. It doesn't do anything the stock FSX Radar gauge doesn't do, but it's easier to experiment with this one and set such things as Filter, MaxVehicles, Radius as desired. It's also in FS9 schema, so it's much easier to read, if you ask me.

I would not necessarily say that ITrafficInfo:SelectedFlightPlan is the culprit. Maybe this just does not work in MP. Perhaps your Nearest Traffic search parameters are set inappropriately to capture the MP traffic.

If you want some info on ITrafficInfo, you can look here, but that guidebook was written with single player in mind.

Wish I could help more, but maybe this helps a little. Good luck.

Bob
 
Last edited:
Firstly , I don't do Multi player .

From what I've read about it you need a commonality aspect between your computer and other players computers .
I presume that that would include identical AI aircraft loadouts on both computers.

AI are an oddity in that they load on a random basis , hence AI that appear on your computer might not have loaded on the other
players computer , so they are not visible because they are not there.
There is another aspect about AI that I don't understand , and that is that they can be temperamental and just disappear
due to timing , other interactions or for unknown reasons.

Another example is , you are flying a F-15 and the other player is flying an F-18 , you will not see his F-18 unless you have that
particular F-18 in your computer database.

I am sure that the default FSX ATC Radar combo is Multi player capable.

The above advice about visiting a Multi player specific forum is probably the best course of action , they will be
familiar with what is possible and what is not.

Cheers
Karol
 
Thank you both for your help.
I'll have a play with what RPMC has supplied and see if I can incorporate something into the default radar.
 
Hi Andy,

Now I see exactly what you mean. It's time for the MP experts.

I created a MP session with two aircraft. Each aircraft used Flight Planner to create and load its own Flight Plan at the start of the MP session:

upload_2015-5-13_18-45-49.jpeg


All ITrafficInfo variables seemed to be successfully shared in the MP session except Flight Plan. Each aircraft could see only its own Flight Plan when using ITrafficInfo:SelectedFlightPlan. The pic below is from the Host computer (N71FS aircraft):

upload_2015-5-13_18-47-26.jpeg

The traffic list in the N55TM aircraft on the other computer listed only its own FP as well, which was KORD, KICT. I did not try the Air Traffic Controller option to see if that made any difference.

So, I don't know if there is a solution, or if Flight Plans cannot be shared using XML ITrafficInfo variables in MP. I really don't know.

Best of luck!

Bob
 
Last edited:
Bob

A possbility might be to create two additional Macros based on the following,
Code:
            <MacroValue>(C:ITrafficInfo:C:ATC AIRLINE, string) d slen 0 &gt; if{
0 3 ssub uc (C:ITrafficInfo:C:ATC FLIGHT NUMBER, string) scat }
els{ (C:ITrafficInfo:C:ATC ID) d slen 0 == if{ (C:ITrafficInfo:CurrentPlayerName) } }
</MacroValue>
        </Macro>
        <Macro id="SelectedCallsign" Name="SelectedCallsign">
            <MacroValue>(C:ITrafficInfo:S:ATC AIRLINE, string) d slen 0 &gt; if{
0 3 ssub uc (C:ITrafficInfo:S:ATC FLIGHT NUMBER, string) scat }
els{ (C:ITrafficInfo:S:ATC ID) d slen 0 == if{ (C:ITrafficInfo:SelectedPlayerName) } }
</MacroValue>
        </Macro>

based on ,
Code:
%((C:ITrafficInfo:SelectedFlightPlan) )%

Then add your new Macros to the instrument.

It might be worth a try.

Cheers
Karol
 
Bob

I created a modified version of what he is using , See screenshot at reply #12 at the following link
http://www.fsdeveloper.com/forum/threads/formatting-strings.58755/

Instrument is at bottom right of shot.
It probably needs a little upgrading of the lower pane to show all the data that you can see
in the text overlay in the radar above , it's a rather simple upgrade.

Cheers
Karol
PS; differences between the radar and AI Hunter (Sessions) are,
Radar= cycles only 7 closest AI out to a limit of 40 nm.
AI Hunter= unlimited number of AI in scrollable top pane out to reality bubble , I usually get a range of 80-115 nm.
 
Last edited:
But I believe that's Single Player mode and AI Aircraft. Same as #2 above. Andy is looking for a MP solution.

Your nav stuff really is cool, BTW
 
Last edited:
Hi Karol,

Regarding the macros you posted in #6, I don't see the connection between those ATC string A:variables and Flight Plan - so I believe the macros may not help. I still do not understand how to see all Flight Plans (Departure and Destination Idents) in Multiplayer mode unless the Air Traffic Controller option can do this. I didn't try that, but the FSX Radar gauges are kinda set up as ATC so perhaps it won't work there either. Again, I don't know ... at least, I don't know by using XML ITrafficInfo vars. :confused:

Bob
 
Last edited:
Hi Bob

Thanks Bob , most of the credit goes to you and others here at the forums.

Yes the shot is single player , I have never attempted Multi.
It was only a wild stab in the dark.
What caught my attention was the reference to 'Current' and 'Selected' player in the Macro pair.

Cheers
Karol
 
What caught my attention was the reference to 'Current' and 'Selected' player in the Macro pair.
l
That's a good hunch. C:ITrafficInfo:SelectedFlightPlan does require the aircraft to be Selected. That is what this line:

%(l1 d (>C:ITrafficInfo:CurrentVehicle) (>C:ITrafficInfo:SelectedVehicle))

in my gauge example does. Works well in Single Player and AI Aircraft. But MP ... ?

Bob
 
Andy

I really don't know if this is relevant , but it might be worth a try.
Get the other person that you are conducting a Multi Player session to load the "Sessions" instrument ,
then conduct a session and check if Flight plans shows up as you desire.

The idea being to have a commonality at both ends.

Important: make sure that you both have flight plans loaded for that test session.

Cheers
Karol
 
Thanks again for all the help.
I'll have to have a look at this as soon as I get some spare time.
It does seem funny how the Flight Plans section was included as default by Microsoft but it doesn't work.
Maybe it's something that was started but never finished off?
 
It does seem funny how the Flight Plans section was included as default by Microsoft but it doesn't work.
Maybe it's something that was started but never finished off?
Andy,

You might be right about that. There are other examples of things not finished in FSX, although as far as I know, maybe not that many - a handful of gps variables are inoperable, for example.

I created a 3 pc multiplayer session with one serving the role as Air Traffic Controller and re-confirmed what I posted earlier - each aircraft can see its own C:ITrafficInfo:SelectedFlightPlan string, but not the other aircraft's FP. When it comes to the ATC ControlTower, it's just like you said, it cannot see the other player's aircraft flight plans, and, it does not have a FP of its own of course.

I also tried turning on/off bit #2 (Tower Controllers) in ITrafficInfo:Filter but this had no effect. I still do not understand the function of that bit.

Anyway, as far as I can tell, C:ITrafficInfo:SelectedFlightPlan works for the Users aircraft, works for AI aircraft (single player free flight mode), but doesn't work for other player's aircraft in MP. So, I think sharing the FP is not possible simply using the XML C:ITrafficInfo:SelectedFlightPlan variable in MP mode. There may be other ways to do that, but it doesn't look like its as simple as changing a parameter in session_info.xml.

Bob
 
Last edited:
Andy,

One last item that I just now remembered which makes this a rather moot point: for the User's aircraft (a non-AI aircraft) C:ITrafficInfo:SelectedFlightPlan returns the first two waypoints of the loaded Flight Plan. Those are not necessarily the Departure and Destination airport Idents.

For the stock AI generated aircraft in FSX, the Flight Plan consists of only the Departure and Destination airport, so those two Idents are returned. However, AI traffic is not supported in Multiplayer mode.

Bob
 
Back
Top