| 02-27-2004, 01:32 AM | #1 |
Anyone that knows MDL REAL well please look at this and help me out. When I select the unit and try to view the Attack 2 animation I see nothing but the header "Attack 2" Then if I move the view away from the unit so the unit isnt on the screen. It magically shows me the unit "B". Obviously there a minor issue with my mdl but it wont work in WC3 so...... Here is the entire mdl: Model "Characters" { NumGeosets 2, NumGeosetAnims 2, NumBones 2, BlendTime 150, MinimumExtent { -8, -8, 0 }, MaximumExtent { 8, 8, 0 }, } Sequences 2 { Anim "Attack 1" { Interval { 1000, 1333 }, MinimumExtent { -8, -8, 0 }, MaximumExtent { 8, 8, 0 }, BoundsRadius 20, } Anim "Attack 2" { Interval { 2000, 2333 }, MinimumExtent { -8, -8, 0 }, MaximumExtent { 8, 8, 0 }, BoundsRadius 20, } } Textures 1 { Bitmap { Image "Characters.blp", } } Materials 1 { Material { Layer { FilterMode Transparent, Unshaded, Unfogged, static TextureID 0, } } } Geoset { Vertices 4 { { -8, -8, 0 }, { 8, -8, 0 }, { -8, 8, 0 }, { 8, 8, 0 }, } Normals 4 { { 1, 0, 0 }, { 1, 0, 0 }, { 1, 0, 0 }, { 1, 0, 0 }, } TVertices 4 { { 0, 0 }, { 0, 0.125 }, { 0.125, 0 }, { 0.125, 0.125 }, } VertexGroup { 0, 0, 0, 0, } Faces 1 6 { Triangles { { 0, 1, 2, 3, 2, 1 }, } } Groups 1 1 { Matrices { 0 }, } MinimumExtent { -8, -8, 0 }, MaximumExtent { 8, 8, 0 }, BoundsRadius 20, Anim { MinimumExtent { -8, -8, 0 }, MaximumExtent { 8, 8, 0 }, BoundsRadius 20, } Anim { MinimumExtent { 3.40282e+038, 3.40282e+038, 3.40282e+038 }, MaximumExtent { -3.40282e+038, -3.40282e+038, -3.40282e+038 }, } MaterialID 0, SelectionGroup 0, } Geoset { Vertices 4 { { -8, -8, 0 }, { 8, -8, 0 }, { -8, 8, 0 }, { 8, 8, 0 }, } Normals 4 { { 1, 0, 0 }, { 1, 0, 0 }, { 1, 0, 0 }, { 1, 0, 0 }, } TVertices 4 { { 0.125, 0 }, { 0.125, 0.125 }, { 0.25, 0 }, { 0.25, 0.125 }, } VertexGroup { 0, 0, 0, 0, } Faces 1 6 { Triangles { { 0, 1, 2, 3, 2, 1 }, } } Groups 1 1 { Matrices { 0 }, } MinimumExtent { -8, -8, 0 }, MaximumExtent { 8, 8, 0 }, BoundsRadius 20, Anim { MinimumExtent { 3.40282e+038, 3.40282e+038, 3.40282e+038 }, MaximumExtent { -3.40282e+038, -3.40282e+038, -3.40282e+038 }, } Anim { MinimumExtent { -8, -8, 0 }, MaximumExtent { 8, 8, 0 }, BoundsRadius 20, } MaterialID 0, SelectionGroup 0, } GeosetAnim { Alpha 2 { DontInterp, 1000: 1, 2000: 0, } GeosetId 0, } GeosetAnim { Alpha 2 { DontInterp, 1000: 0, 2000: 1, } GeosetId 1, } Bone "Plane A" { GeosetId 0, GeosetAnimId 0, } Bone "Plane B" { GeosetId 1, GeosetAnimId 1, } PivotPoints 2 { { 0, 0, 0 }, { 0, 0, 0 }, } Please note i have added ObjectId 0 and 1 to the bones and yet it disappears when yogbuls converts it to mdx or when it converts back??? Any help would be greatly apprecaited. |
| 02-28-2004, 01:12 AM | #2 |
MWAHA-- Rep found it! Matrices on geoset 1 were wrong shold have been 1 instead of 0 for the object id. |
