Inconsistency in the SDK v4 documentation

SDK supports Prepar3D’s philosophy of an open development architecture and encourages third parties to bring new innovations with improved add-ons and training content.
Locked
tflyer
Posts: 14
Joined: Mon Nov 20, 2017 3:47 pm

Inconsistency in the SDK v4 documentation

Post by tflyer »

Hello!
There must be something i am missing:
in the SDK v4, under Aircraft configuration file, lights section you can see this:

Image

Interesting the last entries "Headlight" and "Brake" which makes me think about some light .fx effect that can be added.
But... There is no way to invoke them.

While in the aircraft simulation variables they are listed,

Image

there is no way to trigger them in the Events IDs:

Image

I was wondering what is the point of them, and how it works.
Thanks for your kind attention.
Clifton Crane
Lockheed Martin
Posts: 1207
Joined: Tue Sep 25, 2012 2:34 pm

Re: Inconsistency in the SDK v4 documentation

Post by Clifton Crane »

Hi tflyer,

Although there is not currently a key event for those lights, I believe they can be set via the LIGHT HEAD ON simulation variable via either SimConnect or a PDK plugin using TriggerProperty on a given BaseObject.
Clifton Crane
Prepar3D® Software Engineer Sr.
tflyer
Posts: 14
Joined: Mon Nov 20, 2017 3:47 pm

Re: Inconsistency in the SDK v4 documentation

Post by tflyer »

Cool, i will try it. Thanks Clifton
Locked