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.

night light dataref

Featured Replies

Hello all,

 

Does anyone happen to know which dataref(s) control the activation of the night lights in X-Plane 10? I do not like how all night lights (in the roads, buildings, highways, etc.) pop into existence at the same time during dusk and the opposite at dawn. So currently I am trying to write a LUA script that will try to control that (two possible algorithms: maybe some randomization may be implemented, but the most likely would be to fade in / fade out the lights according to the sun position).

 

So if anyone knows some dataref(s) that may be useful for me, I'd be very glad to hear it!

 

Thanks a lot. Regards,

Gilberto

thats pretty awesome that you created that. can you show off a video of before and after

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.