| 10-15-2007, 10:12 AM | #1 |
I want to implement this Tree Fading System into my map. To do that i have to convert custom tree models (rather some of Wacraft). But I've got a little problem with the modification of other tree modells. I converted a AshenTreeIce0.mdx to a .mdl. Than i added a "stand alternate" animation, which looks like this: Code:
Sequences 5 {
Anim "stand" {
Interval { 167, 1167 },
NonLooping,
MinimumExtent { -100.068, -146.873, 0.56993 },
MaximumExtent { 154.605, 138.25, 326.333 },
BoundsRadius 172.299,
}
Anim "stand alternate" {
Interval { 1170, 1270 },
NonLooping,
MinimumExtent { -100.068, -146.873, 0.56993 },
MaximumExtent { 154.605, 138.25, 326.333 },
BoundsRadius 172.299,
}Code:
Materials 1 {
Material {
Layer {
FilterMode Transparent,
Alpha 5 {
DontInterp,
167: 1,
1170: 0,
1300: 1,
1833: 1,
6667: 1,
}
static TextureID 0,
TwoSided,
}
Layer {
FilterMode Blend,
static Alpha 0.25,
static TextureID 0,
TwoSided,
}
}
}Ofc, i have posted this problem in the thread, but i didn't got an answer :( |
| 10-16-2007, 01:09 PM | #2 |
Could you post the modified tree model? |
| 10-16-2007, 11:23 PM | #3 |
Sure, if it will help ^^ |
| 10-17-2007, 12:44 PM | #4 |
I don't have anything to test this with, but try changing the second GeosetAnim (scroll down to find it) to this: Code:
GeosetAnim {
GeosetId 1,
Alpha 8 {
DontInterp,
167: 0,
1170: 0,
1300: 0,
1833: 0,
2000: 1,
6667: 1,
9623: 0,
10667: 0,
11000: 1,
}
} |
| 10-18-2007, 05:34 PM | #5 |
Woah, thank you very much Code:
GeosetAnim {
GeosetId 1,
Alpha 9 {
DontInterp,
167: 0,
1170: 0,
1300: 0,
1833: 0,
2000: 1,
6667: 1,
9623: 0,
10667: 0,
11000: 1,
}
} |
| 10-18-2007, 07:54 PM | #6 |
Those numbers are actually ignored, but conceptually you are right. |
| 10-18-2007, 08:00 PM | #7 |
Magos' Model Editor demands them. For some reason. |
| 10-18-2007, 09:08 PM | #8 |
Yeah, Mago's Editor only accepts the 9, with 8 the file cant be readed... |
