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.

GMAX-HOW DO IMAKE A LIGHT CONE APPEAR ONLY AT NIGHT

Featured Replies

Hi and merry christmas to all of you friendsSorry but I am trying to put some night effets in my scenery. so I made a couple of cones with very light yellow color and applied transparency to it of 20 in the opacity menu.Then I made the little input in the asm file as it shows:*****BEFORE***** IFIN1 OBJECT_0_FAIL, image_complex, 2, 32767 ADDOBJ OBJECT_0_SCALE SHADOW_CALL OBJECT_0_SCALEOBJECT_0_FAIL label BGLCODE BGL_JUMP_32 OBJECT_0_END *****AFTER***** IFIN1 OBJECT_0_FAIL, image_complex, 2, 32767 ADDOBJ OBJECT_0_SCALEIFIN1 OBJECT_0_FAIL, tod, 3 SHADOW_CALL OBJECT_0_SCALEOBJECT_0_FAIL label BGLCODE BGL_JUMP_32 OBJECT_0_END **********************************************************************But it simply does not work!!I see the transparent cones any time of day or night!!!any help around, I am a bit lost??Thanks to all of youchristian, paris, france

Here is what I used to make headlight beams only show during non-day time hours; Alphad40lf_Alpha label BGLCODE IFIN1 nolight,tod,2,4 //<< line added here ; Node 3 - RotateAroundX transform: BGL_TRANSFORM_MAT 0.000000,0.000000,0.000000, 1.000000,0.000000,0.000000, 0.000000,0.000000,1.000000, 0.000000,-1.000000,0.000000 ; Node 104 - headlight01 transform: BGL_TRANSFORM_MAT -2.180234,12.192000,-1.171164, 1.000000,0.000000,0.000000, 0.000000,0.258819,-0.965926, 0.000000,0.965926,0.258819 BGL_LIGHT LIGHT_TAXI, 0.000, 0.000, 0.000, 10, 0.20, 0.01, 060606060h, 0.000000, 0.000000, 1.000000 ; source poly num = 2369 BGL_LIGHT LIGHT_TAXI, 0.000, 0.000, 0.000, 10, 0.20, 0.01, 060606060h, 0.000000, 0.000000, 1.000000 ; source poly num = 2370 BGL_TRANSFORM_END ; Transform headlight01 ; Node 106 - headlight02 transform: BGL_TRANSFORM_MAT 2.180234,12.192000,-1.171164, 1.000000,0.000000,0.000000, 0.000000,0.258819,-0.965926, 0.000000,0.965926,0.258819 BGL_LIGHT LIGHT_TAXI, 0.000, 0.000, 0.000, 10, 0.20, 0.01, 060606060h, 0.000000, 0.000000, 1.000000 ; source poly num = 2371 BGL_LIGHT LIGHT_TAXI, 0.000, 0.000, 0.000, 10, 0.20, 0.01, 060606060h, 0.000000, 0.000000, 1.000000 ; source poly num = 2372 BGL_TRANSFORM_END ; Transform headlight02 BGL_TRANSFORM_END ; Transform RotateAroundX nolight label BGLCODE //<< line added here BGL_END BGL_RETURNLou

thanks loui ll try thatchris

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.