Depicting engine fire on simobject

metacraft
Posts: 7
Joined: Thu Feb 16, 2012 10:07 pm

Depicting engine fire on simobject

Postby metacraft » Tue Jun 26, 2018 4:22 am

Hello all,

Is it possible to trigger an engine fire (and actually see the flames and smoke) on an aircraft that you have injected into the sim with SimConnect with AICreateSimulatedObject or AICreateNonATCAircraft?

I have tried setting the ENG ON FIRE:1 variable, but it seems to be ignored. (No error, but no effect.) This works fine for the user aircraft, but not for AI aircraft.

I feel like there must be a way to do this as I assume it's a common simulation requirement among the Prepar3D customer base.

Any pointers would be greatly appreciated! Thank you.

-Ross Carlson

User avatar
Rob McCarthy
Lockheed Martin
Posts: 1591
Joined: Wed Aug 24, 2011 1:37 pm

Re: Depicting engine fire on simobject

Postby Rob McCarthy » Wed Jun 27, 2018 3:30 pm

Hi Ross,

Currently AI objects cannot have failures injected to them but there is a potential workaround that may suit your needs. You can use SimConnect to spawn effects so you could attach a fire effect to that entity. You could then set it's hit points to zero causing the aircraft to fall out of the sky. SimDirector could be used as well if additional triggers are needed (i.e. proximity triggers or other advanced AI behaviors).

Regards,
Rob McCarthy
Rob McCarthy
Prepar3D® Core Lead


Return to “SimConnect Interface Questions”

Who is online

Users browsing this forum: No registered users and 1 guest