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.

Strange phenomenon after variables...

Featured Replies

Hi guysI made a few triangles in Gmax and I give a "Light_nav" material name following the wellknown procedure and I export them.Then I compiled them through Fsregen in order to create an API... I placed the BGL in my scenery's folder and I opened FSSC...I placed my "Macro" and then I add this piece of code "IfVarRange( :ROT 28C 2 4 )" in order to have my object visible during "Dawn-Dusk-Night" but not "Day"...Although I had the wished result, a strange phenomenon appeared...Firstly, my object's view in FSSC is unusual enormous,although the scale is "0.5"... and the real strange thing is its appearance during day time not in the placed position but some 500 m NE and some 150 ft to the height...Is it something wrong in the code, or the probleme starts in Gmax?.. I remember when I was trying to export a single triangle with a "Light_#" material and I was always receiving an error...Any idea?..

  • Author

My understanding of the light_nav naming was that it creates a point light that is centered on one of the vertices of your triangle. I don't know which vertex is used (assume the first), so that's why I always use very tiny triangles for lights. It sounds as though your chief problem is scaling, since having a huge triangle and turning one of the vertices into a light could easily result in that light being far off the mark, position-wise. I'd check your units setup in Gmax again to make sure 1 unit= 1 meter and then double-check the size of the object to make sure it's suitably small. Hope that helps,

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.