• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Problems converting 3DS to .mdx

Status
Not open for further replies.
Level 9
Joined
Apr 19, 2011
Messages
447
Hi.

I finished (almost) a model in 3DS Max 9, and I want to test it in-game, to see how it looks. So, I used NeoDex exporter to convert it to .mdl.
Apparently, everything went fine, and I ended with a .mdl file. Next, I used this to convert the .mdl to .mdx. It's a Highly Recommended tool, so I assume it's good and works correctly.
However, I found that my model does not show at all in Magos Model Editor, WC3 Viewer, in-game, in the editor... just nothing.

Someone knows what am I doing wrong? If you need more information, just ask for it. Any help would be very appreciated.

Regards
 
1. Did you convert all the goesets into editable mesh before exporting?
2. Did you check if the model is uv mapped?
3. Did you check the file in notepad if there are correct codes and all of it included all the geosets you need to export and that the texture you used is properly attached/linked to the model correctly?

NOTE: If you have exported the model from 3ds max using any mdl exporting scripts (I usually use dexporter), it is wise to view it in MDLVis first. MDLVis can convert your model from mdx to mdl and vice versa by using the "save as" option of the software.
If you want to assign texture into your model, use war3 model editor.
 
Level 9
Joined
Apr 19, 2011
Messages
447
Thanks for helping, eubz!

1. It looks that all my geosets were editable polies, I converted them all to editable mesh.
2. I'm pretty sure I made the mapping.
3. I'm still a bit nooby, and I don't clearly understand this code... I don't know if it's correct, or if it needs to be fixed. This is what I see:
// 'NeoDeX Version: 0.78b
Version {
FormatVersion 800,
}
Model "Treant" {
BlendTime 150,
}
Sequences 7 {
Anim "Stand - 1" {
Interval { 0, 2333 },
}
Anim "Stand - 2" {
Interval { 2366, 6333 },
Rarity 2,
}
Anim "Stand - 3" {
Interval { 6366, 10666 },
Rarity 3,
}
Anim "Walk" {
Interval { 10700, 12166 },
MoveSpeed 400,
}
Anim "Attack" {
Interval { 12200, 13333 },
NonLooping,
}
Anim "Stand - Damage" {
Interval { 13366, 15000 },
NonLooping,
}
Anim "Death" {
Interval { 15033, 21666 },
NonLooping,
}
}
Textures 1 {
Bitmap {
Image "",
ReplaceableId 1,
}
}



After checking the mapping, and converting all the geosets to editable mesh, I exported again the model to .mdl format. When I tried to open it in MDLVis, the program got stuck in "Loading File", and nothing happened.
The models keeps being invisible everywhere.
:goblin_cry:

Note: If anyone wants to examine the model in more detail, say it and I'll send you the model by PM.

Regards
 
The code you posted doesn't contain any geosets. Select the model (all geosets needed for export) before exporting it.

Code:
Model "crate" {
	NumGeosets 1,
	NumBones 1,
	BlendTime 150,
	MinimumExtent { -40.0966, -44.4444, -44.9275 },
	MaximumExtent { 52.657, 4.43449e-007, 24.6377 },
	BoundsRadius 74.8434,
}
//This part is for textures
Textures 1 {
	Bitmap {
		Image "",
		ReplaceableId 1,
	}
}
//This part defines the material(s) used by the model
Materials 1 {
	Material {
		Layer {
			FilterMode None,
			static TextureID 0,
		}
	}
}
//The geosets start from this area........
Geoset  {
	Vertices 36 {
		{ -40.0966, 4.43449e-007, -44.9275 },
		{ -40.0966, 4.43449e-007, -44.9275 },
		{ -40.0966, 4.43449e-007, -44.9275 },
		{ -40.0966, 4.43449e-007, -44.9275 },
		{ -40.0966, 4.43449e-007, -44.9275 },
		{ 52.657, 4.43449e-007, -44.9275 },
		{ 52.657, 4.43449e-007, -44.9275 },
		{ 52.657, 4.43449e-007, -44.9275 },
		{ 52.657, 4.43449e-007, -44.9275 },
		{ -40.0966, 4.43449e-007, 24.6377 },
		{ -40.0966, 4.43449e-007, 24.6377 },
		{ -40.0966, 4.43449e-007, 24.6377 },
		{ -40.0966, 4.43449e-007, 24.6377 },
		{ 52.657, 4.43449e-007, 24.6377 },
		{ 52.657, 4.43449e-007, 24.6377 },
		{ 52.657, 4.43449e-007, 24.6377 },
		{ 52.657, 4.43449e-007, 24.6377 },
		{ 52.657, 4.43449e-007, 24.6377 },
		{ -40.0966, -44.4444, -44.9275 },
		{ -40.0966, -44.4444, -44.9275 },
		{ -40.0966, -44.4444, -44.9275 },
		{ -40.0966, -44.4444, -44.9275 },
		{ -40.0966, -44.4444, -44.9275 },
		{ 52.657, -44.4444, -44.9275 },
		{ 52.657, -44.4444, -44.9275 },
		{ 52.657, -44.4444, -44.9275 },
		{ 52.657, -44.4444, -44.9275 },
		{ -40.0966, -44.4444, 24.6377 },
		{ -40.0966, -44.4444, 24.6377 },
		{ -40.0966, -44.4444, 24.6377 },
		{ -40.0966, -44.4444, 24.6377 },
		{ 52.657, -44.4444, 24.6377 },
		{ 52.657, -44.4444, 24.6377 },
		{ 52.657, -44.4444, 24.6377 },
		{ 52.657, -44.4444, 24.6377 },
		{ 52.657, -44.4444, 24.6377 },
	}
	Normals 36 {
		{ 0.0, 2.0, 0.0 },
		{ 0.0, 2.0, 0.0 },
		{ 0.0, 2.0, 0.0 },
		{ 0.0, 2.0, 0.0 },
		{ 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 },
		{ 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, 2.0, 0.0 },
		{ 0.0, 2.0, 0.0 },
		{ 0.0, 2.0, 0.0 },
		{ 0.0, 2.0, 0.0 },
		{ 0.0, 2.0, 0.0 },
		{ 0.0, -2.0, 0.0 },
		{ 0.0, -2.0, 0.0 },
		{ 0.0, -2.0, 0.0 },
		{ 0.0, -2.0, 0.0 },
		{ 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 },
		{ 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, -2.0, 0.0 },
		{ 0.0, -2.0, 0.0 },
		{ 0.0, -2.0, 0.0 },
		{ 0.0, -2.0, 0.0 },
		{ 0.0, -2.0, 0.0 },
	}
	TVertices 36 {
		{ 0.95024, 0.959564 },
		{ 0.95024, 0.959564 },
		{ 0.0502389, 0.959564 },
		{ 0.0502389, 0.959564 },
		{ 0.95024, 0.959564 },
		{ 0.0502391, 0.959564 },
		{ 0.95024, 0.959564 },
		{ 0.0502389, 0.959564 },
		{ 0.0502389, 0.959564 },
		{ 0.954592, 0.496957 },
		{ 0.95024, 0.959564 },
		{ 0.0502389, 0.959564 },
		{ 0.0502389, 0.959564 },
		{ 0.0545911, 0.496958 },
		{ 0.0545911, 0.496958 },
		{ 0.95024, 0.959564 },
		{ 0.0502389, 0.959564 },
		{ 0.0502389, 0.959564 },
		{ 0.0502389, 0.959564 },
		{ 0.0502389, 0.959564 },
		{ 0.0545911, 0.496957 },
		{ 0.954592, 0.496957 },
		{ 0.954592, 0.496957 },
		{ 0.95024, 0.959564 },
		{ 0.954592, 0.496957 },
		{ 0.954592, 0.496957 },
		{ 0.0545911, 0.496957 },
		{ 0.0545913, 0.496957 },
		{ 0.954592, 0.496957 },
		{ 0.954592, 0.496957 },
		{ 0.0545911, 0.496957 },
		{ 0.954592, 0.496958 },
		{ 0.954592, 0.496958 },
		{ 0.954592, 0.496957 },
		{ 0.954592, 0.496957 },
		{ 0.0545911, 0.496957 },
	}
	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,
	}
	Faces 1 36 {
		Triangles {
			{ 0, 9, 13, 14, 5, 1, 18, 23, 31, 32, 27, 19, 2, 6, 24, 25, 20, 3, 7, 15, 33, 34, 26, 8, 16, 10, 28, 29, 35, 17, 11, 4, 21, 22, 30, 12 },
		}
	}
	Groups 1 1 {
		Matrices { 0 },
	}
	MinimumExtent { -40.0966, -44.4444, -44.9275 },
	MaximumExtent { 52.657, 4.43449e-007, 24.6377 },
	BoundsRadius 74.8434,
	MaterialID 0,
	SelectionGroup 0,
}
Bone "default_bone01" {
	ObjectId 0,
	GeosetId 0,
	GeosetAnimId None,
}
PivotPoints 1 {
	{ 0.0, 0.0, 0.0 },
}
 
Status
Not open for further replies.
Top