Sign in to follow this  
Guest bluedevil6

Is custom light in low visibility possible??

Recommended Posts

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

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this