Page 1 of 1

cockpit lights

PostPosted: Sat Oct 03, 2015 6:37 pm
by rmb823
I have downloaded some aircraft that do not seem to have cockpit panel lights, is there a way to install lights in these aircrafts?

Thanks
Bob

Re: cockpit lights

PostPosted: Sun Oct 04, 2015 9:35 am
by B0ikat
It would help to know what aircraft you are asking about.

Re: cockpit lights

PostPosted: Sun Oct 04, 2015 3:53 pm
by Milton
rmb823 wrote:I have downloaded some aircraft that do not seem to have cockpit panel lights, is there a way to install lights in these aircrafts?

Thanks
Bob


Bob,

Yes, you can add a "vclight" in the Lights section of the aircraft.cfg. It's not as nice as gauge backlighting but will help.

To set the coordinates, find the "eyepoint" statement in the aircraft.cfg. That will be set at approximately the pilots eyes.

For the vclight, use those coordinates as a starting point, then center the 2nd parameter, and drop the vertical one about 1 foot.

Example:

Eyepoint statement: eyepoint= 3.366, -1.217, 4.238

Lights section
[LIGHTS]
// types: 1=beacon, 2=strobe, 3=navigation, 4=cockpit, 5=landing
// 6=Taxi, 7=Recognition, 8=Wing, 9=Logo, 10=Cabin
light.0 = 3, -1.278, -36.752, 3.664, fx_navred //left wing
light.1 = 3, -1.278, 36.752, 3.664, fx_navgre //right wing

//adding the vclight now ...
light.2 = 4, 3.366, 0, 3.238, fx_vclight

Explanation:

light.2 is next in sequence
Type 4 light is for cockpit lighting
The next 3 parameters are coordinates of the light - fore/aft, left/right, up/down with + meaning forward, right, and up

After pasting the eyepoint coordinates in the light statement, I centered the 2nd parameter = 0, and subtracted 1' from the 3rd parameter

The light effect is named fx_vclight

Hope this helps