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 seasonal textures

Featured Replies

Hi, is it possible to make gmax textures seasonal (maybe a texture naming switch?), I have searched the forum but found little info on this subject.Thanks, David

  • Author
  • Commercial Member

If you look at the GMax tips section of my site (click on the banner to go there) you will find a section about seasonal textures. It is a bit of the old Fs98 style season textures, but right now I haven't got the BGLC switches to work correct.Arno


Member Netherlands 2000 Scenery Team[a href=http://home.wanadoo.nl/arno.gerretsen]http://home.wanadoo.nl/arno.gerretsen/banner.jpg[/a]

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

Arno to the rescue again, thanks that works fine. I wonder what the correct procedure would be to do this directly in gmax, looking at the graphics for default trees, all seasons seem to be arranged in the same file.One other question, changing the code, can "hard winter" also be used.Thanks again, David

  • Author
  • Commercial Member

I think the seasonal textures can not be done from within GMax. As far as I know the exporter (MakeMDL) simply doesn't support this feature.And about the hard winter textures, at this moment they are not supported. On the mesh scenery these appear when it is snowing and with the technique used now I don't think that can work (we can not check if it is snowing).Arno


Member Netherlands 2000 Scenery Team[a href=http://home.wanadoo.nl/arno.gerretsen]http://home.wanadoo.nl/arno.gerretsen/banner.jpg[/a]

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

The season flags defined in bgldefs.inc are intended for use with the old TEXTURE2 (LoadBitmap) command, not the new FP command set. gMax and the FP DirectX command set have no built-in provision for seasonality as far as I know. The only solution is to 'hand code' it along the lines suggested by Arno, although the use of the old 'seasons' variable in FS is pretty unsatisfactory. TEXTURE2/LoadBitmap failed to react to the hard winter flag for the same reason - even though an appropriate flag had been provided.Probably better to use the day number - then one can include a 'hard winter' season as well - this is how my Trees Library has always worked. Wouldn't it be nice if MS gave us a new global variable in FS2004 that reported the value from seasons.bgl at the object location - COME ON MS (he shouts, hoping to attract attention), it would be easy enough to do as an extra method for the object that does this for the ground texturing system.CheersGerrish

  • Author
  • Commercial Member

Hi Gerrish,Looking through the MASM include files I found some commands like TEXTURE_WINTER, TEXTURE_SPRING, etc. I assume these commands should work like the TEXTURE_BUILDING command for example. But the bad news is that I can't get these commands to work (yet).Also, I like the idea of using the day numbers. That gives you a better control about the texture/snow, this is especially helpfull in northern areas with a lot of snow or other regions that differ much from the "normal" 3 month period for a season.Arno


Member Netherlands 2000 Scenery Team[a href=http://home.wanadoo.nl/arno.gerretsen]http://home.wanadoo.nl/arno.gerretsen/banner.jpg[/a]

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

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.