Warcraft 3 mdx -> j3o tutorial

Some month ago I asked if someone would be interested in a tutorial how to convert mdx models to j3o. There was no really demand but now I wrote this tutorial for a friend and I want to share it. I think this is especially interesting for people who are familiar with Warcarft 3 modding.



http://www.hiveworkshop.com/forums/resource_images/11/models_10843_screenshot.jpg



Tools you need to convert the models:

BLP Laboratory http://www.wc3c.net/showthread.php?t=107500

Wc3ModelEditor http://www.hiveworkshop.com/forums/tools-560/war3-model-editor-62876/



3dsMax (new Version, I use 2011 32-bit)

OgreMax http://www.ogremax.com/downloads

Modified MDX Importer/Exporter attached



JMonkey SDK (oh rly ;))



Download pdf:

http://www.file-upload.net/download-4235153/Tutorial-Convert-mdx-to-j3o.rar.html

5 Likes

um this is cool and every thing but…um…why?..unless it is your own modding assets or somebody else’s “freely” available modding assets…I mean we wont really mod for WC3 in jme3 right



…just curious since even releasing something for free with commercial assets could land u in hot water

I modded for wc3 for over 5 years and therefore I know many free available models and when I asked the creators if I they allow me to use them for a non commercial java game they all agreed. For me making an RTS game the models are awesome.

Of course I would not recommend you to use models which contain data of Warcraft 3.

ok cool just had to ask, wasn’t really aware that W3 had a large modding community and resources

Warcraft 3 (as opposed to WoW) had/has a massive number of mods for it. Some spawned new game types that are starting to appear as full games now (Defence of the Ancients being the prime one that springs to mind).

@shirkit said:
Ok,

Everything is working over here, except the animations. They just don't work, they are loaded incorrectly, the bones seems to be on the right places, but the meshes are distorting. Maybe it's because I'm using 3DS Max 2013, I'll try another version.

If I recall correctly the official MDX exporter only works with 3DS Max 4 (a really old version). I guess you're using a community made one? You can try exporting the model to OgreXML and MDX and see what the differences are in the animation data.

Well, I’m actually going to use this. There are tons of MDX models avaliable. But @ogerlord , could you upload that file again? To mediafire or something, dropbox. I can’t download your file, that german site, it just redirects me to the main page when I try to click download. And I can’t see your attachment :confused: This is really going to help me!

Cool stuff! @Momoko_Fan and myself got to know one another through Wc3 modding, so there’s that little byte of jME history for ya :smiley:



Would absolutely love to see some Warcraft 3 style scenes, rendered in jMonkeyEngine 3. Do let us know if you come by some good shots.

Ok,



Everything is working over here, except the animations. They just don’t work, they are loaded incorrectly, the bones seems to be on the right places, but the meshes are distorting. Maybe it’s because I’m using 3DS Max 2013, I’ll try another version.

No, I mean the animations are weird after importing the MDX model. I downloaded the MDX, re-saved it to guarantee the version is correct, opened 3DS Max and imported the MDX. Moving the timeline’s slider shows the animations completly weird.



http://img16.imageshack.us/img16/1994/weirdne.png