Page 1 of 1

Gun Firing - CIGI, HLA, DIS

Posted: Thu Jul 19, 2018 4:38 am
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.

Re: Gun Firing - CIGI, HLA, DIS

Posted: Thu Jul 19, 2018 2:37 pm
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!