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.

Turn off those nose lights!

Featured Replies

I love the way 3D Shockwave looks on my E-Jets! But it was no fun seeing the nose gear lights hanging in space after bringing the gear up. I started noodling around with the inner workings of FSX, XML, FSUIPC, CABDIR, and so on. This turned out to be more of a challenge than I anticipated but I finally got it!The E-Jets control the Taxi and Landing lights using switches on the Overhead panel. After the nose gear is retracted, the aircraft nose light is covered up by the landing gear bay doors when they close. This gives the appearance that the nose light has gone off, no matter what the Taxi light switch says. Presumably, this emulates real-world aircraft, which must have some sort of cutoff switch on the nose gear to shut off the light when retracted.Now, if you put Shockwave lights on the nose gear, they look great, right? Much better than the stock lights, I say. The conventional approach is to designate them as either type 5 (Landing) or 6 (Taxi) in the aircraft.cfg. All is good, right? Uhhhh . . . no. The bad news is the Shockwave lights will not turn off when the gear is raised. They stay illuminated until you hit the Taxi or Landing light switch on the Overhead Panel. That's why you have the "floating" light under the plane, which is just not realistic.Here's the solution. I use light type 7 (Recognition) for the nose gear light. My payware aircraft do not use this light for any purpose. None of the overhead switches turn the Recognition light on or off. It's free for me to use. However, just changing the Shockwave light to type 7 is only part of the solution. You need a little XML code to make it actually DO something.A2A Simulations uses a file called Shockwave_Lights.cab that contains five XML modules. When you modify the panel.cfg file (per their instructions), you are hooking your aircraft to those modules to control the Shockwave lights. I have built a sixth module (it does not replace the other five) to control the Recognition lights. I named it SW Lights_Growley_Recognition.xml (so modest) and added it to A2A's Shockwave_Lights.cab.The logic in the XML code works as follows:1. Check for gear down; if Taxi light is on and Recognition light is off, then toggle Recognition light; if Taxi light is off and Recognition light is on, then toggle Recognition light.2. Check for gear up; if Recognition light is on, then toggle Recognition light.This enables the Shockwave nose lights to be controlled by my XML routine so that after the gear comes up, the "floating" nose light . . . is GONE! Likewise, when the gear comes down, the nose light comes on if the Overhead panel Taxi light is switched on.This solution works on FSX Acceleration, I have not tested it on other FS versions. I have it working on the following:1. feelThere E-Jets V22. feelThere/Wilco Citation X3. Flight1 ATR 72-500I would love to hear if you have any comments on this.

  • Moderator

Very clever solution. You could also continue to use the taxi light for control via the same basic logic:if (gear up) and (taxi light on) then (TOGGLE_TAXI_LIGHTS[off])

Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator

My solution for the nose gear lights (Taxi lights) in fs9:

<Element><Position X="374" Y="58"/><Select><Value>(A:Sim On Ground, bool) ! (A:GEAR RIGHT POSITION,percent) 1 < (A:LIGHT TAXI,bool) and and if{ (>K:TOGGLE_TAXI_LIGHTS) }(A:LIGHT TAXI,bool)</Value><Case Value="0"><Image Name="nose gear lights off.bmp"/></Case><Case Value="1"><Image Name="nose gear lights on.bmp" /></Case></Select></Element>

Jan

 

 

 

"Beatus ille qui procul negotiis..."

  • Author

Bill - That is exactly the logic supplied by A2A. However, it does not work. The reason is the Taxi switch on the panel is pulsed about every second and if it's on then the Taxi light is toggled again . . . giving you the "floating" taxi light. That is what gave me the impetus to look for the proper solution.Logic is tricky, I have a love-hate relationship with it. :( Thanks, Garrett

Edited by growley803

  • Author

Jan - We have similar approaches to the solution. It looks like you built this aircraft, is that correct?Thanks, garrett

  • Author

Jan and Bill,By the way, the A2A guys approved posting my code. It's on their Shockwave forum.Thanks much,Garrett

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.