FSXA ASM FS8 seasonal tweaks

#1
Having some real difficulty with this one.. for the life of me I don't understand the syntax of the ASM code to change the seasonal textures. I've read the wiki tutorial for the fs8 seasons but it doesn't describe how to change the variables (or I'm too dumb to understand :D )

Here's what I have right now:

Texture list.. this grass texture is the same during fall and spring, which is why fall texture is there twice
Code:
    TEXTURE_LIST_BEGIN
    TEXTURE_DEF TEXTURE_BUILDING    , <255,255,255,255>, 56.723946, "GRASS.DDS"	; 0
    TEXTURE_DEF TEXTURE_BUILDING    , <255,255,255,255>, 56.723946, "GRASS_WI.DDS"	; 1
    TEXTURE_DEF TEXTURE_BUILDING    , <255,255,255,255>, 56.723946, "GRASS_FA.DDS"	; 2
    TEXTURE_DEF TEXTURE_BUILDING    , <255,255,255,255>, 56.723946, "GRASS_FA.DDS"	; 3
    TEXTURE_LIST_END

The example code I took from the Wiki successfully works, and changes the seasons accordingly, however I need to tweak it to match the correct days
Code:
........
.....................
; NonAlpha
grassbase_NonAlpha label BGLCODE
IFIN1 tex_01, 0000006f8h, 0, 0
MATERIAL 0,1
JUMP tex_verder
tex_01 label word
IFIN1 tex_02, 0000006f8h, 1, 1
MATERIAL 0,2
JUMP tex_verder
tex_02 label word
IFIN1 tex_03, 0000006f8h, 2, 2
MATERIAL 0,0
JUMP tex_verder
tex_03 label word
MATERIAL 0,3
tex_verder label word
    DRAW_TRI_BEGIN 0, 1169
    DRAW_TRI   55,  83,  38 ; poly=473 part=1
........
I'm looking to change it to show Winter (December through February), Spring (March through May), Summer (June through August) and Fall (Sept through Nov)

Any tips?
I initially though the 2 numbers after "6f8h" were the days input, but after changing those the texture was stuck in fall.
 

arno

Administrator
Staff member
FSDevConf team
Resource contributor
#2
Top