Gun Firing - CIGI, HLA, DIS

Any issues, problems or troubleshooting topics related to the additional features present in the Prepar3D Professional Plus client application.
Locked
User avatar
OPS_Support
Posts: 8
Joined: Tue Jun 26, 2018 12:15 am

Gun Firing - CIGI, HLA, DIS

Post by OPS_Support »

Hello,

I am using Prepar3D v4.3 and an external image generator. I would like to fire a gun in P3D and display the effects in my image generator (i.e. muzzle flash, and detonation/collision animations)

Does Prepar3D send out the projectile collision information out through CIGI? If so, what packet is used?

Thanks.
Clifton Crane
Lockheed Martin
Posts: 1207
Joined: Tue Sep 25, 2012 2:34 pm

Re: Gun Firing - CIGI, HLA, DIS

Post by Clifton Crane »

Hello,

Gun munitions are currently broadcast over DIS via Fire and Detonation PDU's. The CIGI implementation does not currently support munition fire.

It would be possible for a PDK plugin to listen to the DIS traffic (the plugin would be responsible for listening to the traffic on its own) and then broadcast Component Control packets to another non-P3D CIGI IG. See the CigiService PDK service as well as the CigiComponentControl sample in the SDK for how to create custom Component Control packets.

Hope this helps!
Clifton Crane
Prepar3D® Software Engineer Sr.
Locked