- Messages
- 374
- Country
-
Hello,
I would apply a winter texture on my model and another one for the rest of seasons. This is my tweaked code:
and
It's succesfully compiled but the texture switch does not occur. I did something wrong?
I would apply a winter texture on my model and another one for the rest of seasons. This is my tweaked code:
Code:
TEXTURE_LIST_BEGIN
TEXTURE_DEF TEXTURE_AIRCRAFT , <255,255,255,255>, 19.423256, "RUNWAY_D.BMP" ; 0
TEXTURE_DEF TEXTURE_AIRCRAFT , <255,255,255,255>, 4.740478, "RUNWAY_EDGE.BMP" ; 1
TEXTURE_DEF TEXTURE_AIRCRAFT , <255,255,255,255>, 4.740478, "RUNWAY_EDGEW.BMP" ; 2
TEXTURE_LIST_END
Code:
;WINTER
IFIN1 tex_01, 038Ah, 1, 76
MATERIAL 0,0 ; <255,255,255,255> RUNWAY_D.BMP;;;
MATERIAL 0,2 ; <255,255,255,255> RUNWAY_EDGEW.BMP;;;
JUMP tex_continue
;ALL OTHER SEASON
tex_01 label word
MATERIAL 0,0 ; <255,255,255,255> RUNWAY_D.BMP;;;
MATERIAL 0,1 ; <255,255,255,255> RUNWAY_EDGE.BMP;;;
tex_continue label word
BGL_END
It's succesfully compiled but the texture switch does not occur. I did something wrong?