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.

Is custom light in low visibility possible??

Featured Replies

Hi, all I'm making custom approach light for my Inchoen Intl Airport(RKSI) scenery. I made lights using gmax LIGHT_NAV material. And I made them show only at dusk and night by BGLC code tweaking. It's great! But my custom lights don't work in fog. :(; Default approach light is visible during day time in case of low visibility. So How can I make my lights visible in fog? I searched the BGLC variable relative to visibility but it's vain. Or is there another way?And this is another question...I want directional lights (visible only one side). I found some useful BGLC code in this forum like below.#9616, "RE: gMax Approach lights, help!" by jvarjeI add a NAV light in gmax and then edit the BGL source so that the poles are only visible from one side, like this:IFMSK wrong_direction, 386h, 8000hBGL_LIGHT LIGHT_NAV, etc...wrong_direction label wordThat checks if the relative z-coordinate, or north-to-south-coordinate, is negative. This works also when the object is rotated, because the relative z-coordinate is also rotated. At the same time I can add other IF-clauses for additional functionality.I find out 386h is variable of Aircraft Y(north) coordinate from RefPoint. But I don't know what 8000h means. It's just Y coordinate in hex format? Then sShould I convert coordinate to hex in this code?Thank you for reading long question...you can download RKSi scenery and preview(http://www.cookieshop.co.kr/flyfreesky/zboard/zboard.php?id=hompage_freeboard&page=1&sn1=&divpage=1&sn=off&ss=on&sc=on&select_arrange=headnum&desc=asc&no=28&PHPSESSID=78229443fc7ca6ce96c284385e5cee65) next version in my homepage. :-)Yunjin Leehttp://flyfreesky.com

  • Commercial Member

Hi Yunjin,No, unfortunately there is no variable for the visibility. You could link the lights to the tower frequency. In that case they will be on when you make an approach (in reality they are also always on when the runway is active).Humm, yes it seems the value of 8000h is just a big value in hexadecimal format. Actually it is 32768 in decimal format, which is the maximum value the coordinates could take in the previous BGL formats.

Arno

If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done.

FSDeveloper.com | Former Microsoft FS MVP | Blog

Hi, Arno. Thank you for your reply and happy new year~!! :-)

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.