HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Textures animation with Magos' model editor

08-25-2006, 07:59 PM#1
Callahan
I've made a model with a textures animation in magos model editors.Here what i've exactly done:
1-create new textures animation
2-I look what global sequence to use on a the present global sequence fit good with my textures animation so i didn't create a new one.
3-I've modified the materials and use my new textures anim.
4-I save my model,then i reload it just in case.Then the material don't use the texture anim ID.So i try again and it change nothing.
5-So i edit the mdl and it solve the problem.The textures anim work in model editor.
6-I'm happy i import the model in a map and the textures anim does not work in game.

What's the problem?I did something wrong?

OK let's see the mdl
Quote:
Materials 3 {
Material {
Layer {
FilterMode Additive,
Unshaded,
TwoSided,
static TextureID 1,
}
Layer {
FilterMode Additive,
Unshaded,
TwoSided,
static TextureID 3,
TVertexAnimId 0,
}
}
Material {
Layer {
FilterMode Additive,
Unshaded,
TwoSided,
static TextureID 1,
}
Layer {
FilterMode Additive,
Unshaded,
TwoSided,
static TextureID 3,
TVertexAnimId 0,
}
}
Material {
Layer {
FilterMode Additive,
TwoSided,
static TextureID 1,
}
Layer {
FilterMode Additive,
Unshaded,
TwoSided,
static TextureID 3,
TVertexAnimId 0,
}
}
}
TextureAnims 1 {
TVertexAnim {
Translation 2 {
Linear,
GlobalSeqId 1,
0: { 1, 1, 1 },
1767: { -1, -1, -1 }
,

The texture anim look good in model editor but not in game and in war3viewer
I rep the guy who solve my problem
Maybe i have to make different textures anim for each material?
>I tried and it change nothing..
08-26-2006, 10:52 AM#2
Rao Dao Zao
All material layers must use the same texture animation.

You've got some layers there that do use the animation and some that don't; the game can't handle that.

The only way around it is multiple sets of texture coordinates, but since Magos' model editor can't handle that it's a little messy.
08-26-2006, 12:20 PM#3
Callahan
Ok thx for the info.Shame that it's impossible.
Quote:
You must spread some Reputation around before giving it to Rao Dao Zao again.
sry but i'll rep u later
08-26-2006, 04:01 PM#4
Rao Dao Zao
No worries.