| 10-06-2004, 02:05 AM | #1 |
ok i simply want to create a model that is a flat 28x28 sqaure. I Use Gmax and here is my step by step 1.) New a new file 2.) Create Box with keyboard inputs of x-0 y-0 z-0 length 28 width 28 height 1 3.) load my skin onto it 4.) convert to an editable mesh 5.) Set fps to 960, and create 2 keys 6.) use Dex's exporter and make 2 animations one called "Walk 1" and "Death" they are both set to frames 1-2 since they have no animation 7.) i copy the text into notepad and save as an .mdl 8.) I use Yogul's mdl --> mdx converter 9.) it imports fine, but when i put the model on a peasent i get a ".mdl failed to laod" 10.) HEEELEP me.... if you wanna wlak me through it... AIM: Drfugly ICQ: 318857003 Msn: [email protected] |
| 10-06-2004, 02:52 AM | #2 |
Post your MDL/X for people to look for problems in. 'Could not load' doesn't mean much more than 'Something is wrong.' Are you importing the texture correctly? |
| 10-06-2004, 11:32 PM | #3 |
ok there are no bones in my model and here is the code Code:
Version {
FormatVersion 800,
}
Model "Sword" {
NumGeosets 1,
NumBones 1,
BlendTime 150,
MinimumExtent { -32.0, -64.0, 0.0 },
MaximumExtent { 32.0, 64.0, 1.0 },
BoundsRadius 71.5612,
}
Sequences 2 {
Anim "Stand 1" {
Interval { 1, 2 },
MinimumExtent { -32.0, -64.0, 0.0 },
MaximumExtent { 32.0, 64.0, 1.0 },
BoundsRadius 71.5612,
}
Anim "Death" {
Interval { 1, 2 },
MinimumExtent { -32.0, -64.0, 0.0 },
MaximumExtent { 32.0, 64.0, 1.0 },
BoundsRadius 71.5612,
}
}
Textures 1 {
Bitmap {
Image "Sword.blp",
ReplaceableId 1,
}
}
Materials 1 {
Material {
Layer {
FilterMode None,
static TextureID 0,
}
}
}
Geoset { // "Box01"
Vertices 24 {
{ -32.0, -64.0, 0.0 },
{ -32.0, -64.0, 0.0 },
{ -32.0, -64.0, 0.0 },
{ 32.0, -64.0, 0.0 },
{ 32.0, -64.0, 0.0 },
{ 32.0, -64.0, 0.0 },
{ -32.0, 64.0, 0.0 },
{ -32.0, 64.0, 0.0 },
{ -32.0, 64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{ 0.0, 0.0 },
{ 1.0, 0.0 },
{ 0.0, 0.0 },
{ 1.0, 0.0 },
{ 1.0, 0.0 },
{ 0.0, 0.0 },
}
VertexGroup {
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
}
Faces 1 36 {
Triangles {
{ 0, 6, 9, 9, 3, 0, 12, 15, 21, 21, 18, 12, 1, 4, 16, 16, 13, 1, 5, 10, 22, 22, 17, 5, 11, 7, 19, 19, 23, 11, 8, 2, 14, 14, 20, 8 },
}
}
Groups 1 1 {
Matrices { 0 },
}
MinimumExtent { -32.0, -64.0, 0.0 },
MaximumExtent { 32.0, 64.0, 1.0 },
BoundsRadius 71.5612,
Anim {
MinimumExtent { -32.0, -64.0, 0.0 },
MaximumExtent { 32.0, 64.0, 1.0 },
BoundsRadius 71.5612,
}
Anim {
MinimumExtent { -32.0, -64.0, 0.0 },
MaximumExtent { 32.0, 64.0, 1.0 },
BoundsRadius 71.5612,
}
MaterialID 0,
SelectionGroup 0,
}
Bone "default_bone01" {
ObjectId 0,
GeosetId 0,
GeosetAnimId None,
}
PivotPoints 1 {
{ 0.0, 0.0, 0.0 },
} |
| 10-06-2004, 11:49 PM | #4 |
Your 'Interval' lines might be the problem, since you had them overlapping. Try changing that section to this. Code:
Sequences 2 {
Anim "Stand 1" {
Interval { [u]1000, 2000[/u] },
MinimumExtent { -32.0, -64.0, 0.0 },
MaximumExtent { 32.0, 64.0, 1.0 },
BoundsRadius 71.5612,
}
Anim "Death" {
Interval { [u]3000, 4000[/u] },
MinimumExtent { -32.0, -64.0, 0.0 },
MaximumExtent { 32.0, 64.0, 1.0 },
BoundsRadius 71.5612,
}
}Other than that, it looks fine. Make sure you have your texture imported with the right path. |
