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.

TIP: Using the "Time of Day" in a GMax Model

Featured Replies

  • Moderator

To save anyone a LOT of trouble, should they like to use the new, Time of Day variable in the makemdl.parts.xml file, here is some working code:..........day_time............................................(E:TIME OF DAY, enum)..............................1.............This adds the ability to display stuff only during the daytime, such as pilot's sunglasses, etc. :)

Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator

cool.. thanks for the tip ;)is there a weather condition ?

  • Author
  • Moderator

>cool.. thanks for the tip ;)>>is there a weather condition ?AMBIENT_PRECIP_RAINAMBIENT_PRECIP_SNOWAMBIENT_PRECIP_NONEThose are already "coded" for use with the "Rain Effect" in the VC.

Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator

how about the exterior model ? :)

  • Author
  • Moderator

>how about the exterior model ? :)You misunderstand, Lionel. The modeler can use the XML "keyword" anywhere in the model to achieve a desired effect. Simply because AMBIENT_PRECIP_RAIN is already used to trigger the "VC Rain effect" doesn't mean it couldn't be used for something else in the model, such as triggering automatic windshield wipers when it start raining.The makemdl.parts.xml code provides a way to "hard code" programming instructions (gauge commands) into the model itself, eliminating the need for coding a traditional gauge, and being forced to use "tricks" to achieve your goal.Carried to the extreme, it is entirely possible to build a 3d animated, analog gauge completely *inside* the compiled MDL file itself. Imagine, for example, clocks on a courthouse with 3d "hands" that move and display accurate time! :)

Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator

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.