S
Spock-
Guest
Here is the code that I am trying to get to go to mdx..
When I open this in the file converter it says "Unknown Format"
And yes it is in fact saved as an mdl file!!
Secondly, I need to know how to add textures! (well, to add the only skin)
Code:
"'DeX Version: 0.185m
"
"'DeX Version: 0.185m"
// 'DeX Version: 0.185m
Version {
FormatVersion 800,
}
Model "spaceDryDock" {
NumGeosets 1,
NumBones 1,
BlendTime 150,
MinimumExtent { -96.9236, -24.2117, -117.407 },
MaximumExtent { 77.1829, 96.532, 7.64232 },
BoundsRadius 154.158,
}
Textures 1 {
Bitmap {
Image "C:\CYBERCUBE.INC\MODELZ\Star Trek\spaceDryDock\dryDockSkin.blp",
ReplaceableId 1,
}
}
Materials 1 {
Material {
Layer {
FilterMode None,
static TextureID 0,
}
}
}
Geoset { // "Box01"
Vertices 50 {
{ -45.0554, -24.2117, 0.0 },
{ 25.3167, -24.2117, 0.0 },
{ 25.3167, -24.2117, 0.0 },
{ -45.0554, 96.532, 0.0 },
{ -45.0554, 96.532, 0.0 },
{ 25.3167, 96.532, 0.0 },
{ 25.3167, 96.532, 0.0 },
{ -45.0554, -24.2117, -13.6605 },
{ 25.3167, -24.2117, -13.6605 },
{ -45.0554, 96.532, -13.6605 },
{ 25.3167, 96.532, -13.6605 },
{ -39.5529, -18.7092, 7.64232 },
{ 19.8143, -18.7092, 7.64232 },
{ -39.5529, 91.0295, 7.64232 },
{ 19.8143, 91.0295, 7.64232 },
{ -91.4455, -24.2117, -17.4273 },
{ 70.8574, -24.2117, -17.4273 },
{ -91.4455, 96.532, -17.4273 },
{ 70.8574, 96.532, -17.4273 },
{ -95.0554, -24.2117, -13.6605 },
{ -95.0554, 96.532, -13.6605 },
{ -95.2179, -16.2117, -24.4101 },
{ -95.2179, 88.532, -24.4101 },
{ 75.3167, -24.2117, -13.6605 },
{ 75.3167, 96.532, -13.6605 },
{ 75.4812, -16.1117, -24.5101 },
{ 75.4812, 88.432, -24.5101 },
{ 25.3167, -24.2117, -17.4273 },
{ -45.0554, -24.2117, -17.4273 },
{ 25.3167, 96.532, -17.4273 },
{ -45.0554, 96.532, -17.4273 },
{ 72.8881, -24.2117, -117.407 },
{ 72.8881, 96.532, -117.407 },
{ 77.1829, -16.1117, -108.293 },
{ 77.1829, 88.432, -108.293 },
{ 25.3167, -24.2117, -19.2948 },
{ -45.0554, -24.2117, -19.2948 },
{ 25.3167, 96.532, -19.2948 },
{ -45.0554, 96.532, -19.2948 },
{ -45.0554, 96.532, -19.2948 },
{ -93.4762, -24.2117, -117.407 },
{ -93.4762, 96.532, -117.407 },
{ -96.9236, -16.2117, -108.393 },
{ -96.9236, 88.532, -108.393 },
{ -6.4753, 7.58037, -27.5485 },
{ -13.2634, 7.58037, -27.5485 },
{ -6.4753, 64.74, -27.5485 },
{ -6.4753, 64.74, -27.5485 },
{ -13.2634, 64.74, -27.5485 },
{ -13.2634, 64.74, -27.5485 },
}
Normals 50 {
{ 0.0, -2.0, 0.0 },
{ 0.0, -1.0, 0.0 },
{ 0.0, -1.0, 0.0 },
{ 0.0, 1.0, 0.0 },
{ 0.0, 1.0, 0.0 },
{ 1.0, 0.0, 0.0 },
{ 1.0, 0.0, 0.0 },
{ 0.0, -1.0, 0.0 },
{ 0.0, -2.0, 0.0 },
{ 0.0, 2.0, 0.0 },
{ 2.0, 0.0, 0.0 },
{ 0.0, 0.0, 1.0 },
{ 0.0, 0.0, 1.0 },
{ 0.0, 0.0, 1.0 },
{ 0.0, 0.0, 1.0 },
{ 0.0, 0.0, -1.0 },
{ 0.0, 0.0, -1.0 },
{ 0.0, 0.0, -1.0 },
{ 0.0, 0.0, -1.0 },
{ -0.999886, 0.0, 0.0151114 },
{ -0.999886, 0.0, 0.0151114 },
{ -0.999886, 0.0, 0.0151114 },
{ -0.999886, 0.0, 0.0151114 },
{ 0.999885, 0.0, 0.0151592 },
{ 0.999885, 0.0, 0.0151592 },
{ 0.999885, 0.0, 0.0151592 },
{ 0.999885, 0.0, 0.0151592 },
{ 0.0, -1.0, 0.0 },
{ 0.0, -1.0, 0.0 },
{ 1.0, 0.0, 0.0 },
{ 0.0, 1.0, 0.0 },
{ 0.904592, 0.0, -0.426278 },
{ 0.904592, 0.0, -0.426278 },
{ 0.904592, 0.0, -0.426278 },
{ 0.904592, 0.0, -0.426278 },
{ 0.0, -1.0, 0.0 },
{ 0.0, -1.0, 0.0 },
{ 1.0, 0.0, 0.0 },
{ 0.0, 1.0, 0.0 },
{ 0.0, 1.0, 0.0 },
{ -0.934019, 0.0, -0.357224 },
{ -0.934019, 0.0, -0.357224 },
{ -0.934019, 0.0, -0.357224 },
{ -0.934019, 0.0, -0.357224 },
{ 0.0, 0.0, -1.0 },
{ 0.0, 0.0, -1.0 },
{ 0.0, 0.0, -1.0 },
{ 0.0, 0.0, -1.0 },
{ 0.0, 0.0, -1.0 },
{ 0.0, 0.0, -1.0 },
}
TVertices 50 {
{ 0.324475, 0.688406 },
{ 0.324475, 0.688406 },
{ 0.646539, 0.68599 },
{ 0.324475, 0.688406 },
{ 0.317229, 0.183575 },
{ 0.324475, 0.688406 },
{ 0.656201, 0.183575 },
{ 0.324475, 0.688406 },
{ 0.324475, 0.688406 },
{ 0.324475, 0.688406 },
{ 0.324475, 0.688406 },
{ 0.377818, 0.686313 },
{ 0.598027, 0.686313 },
{ 0.370572, 0.192914 },
{ 0.583534, 0.192914 },
{ 0.324475, 0.688406 },
{ 0.324475, 0.688406 },
{ 0.324475, 0.688406 },
{ 0.324475, 0.688406 },
{ 0.324475, 0.688406 },
{ 0.324475, 0.688406 },
{ 0.324475, 0.688406 },
{ 0.324475, 0.688406 },
{ 0.324475, 0.688406 },
{ 0.324475, 0.688406 },
{ 0.324475, 0.688406 },
{ 0.324475, 0.688406 },
{ 0.324475, 0.688406 },
{ 0.324475, 0.688406 },
{ 0.324475, 0.688406 },
{ 0.324475, 0.688406 },
{ 0.324475, 0.688406 },
{ 0.324475, 0.688406 },
{ 0.324475, 0.688406 },
{ 0.324475, 0.688406 },
{ 0.324475, 0.688406 },
{ 0.324475, 0.688406 },
{ 0.324475, 0.688406 },
{ 0.324475, 0.688406 },
{ 0.317229, 0.183575 },
{ 0.324475, 0.688406 },
{ 0.324475, 0.688406 },
{ 0.324475, 0.688406 },
{ 0.324475, 0.688406 },
{ 0.324475, 0.688406 },
{ 0.324475, 0.688406 },
{ 0.324475, 0.688406 },
{ 0.502586, 0.248809 },
{ 0.324475, 0.688406 },
{ 0.478091, 0.248809 },
}
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,
0,
0,
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 234 {
Triangles {
{ 13, 11, 14, 12, 14, 11, 16, 15, 18, 17, 18, 15, 1, 0, 8, 7, 8, 0, 5, 1, 10, 8, 10, 1, 3, 5, 9, 10, 9, 5, 0, 3, 7, 9, 7, 3, 4, 0, 11, 11, 13, 4, 6, 4, 13, 13, 14, 6, 2, 6, 14, 14, 12, 2, 0, 2, 12, 12, 11, 0, 8, 7, 15, 15, 16, 8, 24, 23, 25, 25, 26, 24, 9, 10, 18, 18, 17, 9, 19, 20, 22, 22, 21, 19, 41, 40, 42, 42, 43, 41, 7, 9, 20, 20, 19, 7, 15, 7, 19, 19, 21, 15, 9, 17, 22, 22, 20, 9, 31, 32, 34, 34, 33, 31, 10, 8, 23, 23, 24, 10, 8, 16, 25, 25, 23, 8, 18, 10, 24, 24, 26, 18, 44, 45, 46, 48, 46, 45, 16, 18, 32, 32, 31, 16, 26, 25, 33, 33, 34, 26, 18, 26, 34, 34, 32, 18, 25, 16, 31, 31, 33, 25, 27, 28, 36, 36, 35, 27, 29, 27, 35, 35, 37, 29, 30, 29, 37, 37, 38, 30, 28, 30, 38, 38, 36, 28, 17, 15, 40, 40, 41, 17, 21, 22, 43, 43, 42, 21, 15, 21, 42, 42, 40, 15, 22, 17, 41, 41, 43, 22, 35, 36, 45, 45, 44, 35, 37, 35, 44, 44, 46, 37, 38, 37, 46, 47, 49, 39, 36, 38, 48, 48, 45, 36 },
}
}
Groups 1 1 {
Matrices { 0 },
}
MinimumExtent { -96.9236, -24.2117, -117.407 },
MaximumExtent { 77.1829, 96.532, 7.64232 },
BoundsRadius 154.158,
MaterialID 0,
SelectionGroup 0,
}
Bone "default_bone01" {
ObjectId 0,
GeosetId 0,
GeosetAnimId None,
}
PivotPoints 1 {
{ 0.0, 0.0, 0.0 },
}
Export Successful!
When I open this in the file converter it says "Unknown Format"
And yes it is in fact saved as an mdl file!!
Secondly, I need to know how to add textures! (well, to add the only skin)


