• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Seasonal coding

Messages
454
Country
england
Hi,

I have been trying to get seasonal textures (FS2002) working in a file with four texture groups, but only the first group is showing up.


Here is the textures list
Code:
    TEXTURE_LIST_BEGIN
    
    TEXTURE_DEF TEXTURE_GROUND      , <255,255,255,255>, 8.767653, "APRONSNOW.BMP"    ; 0
    TEXTURE_DEF TEXTURE_GROUND      , <255,255,255,255>, 8.767653, "APRONSNOW_WI.BMP" ; 1
    
    TEXTURE_DEF TEXTURE_GROUND      , <255,255,255,255>, 9.858448, "APRONSNOW2.BMP"    ; 2
    TEXTURE_DEF TEXTURE_GROUND      , <255,255,255,255>, 9.858448, "APRONSNOW2_WI.BMP" ; 3
    
    TEXTURE_DEF TEXTURE_GROUND      , <255,255,255,255>, 53.834673, "TAXISNOW.BMP"     ; 4
    TEXTURE_DEF TEXTURE_GROUND      , <255,255,255,255>, 53.834673, "TAXISNOW_WI.BMP"  ; 5   
    
    TEXTURE_DEF TEXTURE_GROUND      , <255,255,255,255>, 5.350718, "TAXISNOW3.BMP"	; 6
    TEXTURE_DEF TEXTURE_GROUND      , <255,255,255,255>, 5.350718, "TAXISNOW3_WI.BMP"   ; 7    
    
    TEXTURE_DEF TEXTURE_GROUND      , <255,255,255,255>, 5.495257, "TAXISNOW4.BMP"	; 8
    TEXTURE_DEF TEXTURE_GROUND      , <255,255,255,255>, 5.495257, "TAXISNOW4_WI.BMP"   ; 9    
    
    TEXTURE_LIST_END

and the seasonal coding
Code:
ApronSnow_NonAlpha label BGLCODE

; APRONSNOW.BMP
IFIN1 ApronSnow_01, 038Ah, 0, 107
MATERIAL 0,1 ;  winter
JUMP ApronSnow_continue
ApronSnow_01 label word
IFIN1 ApronSnow_02, 038Ah, 355, 365
MATERIAL 0,1 ;  winter
JUMP ApronSnow_continue
ApronSnow_02 label word
MATERIAL 0,0 ; summer
ApronSnow_continue label word

; APRONSNOW2.BMP
IFIN1 ApronSnow1_01, 038Ah, 0, 107
MATERIAL 0,3 ;  winter
JUMP ApronSnow1_continue
ApronSnow1_01 label word
IFIN1 ApronSnow1_02, 038Ah, 355, 365
MATERIAL 0,3 ;  winter
JUMP ApronSnow1_continue
ApronSnow1_02 label word
MATERIAL 2,0 ; summer
ApronSnow1_continue label word

; TAXISNOW.BMP
IFIN1 ApronSnow2_01, 038Ah, 0, 107
MATERIAL 0,5 ;  winter
JUMP ApronSnow2_continue
ApronSnow2_01 label word
IFIN1 ApronSnow2_02, 038Ah, 355, 365
MATERIAL 0,5 ;  winter
JUMP ApronSnow2_continue
ApronSnow2_02 label word
MATERIAL 4,0 ; summer
ApronSnow2_continue label word

; TAXISNOW3.BMP
IFIN1 ApronSnow3_01, 038Ah, 0, 107
MATERIAL 0,7 ;  winter
JUMP ApronSnow3_continue
ApronSnow3_01 label word
IFIN1 ApronSnow3_02, 038Ah, 355, 365
MATERIAL 0,7 ;  winter
JUMP ApronSnow3_continue
ApronSnow3_02 label word
MATERIAL 6,0 ; summer
ApronSnow3_continue label word

; TAXISNOW4.BMP
IFIN1 ApronSnow4_01, 038Ah, 0, 107
MATERIAL 0,9 ;  winter
JUMP ApronSnow4_continue
ApronSnow4_01 label word
IFIN1 ApronSnow4_02, 038Ah, 355, 365
MATERIAL 0,9 ;  winter
JUMP ApronSnow4_continue
ApronSnow4_02 label word
MATERIAL 8,0 ; summer
ApronSnow4_continue label word

I hope someone can spot my mistake.

David
 
Last edited:
Hi David,

It seems that you mixed up the material command for the other polygons. The first parameter is the material and the second is the texture. But for the other ground the texture parameter is set to 0 for all summer textures. So that means they don't use the correct texture.
 
Back
Top