Modcraft - The community dedicated to quality WoW modding!

Content creation => Modelling and Animation => Tutorials => Topic started by: phucko1 on September 30, 2013, 04:21:06 pm

Title: [TUTORIAL] Converting Animated Models.
Post by: phucko1 on September 30, 2013, 04:21:06 pm
Hello, I will explain the process of converting an animated model with the use of Milkshape (MDL Exporter), MDXTOM2 (Lazy), 010 Editor, MDLVIS, Pythonresizer and WC3ModelEditor+ a TBC WoW Model.

First step is ofcourse to download these tools. Which I now have taken my time to link for you lazy people that maybe can't bother to google.

MDL Exporter for Milkshape: http://www.wc3c.net/attachment.php?atta ... 1153288123 (http://www.wc3c.net/attachment.php?attachmentid=9477&d=1153288123" onclick="window.open(this.href);return false;)
MDLVIS English: http://filebeam.com/885ca24eb5bd0a7b103c80008be09c6f (http://filebeam.com/885ca24eb5bd0a7b103c80008be09c6f" onclick="window.open(this.href);return false;)
MDXTOM2Lazy: download/file.php?id=192 (http://modcraft.io/download/file.php?id=192" onclick="window.open(this.href);return false;)
010 editor: http://www.sweetscape.com/010editor/ (http://www.sweetscape.com/010editor/" onclick="window.open(this.href);return false;)
PythonResizer: download/file.php?id=233 (http://modcraft.io/download/file.php?id=233" onclick="window.open(this.href);return false;)
TBC Model: http://scorpionshare.com/download/1607/Ogre.rar (http://scorpionshare.com/download/1607/Ogre.rar" onclick="window.open(this.href);return false;)
WC3ModelEditor: http://www.hiveworkshop.com/forums/tool ... tor-62876/ (http://www.hiveworkshop.com/forums/tools-560/war3-model-editor-62876/" onclick="window.open(this.href);return false;)

Alright. Once you have these downloaded let us get started.

1. Export your model to Wavefront .OBJ from 3dsmax/Blender/Maya or other 3D Modelling tool you are using.
Import this model into Milkshape 3D and then export it using the MDL Exporter.

Like so:

(http://imageshack.us/a/img818/448/x2hf.png)

2. Now your model should be able to open in MDLVIS. If it is not, look at my tutorial for unanimated models for more information on converting OBJ > MDX/MDL. Open your model in MDLVIS, select all vertices and hit F2 to check if the UV-Map is alright.

Like so:
(http://imageshack.us/a/img163/2066/w12n.png)


3.  If everything looks okey, simply close this model down and then open the Ogre.m2 model. Save it down as Ogre.MDL.

4. Now open your model again, select all vertices and hit CTRL-C or Edit > Copy.

5. Open the Ogre.MDL and paste your model to this model and then click detach as new geoset.

(http://imageshack.us/a/img198/4266/qmt.JPG)

6. Now delete all the geosets of the ogre model so only you're part is left.

7. Go into Sequence Editor and then delete all the bones of the Ogre model aswell as all the animations.

8. Now make your own skeleton by hitting CTRL-B to make an armature/bone. Remember to attach vertices to bones.

9. You have to build your skeleton in a specific way otherwise it won't work. This picture explains it a little bit but it is not as complicated as the picture looks like.

(http://imagr.eu/up/508f02b888f898_imgload.png)

To explain this in an easier way it works like this: You have to start by making bone 0 = at the bottom. Then bone 1 in the center of your model and the parent of this bone will be bone0. If a parent of a bone has a higher boneid then the childbone it will crash. (For example if Bone10 is the parent of bone 7 it will crash.)

10. When you have your skeleton done you can start making your animations, the only thing I can give you a tip for about this is copy the first frame of the animation to the last frame, otherwise your animations will look weird in-game even if it looks good in MDLVIS.

Now open your model inside the WC3ModelEditor and delete all textures except the one that tells you "Are you sure you wanna delete this texture" same with Materials. Also delete the Camera.

11. Once you've done all these things you can finally use the MDXTOM2 converter, simply drop your model on it and it will give you a m2 and a skin file. Open the model in WoWModelViewer and you will see that all animations are now named "Stand". This will be bad in-game since the game won't know when to do your animations, since they're all listed as stand. To fix this:
Open your model in 010editor and go to the sAnimations section at the bottom and simply change their type of animation to Run, Walk whatever. But you must also change their id in the AnimationLookup_Table.

For example in AnimationLookup Table it will say 0 = 0 and 1 = -1 and -1 for everything else aswell.

0 = Stand animation.
1 = Walk Animation. So you must put the id of your walk animation at the line that says "1"  instead of -1.

12. Use the PythonResizer and your model should be resized to good size and now it should work in-game.
Title: Re: [TUTORIAL] Converting Animated Models.
Post by: phucko1 on September 30, 2013, 04:21:36 pm
Delete my old tutorial about this.
Title: Re: [TUTORIAL] Converting Animated Models.
Post by: PhilipTNG on October 02, 2013, 06:16:20 am
Love the drawing for the rigging. ^_^, I'm sure many will find this useful.  I'm not near ready to try any of this stuff out yet.. still need to do the basics of simple weapon/helm/shoulder mods first before I step up to this plate. ^_^

Thanks a ton for listing links for all the tools you used in your demonstration. ^^
Title: Re: [TUTORIAL] Converting Animated Models.
Post by: MR. Farrare on October 03, 2013, 12:21:15 pm
Quote from: "phucko1"
Delete my old tutorial about this.
the MDX to M2 crash
Title: Re: [TUTORIAL] Converting Animated Models.
Post by: phucko1 on October 03, 2013, 07:55:33 pm
Add me on skype "Governor Mod", Raeef.
Title: Re: [TUTORIAL] Converting Animated Models.
Post by: MR. Farrare on October 03, 2013, 09:43:03 pm
Quote from: "phucko1"
Add me on skype "Governor Mod", Raeef.

i dont use skipe often but if i use it i will add you but i use facebook and youtube alot so if you have an account plz tell me and i have a lot cool models from the legend vanel and the converter worked fine but still when i cant morph into it i will give you the models ok plz reply if you have a youtube channel or a facebook and sorry for my english im trying to get better in it like in modding ^^
Title: Re: [TUTORIAL] Converting Animated Models.
Post by: phucko1 on October 03, 2013, 10:49:43 pm
Did you follow all steps of this tutorial? Couse you have to. (Except for Step 1)

Also Vaanels models have like 180 bones. MDXTOM2 converter supports 60.

And no, I don't have a youtube and I don't feel comfortable giving out my personal facebook profile on Modcraft :P.
Title: Re: [TUTORIAL] Converting Animated Models.
Post by: MR. Farrare on October 03, 2013, 11:38:21 pm
Quote from: "phucko1"
Did you follow all steps of this tutorial? Couse you have to. (Except for Step 1)

Also Vaanels models have like 180 bones. MDXTOM2 converter supports 60.

And no, I don't have a youtube and I don't feel comfortable giving out my personal facebook profile on Modcraft :P.

ok pm me
Title: Re: [TUTORIAL] Converting Animated Models.
Post by: The_Tauren on June 08, 2014, 06:26:16 pm
This works with WoW alpha models, yes? The mdxtom2 lazy converter's link isn't working. I'll try google, but could you reupload it?
Title: Re: [TUTORIAL] Converting Animated Models.
Post by: Alastor on June 08, 2014, 07:01:57 pm
Quote from: "The_Tauren"
This works with WoW alpha models, yes? The mdxtom2 lazy converter's link isn't working. I'll try google, but could you reupload it?

here you have Lazy and Clasic MdxtoM2
Title: Re: [TUTORIAL] Converting Animated Models.
Post by: The_Tauren on June 08, 2014, 10:25:07 pm
Thanks!
Title: Re: [TUTORIAL] Converting Animated Models.
Post by: The_Tauren on June 09, 2014, 09:55:38 pm
Sigh, noob question, but how come I can't open my .mdx in blender? The first step speaks about exporting the model to wavefront .obj from a 3D modeling tool, but I can't even do that? o.0

Er. After some googling it seems I need to convert the file into a .3ds to make it work. I'll look around and see if I can get answers. I'd appreciate help though! Thanks!

EDIT* On second thought, I don't think this tutorial will help me with what Im' trying to do. I think the .mdx from WC3 and the .mdx from WoW Alpha are too different to be able to convert them both the same way.
Title: Re: [TUTORIAL] Converting Animated Models.
Post by: Alastor on June 09, 2014, 11:45:55 pm
(Blender) --> OBJ/3DS --> MDX --> MDL --> (MDLVIS) --> MDL --> MDX --> M2
Title: Re: [TUTORIAL] Converting Animated Models.
Post by: The_Tauren on June 10, 2014, 12:22:18 am
I have a .mdx though, not a .obj ?
Title: Re: [TUTORIAL] Converting Animated Models.
Post by: Kiun on July 15, 2014, 12:33:29 am
Thanks for the tutorial phucko1.

Do you know something about attachments?
I'm trying to add attachments to my custom model but I can't make weapon appear.
Title: Re: [TUTORIAL] Converting Animated Models.
Post by: phucko1 on July 15, 2014, 02:16:06 am
Can add with WC3ModelEditor I believe, or u could add on .m2 with attachmentadder
Title: Re: [TUTORIAL] Converting Animated Models.
Post by: Sprucey on March 09, 2015, 06:34:39 am
Had some trouble with Milkshape, and I need to do the lengthier Blender route, as well as load and save the model in War3ModelEditor before MDLVIS will open it.

This is great, though. The link to the Ogre.m2 is bust, so I hosted another:

TBC- Ogre.m2 (http://www.mediafire.com/download/jz93d59k2nl0l7w/Ogre.zip)

...and uploaded to Modcraft.
Title: Re: [TUTORIAL] Converting Animated Models.
Post by: ladiszlai on March 20, 2015, 07:11:21 pm
Can you please make a video about this?
Title: Re: [TUTORIAL] Converting Animated Models.
Post by: moonpaladin on March 08, 2019, 06:08:05 pm
This method could work with bow extracted from other game as an obj? to take the animations of a wow bow in the custom bow? Thanks.