Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

cockpit interior light question

Featured Replies

  • Commercial Member

I have a freeware plane that has an interior cockpit light that comes on when you select key L as do all the other lights, interior and exterior. My question is there any way to make the main interior light turn off with the other lights on?

Paul Grubich 2017 - Professional texture artist painting virtual aircraft I love.
Be sure to check out my aged cockpits for the A2A B-377, B-17 and Connie at Flightsim.com and Avsim library

i-5vbvgq6-S.png

  • Commercial Member

If the gauge is created in C then without creating a new gauge, no. If the gauge is created in XML it may be possible but you'll need an answer from someone else on that score. Which plane is it? If I know that then I can take a look and give you a more definate answer.

Check to see if there is a cabin light or panel light switch in the virtual cockpit.  Most freeware aircraft use a simple cabin light for cockpit lighting.

My computer: ABS Gladiator Gaming PC featuring an Intel 10700F CPU, EVGA CLC-240 AIO cooler (dead fans replaced with Noctua fans), Asus Tuf Gaming B460M Plus motherboard, 16GB DDR4-3000 RAM, 1 TB NVMe SSD, EVGA RTX3070 FTW3 video card, dead EVGA 750 watt power supply replaced with Antec 900 watt PSU.

  • Author
  • Commercial Member

The plane did not come with a cockpit light or switch so I installed a Shockwave (A2A) interior light. The problem is there is no switch for this light so it  only comes on when use the L key and that also turns on all the outside lights. Not sure if the Shockwave light is XML or not. 

 

It is just a light added to the panel vc config so would there be a config command I could use?

Paul Grubich 2017 - Professional texture artist painting virtual aircraft I love.
Be sure to check out my aged cockpits for the A2A B-377, B-17 and Connie at Flightsim.com and Avsim library

i-5vbvgq6-S.png

  • Moderator

The plane did not come with a cockpit light or switch so I installed a Shockwave (A2A) interior light.

If you placed the "light" via the aircraft.cfg file, then by setting the light to use the "cockpit" lights circuit (type 4), you can then use the default Shift-L keycombo to toggle them on and off:

[LIGHTS]
//Types: 1=beacon, 2=strobe, 3=navigation, 4=cockpit, 5=landing 
//       6=taxi, 7=recognition, 8=wing, 9=logo 10=cabin
light.0 = 4,  4.91,   0.00,  1.64, fx_vclight,
 // use Shift-L to turn on/off

Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator
  • Author
  • Commercial Member

Thanks, great advice and it works perfectly.

Paul Grubich 2017 - Professional texture artist painting virtual aircraft I love.
Be sure to check out my aged cockpits for the A2A B-377, B-17 and Connie at Flightsim.com and Avsim library

i-5vbvgq6-S.png

  • Moderator

Wow! You must have watched me write that post... :P

Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.