| 11-16-2006, 07:07 PM | #1 |
I've encountered a unsolved problem with one of the models I've been working on. Everything seem to have gone smoothly Until i added the last part which is the animated textures. Now they are suppose to be a series of textures (The demonic runes). When I remove that last Material I can convert completely fine but I get loads of errors if I try to convert it with it attached. I tried using three "}" but I still get the same error. Any ideas what could cause it ? This is the mdl: Code:
}
Material {
Layer {
FilterMode Transparent,
TwoSided,
static TextureID 1,
}
}
Material {
Layer {
FilterMode None,
static TextureID 0,
}
}
Material {
Layer {
FilterMode Additive,
TwoSided,
static TextureID 2,
TVertexAnimId 0,
}
}
Material {
Layer {
FilterMode AddAlpha,
Unshaded,
TwoSided,
Unfogged,
TextureID 6 {
Linear,
GlobalSeqId 0,
3333: 8,
3500: 9,
3600: 10,
3800: 11,
4000: 12,
4200: 13,
}
}
}
}
TextureAnims 2 {
TVertexAnim {
Translation 2 {
Bezier,
GlobalSeqId 0,
0: { 0.0997751, 1.72412, -0.0260519 },
InTan { 0, 0, 0 },
OutTan { 0.0665167, 1.14942, -0.0173681 },
3333: { 0, 0, 0 },
InTan { 0.0332584, 0.574708, -0.00868383 },
OutTan { 0, 0, 0 },
}
} |
| 11-16-2006, 10:41 PM | #2 |
Change Linear to DontInterp. Also make sure you have the globalsequence defined. |
| 11-16-2006, 10:47 PM | #3 |
I know nothing about the actual code in there, but as far as syntax... you seem to be missing a } bracket at the very end and your first bracket needs to be {. Unless you didn't copy all your brackets, and they are in fact there or that's how it's supposed to be. |
| 11-16-2006, 11:22 PM | #4 |
I suggest you take a look at the Water Elemental or at the Naga Birth anim. Also, change that linear to DontInterp. |
| 11-17-2006, 01:59 AM | #5 |
Thanks alot. It works now! |
