Seeing External DIS entities on GPS map
Seeing External DIS entities on GPS map
I have a p3d scenario running with a networked external application's mission.
I can see my aircraft on the external application's map
However I need to know how to see the external application's entities on my P3D GPS Map.
I need them to appear as targets symbols just like how airports and runways are displayed on the P3D GPS map.
Thanks
I can see my aircraft on the external application's map
However I need to know how to see the external application's entities on my P3D GPS Map.
I need them to appear as targets symbols just like how airports and runways are displayed on the P3D GPS map.
Thanks
Re: Seeing External DIS entities on GPS map
Just wondering also if the solution to this would rely on my changing a property in the gps.xml?
Possibly in the fs9gps:map section?
Thanks
Possibly in the fs9gps:map section?
Thanks
- Brady Butler
- Lockheed Martin
- Posts: 965
- Joined: Tue May 09, 2017 5:31 pm
Re: Seeing External DIS entities on GPS map
Hello Barney_LM,
Prepar3D has default icons that will draw based on entity type. You can try adding the following lines into the gps.xml to see the icons within the gps.
<CustomDrawParam id="LayerIcons" Name="LayerIcons">
<Value>1</Value>
</CustomDrawParam>
You can also try using Prepar3D's Icon service if you want your own custom 2d icons to be drawn over particular entity types/models. You can also change which default icon is drawn based on force (red, blue etc.) https://www.prepar3d.com/SDKv4/sdk/pdk_ ... rvice.html
There is an example of Icon service implementation that's shipped with the Prepar3D SDK called "CustomIcons".
Regards,
Brady
Prepar3D has default icons that will draw based on entity type. You can try adding the following lines into the gps.xml to see the icons within the gps.
<CustomDrawParam id="LayerIcons" Name="LayerIcons">
<Value>1</Value>
</CustomDrawParam>
You can also try using Prepar3D's Icon service if you want your own custom 2d icons to be drawn over particular entity types/models. You can also change which default icon is drawn based on force (red, blue etc.) https://www.prepar3d.com/SDKv4/sdk/pdk_ ... rvice.html
There is an example of Icon service implementation that's shipped with the Prepar3D SDK called "CustomIcons".
Regards,
Brady
Brady Butler
Prepar3D® Software Engineer
Prepar3D® Software Engineer
Re: Seeing External DIS entities on GPS map
Thanks brady
For you info I am using my own custom gps to display the entities.
If I was to use the xml lines you provided, where should I put these within the .xml?
Under these lines maybe?
<Element Name="MapView Pages">
<Visible>(@g:currentGroup) @kNAVPageGroup ==</Visible>
<Position X="60" Y="60" />
<CustomDraw Name="fs9gps:map" X="830" Y="1080" LayerTerrain="Yes" LayerBorders="Yes"
LayerFlightPlan="Yes" FlightPlanLineWidth="2.5" ActiveColorLayerFlightPlan="0x7010B0"
PastColorLayerFlightPlan="0xF0F0F0" ColorLayerFlightPlan="0xF0F0F0" Bright="Yes" CenterX="415">
Thanks
For you info I am using my own custom gps to display the entities.
If I was to use the xml lines you provided, where should I put these within the .xml?
Under these lines maybe?
<Element Name="MapView Pages">
<Visible>(@g:currentGroup) @kNAVPageGroup ==</Visible>
<Position X="60" Y="60" />
<CustomDraw Name="fs9gps:map" X="830" Y="1080" LayerTerrain="Yes" LayerBorders="Yes"
LayerFlightPlan="Yes" FlightPlanLineWidth="2.5" ActiveColorLayerFlightPlan="0x7010B0"
PastColorLayerFlightPlan="0xF0F0F0" ColorLayerFlightPlan="0xF0F0F0" Bright="Yes" CenterX="415">
Thanks
- Brady Butler
- Lockheed Martin
- Posts: 965
- Joined: Tue May 09, 2017 5:31 pm
Re: Seeing External DIS entities on GPS map
Yes I believe so.
Regards,
Brady
Regards,
Brady
Brady Butler
Prepar3D® Software Engineer
Prepar3D® Software Engineer
Re: Seeing External DIS entities on GPS map
Also Brady, just wondering
How would I go about using my own images as Vehicle Icons in the gps.xml?
Something along the lines of this:
<DetailLayerVehicles><Image Name="image_name.bmp" /></DetailLayerVehicles>
Thanks
How would I go about using my own images as Vehicle Icons in the gps.xml?
Something along the lines of this:
<DetailLayerVehicles><Image Name="image_name.bmp" /></DetailLayerVehicles>
Thanks
- Brady Butler
- Lockheed Martin
- Posts: 965
- Joined: Tue May 09, 2017 5:31 pm
Re: Seeing External DIS entities on GPS map
Hello Barney_LM,
To use your own images through our Icon system you'll have to edit the IconConfiguration.xml file.
We have a section in our Learning Center that explains how it works here:
https://www.prepar3d.com/SDKv4/sdk/refe ... ation.html
Regards,
Brady
To use your own images through our Icon system you'll have to edit the IconConfiguration.xml file.
We have a section in our Learning Center that explains how it works here:
https://www.prepar3d.com/SDKv4/sdk/refe ... ation.html
Regards,
Brady
Brady Butler
Prepar3D® Software Engineer
Prepar3D® Software Engineer
Re: Seeing External DIS entities on GPS map
Cheers
I have come up with my own IconConfiguration Sample
However I am confused as to where I save this in the P3D Directory?
Thanks
I have come up with my own IconConfiguration Sample
However I am confused as to where I save this in the P3D Directory?
Thanks
- Brady Butler
- Lockheed Martin
- Posts: 965
- Joined: Tue May 09, 2017 5:31 pm
Re: Seeing External DIS entities on GPS map
Hello Barney_LM,
There should already be an IconConfiguration.xml located in %programdata%\Lockheed Martin\Prepar3D v4. You can overwrite or edit that file.
Regards,
Brady
There should already be an IconConfiguration.xml located in %programdata%\Lockheed Martin\Prepar3D v4. You can overwrite or edit that file.
Regards,
Brady
Brady Butler
Prepar3D® Software Engineer
Prepar3D® Software Engineer
Re: Seeing External DIS entities on GPS map
There isn't a IconConfiguration.xml file in this directory
Is there a default one that I could add?
Regards
Is there a default one that I could add?
Regards
- Brady Butler
- Lockheed Martin
- Posts: 965
- Joined: Tue May 09, 2017 5:31 pm
Re: Seeing External DIS entities on GPS map
Hello Barney_LM,
Did you copy/paste the path %programdata%\Lockheed Martin\Prepar3D v4 into windows explorer? It should automatically direct to [drive]:\ProgramData\Lockheed Martin\Prepar3D v4. If it's not there, did you run Prepar3D on that machine yet? It should automatically be populated when Prepar3D is run.
As for the default, the link in the learning center has the default xml at the bottom of the page that you can try (but it should already be there by default).
Regards,
Brady
Did you copy/paste the path %programdata%\Lockheed Martin\Prepar3D v4 into windows explorer? It should automatically direct to [drive]:\ProgramData\Lockheed Martin\Prepar3D v4. If it's not there, did you run Prepar3D on that machine yet? It should automatically be populated when Prepar3D is run.
As for the default, the link in the learning center has the default xml at the bottom of the page that you can try (but it should already be there by default).
Regards,
Brady
Brady Butler
Prepar3D® Software Engineer
Prepar3D® Software Engineer
Re: Seeing External DIS entities on GPS map
I have checked my installation of v4 and there is an IconConfiguration.xml file in the "ProgramData\Lockheed Martin\Prepar3D v4" folder. So I can confirm that v4 creates the file.
Ed Wilson
Senior Developer
Mindstar Aviation
Senior Developer
Mindstar Aviation
Re: Seeing External DIS entities on GPS map
Yes I copied and pasted that path and the IconConfiguration.xml file is not there
I have also tried running Prepar3d and then checking the path but still no file.
There are other xmls such as:
Thanks
I have also tried running Prepar3d and then checking the path but still no file.
There are other xmls such as:
- ViewGroups
- Displays
- Multichannel
- scenery_add_ons
- exe.xml
- dll.xml
- DISEntityTypes
Thanks
- Brady Butler
- Lockheed Martin
- Posts: 965
- Joined: Tue May 09, 2017 5:31 pm
Re: Seeing External DIS entities on GPS map
Interesting, are you running Prepar3D v4? The icon service is new with Prepar3d v4.
Assuming you're in v4 (since you had the folder path), if you open Prepar3D and click Navigation->Map and toggle the 'i' shaped icon to be blue and everything else to be gray, do you see any images come up? There should be one that appears on your ownship, and one for each DIS entity in the visible region.
You may also need to run Prepar3D as administrator, it's possible something is blocking Prepar3D from writing the file.
Regards,
Brady
Assuming you're in v4 (since you had the folder path), if you open Prepar3D and click Navigation->Map and toggle the 'i' shaped icon to be blue and everything else to be gray, do you see any images come up? There should be one that appears on your ownship, and one for each DIS entity in the visible region.
You may also need to run Prepar3D as administrator, it's possible something is blocking Prepar3D from writing the file.
Regards,
Brady
Brady Butler
Prepar3D® Software Engineer
Prepar3D® Software Engineer
Re: Seeing External DIS entities on GPS map
Is there protection software or user rights blocking access for Prepar3D to create the files?
Ed Wilson
Senior Developer
Mindstar Aviation
Senior Developer
Mindstar Aviation