- Messages
- 66
- Country

Howdy experts!
I've hit a snag. I have a textured ground poly in gmax. I want both seasonal and night textures. I'm just trying to get the day/night winter texture to show up for now, and I'm using the day of year variable to set winter to days 0-65.
The original asm texture list code was this:
Following along with Arno's seasonal textures tutorial post, I've added in my winter day and night textures:
The problem starts here - having a night map, the original texture assignment reads as follows, with the light map entered as the second parameter of the texture list:
Here's what I've edited to, but only the summer day/night textures are showing, winter changes to a plain white surface, indicating that the IF is working, just not the texture definition:
Can someone tell where I've gone wrong? Thanks in advance for your time!
Best,
sg
I've hit a snag. I have a textured ground poly in gmax. I want both seasonal and night textures. I'm just trying to get the day/night winter texture to show up for now, and I'm using the day of year variable to set winter to days 0-65.
The original asm texture list code was this:
Code:
texture_riff_start_BunkerHillMemorialTurf label word
db 'T','E','X','T'
dd texture_riff_end_BunkerHillMemorialTurf - $ - 4
TEXTURE_LIST_BEGIN
TEXTURE_DEF TEXTURE_BUILDING , <255,255,255,255>, 97.002412, "BHMGROUND.BMP" ; 0
TEXTURE_DEF TEXTURE2_NIGHT , <255,255,255,255>, 97.002412, "BHMGROUND_LM.BMP" ; 1
TEXTURE_LIST_END
BGL_RETURN
texture_riff_end_BunkerHillMemorialTurf label word
Following along with Arno's seasonal textures tutorial post, I've added in my winter day and night textures:
Code:
texture_riff_start_BunkerHillMemorialTurf label word
db 'T','E','X','T'
dd texture_riff_end_BunkerHillMemorialTurf - $ - 4
TEXTURE_LIST_BEGIN
TEXTURE_DEF TEXTURE_BUILDING , <255,255,255,255>, 97.002412, "BHMGROUND.BMP" ; 0
TEXTURE_DEF TEXTURE2_NIGHT , <255,255,255,255>, 97.002412, "BHMGROUND_LM.BMP" ; 1
TEXTURE_DEF TEXTURE_BUILDING , <255,255,255,255>, 97.002412, "BHMGROUND_WI.BMP" ; 2
TEXTURE_DEF TEXTURE2_NIGHT , <255,255,255,255>, 97.002412, "BHMGROUND_WI_LM.BMP" ; 3
TEXTURE_LIST_END
BGL_RETURN
texture_riff_end_BunkerHillMemorialTurf label word
The problem starts here - having a night map, the original texture assignment reads as follows, with the light map entered as the second parameter of the texture list:
Code:
MATERIAL 0,0 ; <255,255,255,255> BHMGROUND.BMP;BHMGROUND_LM.BMP;;
Here's what I've edited to, but only the summer day/night textures are showing, winter changes to a plain white surface, indicating that the IF is working, just not the texture definition:
Code:
IFIN1 tex_01, 038Ah, 0, 65
MATERIAL 2,0 ; <255,255,255,255> BHMGROUND_WI.BMP;BHMGROUND_WI_LM.BMP;;
JUMP tex_continue
tex_01 label word
MATERIAL 0,0 ; <255,255,255,255> BHMGROUND.BMP;BHMGROUND_LM.BMP;;
tex_continue label word
Can someone tell where I've gone wrong? Thanks in advance for your time!
Best,
sg
