- Messages
- 49
Okay folks, a bit weird task here, trying to do this for several hours, maybe somebody could give me a clue about what am i doing wrong and if it is even possible to do this.
Okay, here it goes. Let's say we have an object with the texture tex1.bmp (to make it simple here) applied.
I need to make a frequency tweak so that if a certain requency is tuned, a night texture tex1_lm.bmp is used not depending on the time of the day, otherwise a day tex1.bmp is used, also not depending on the time of the day. If i state the night texture as TEXTURE2_NIGHT, it's being used as a night texture at night not depending on the frequency. I tried changing it to TEXTURE_BUILDING, I can't get it to work with the frequency anyway.
Here's a portion of my asm file (material 0,1 is the night textures, 0,0 is the the day texture):
Once again, my task is to make the night texture being applied if the frequency is tuned no matter what the time of the day is.
Hope for some clarification here.. Thanks!
Okay, here it goes. Let's say we have an object with the texture tex1.bmp (to make it simple here) applied.
I need to make a frequency tweak so that if a certain requency is tuned, a night texture tex1_lm.bmp is used not depending on the time of the day, otherwise a day tex1.bmp is used, also not depending on the time of the day. If i state the night texture as TEXTURE2_NIGHT, it's being used as a night texture at night not depending on the frequency. I tried changing it to TEXTURE_BUILDING, I can't get it to work with the frequency anyway.
Here's a portion of my asm file (material 0,1 is the night textures, 0,0 is the the day texture):
Once again, my task is to make the night texture being applied if the frequency is tuned no matter what the time of the day is.
Code:
..................
IFIN1 notex1, 07C2h, 1175h, 1175h
MATERIAL 0,1
notex1 label word
MATERIAL 0,0
DRAW_TRI_BEGIN 0, 37
..................
Hope for some clarification here.. Thanks!