HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Materials with Animated Textures

05-04-2008, 04:03 AM#1
JetFangInferno
Is there some error that I don't know about for Magos when using Animated Textures for Materials? I'm making a custom sfx with 15 textures and the material loops through all of them. I'm currently using a global sequence of duration 770 and i checked "linear." here's the texture id loop:

0: 0
55: 1
110: 2
165: 3
220: 4
275: 5
330: 6
385: 7
440: 8
495: 9
550: 10
605: 11
660: 12
715: 13
770: 14

For some reason, it chooses only a few of those 15 textures and plays those instead of all 15 in series. I want it to loop all 15 indefinitely but it doesn't work. Does anyone know the answer?
05-04-2008, 10:04 AM#2
Rao Dao Zao
Well, there's your problem right there -- linear.

You can't linearly swap textures; it's fundamentally impossible. To get a smooth fade, you'd need to set up numerous layers and fiddle with alphas. You'll be needing a "DontInterp" for this.
05-04-2008, 05:51 PM#3
JetFangInferno
Wait, my mistake. I'm not referring to animated textures. I'm referring to a metrial using multiple textures. How would I do that? General Frank recommended I do it with notepad but the only tutorial around teaches how to animate textures which isn't what I want. I need a material smoothly looping 15 textures.
05-04-2008, 06:47 PM#4
Rao Dao Zao
Yes, nor am I referring to animated textures. Your problem is that you cannot interpolate these things and you have to use "DontInterp" or you will DIE.
05-04-2008, 09:36 PM#5
JetFangInferno
How would I do that though? I tried changing linear to DontInterp through notepad but then i get a huge list of errors =(
05-05-2008, 09:31 AM#6
Rao Dao Zao
Straight from the Water Elemental:

Code:
			TextureID 8 {
				DontInterp,
				GlobalSeqId 0,
				0: 0,
				83: 1,
				166: 2,
				249: 3,
				332: 4,
				415: 5,
				498: 6,
				581: 7,
			}