Modcraft - The community dedicated to quality WoW modding!

Content creation => Modelling and Animation => Topic started by: frezer748 on October 29, 2012, 04:48:38 pm

Title: [QUESTION]  Copy Bones and Animations from Blizzard Model
Post by: frezer748 on October 29, 2012, 04:48:38 pm
Hello modcraft,


I want to ask you if it's possible to copy Bones and Animations from a blizzard model to a custom Model. For example copy the bones and Animations of a Bloodelf model from blizzard to a custom bloodelf model. When it's possible, how I do that exactly, is there any Tool I have to use for it? My first thought was to copy & past the Lines from the bones , from model to model via text editor (.mdl)
Title: Re: [QUESTION]  Copy Bones and Animations from Blizzard Mode
Post by: Vel on October 29, 2012, 08:06:01 pm
you can open M2 models from tbc in mdlvis with all anims and bones and then save it to mdxmdl
Title: Re: [QUESTION]  Copy Bones and Animations from Blizzard Mode
Post by: frezer748 on October 29, 2012, 09:35:03 pm
Quote from: "Vel"
you can open M2 models from tbc in mdlvis with all anims and bones and then save it to mdxmdl


Yeah so than I have the  "tbcmodel.mdx" but I want to copy the bones/animations of this model / blizzard model to a custom Model, so how I do that exactly, can I copy the positions of the bones and Animations from the blizzard model and past them into my custom model, so that my model have the same animations/bones like the blizzard one.

For example your wolf, have also Bllizzard Animations/bones the same I want to make with my custom model too.

http://www.youtube.com/watch?v=6YPNkubFmxY&feature=plcp (http://www.youtube.com/watch?v=6YPNkubFmxY&feature=plcp" onclick="window.open(this.href);return false;)




#2 : When I try to open a .m2 File in mdlvis he say me :

http://i.minus.com/ibmkhRfFAYwnJN.jpg (http://i.minus.com/ibmkhRfFAYwnJN.jpg" onclick="window.open(this.href);return false;)


- Ok mdlvis can open only .m2 tbc files,  where I find the tbc models exactly? Because I have only a  WOTLK Folder, so I have to make a seperate Folder with only tbc in it? and loat the models from the tbc folder than?
Title: Re: [QUESTION]  Copy Bones and Animations from Blizzard Mode
Post by: Vel on October 29, 2012, 11:06:52 pm
you need download the burning crusade

then open archive, for example Expansion.MPQ then extract to... then open in MDlvis,

fire revenant from wotlk:
(m2 to ms3d to mdl to notepad to mdx)(each anim)
[youtube:20gd20sf]http://www.youtube.com/watch?v=cRDL58WfXOo[/youtube:20gd20sf]
Title: Re: [QUESTION]  Copy Bones and Animations from Blizzard Mode
Post by: frezer748 on October 29, 2012, 11:12:25 pm
Quote from: "Vel"
you need download the burning crusade

then open archive, for example Expansion.MPQ then extract to... then open in MDlvis,

- Ok mdlvis can open only .m2 tbc files, where I find the tbc models exactly? Because I have only a WOTLK Folder, so I have to make a seperate Folder with only tbc in it? and loat the models from the tbc folder than?

fire revenant from wotlk:
[youtube:16ge8ja0]http://www.youtube.com/watch?v=cRDL58WfXOo[/youtube:16ge8ja0]


okay, I download it right now,  and how do I copy&paste the bones from blizzard models to custom models, I have to copy the Positions of the Bones on the blizzard model and past them into my custom model?



PS: How did you copy the animations of a wotlk model? O.O
Title: Re: [QUESTION]  Copy Bones and Animations from Blizzard Mode
Post by: Vel on October 29, 2012, 11:13:15 pm
copy+paste own model to blizzard skeleton
i think this is much easier than manually move skeleton to own model

ctrl + all (target all vertices) Copy model > open new model > Paste model to 3d scene = profit

With models having multiple geosets(meshes) much more complicated ...
Title: Re: [QUESTION]  Copy Bones and Animations from Blizzard Mode
Post by: frezer748 on October 29, 2012, 11:16:45 pm
Quote from: "Vel"
copy+paste own model to blizzard skeleton
i think this is much easier than manually move skeleton to own model



OK great, I will give it a try. Hope my model works with blizzard bones/animations, because on the custom animations the game crash, only the stand animation work, so I think it's the second animation which is buggy.




PS: How did you give the elemental wotlk animations?
Title: Re: [QUESTION]  Copy Bones and Animations from Blizzard Mode
Post by: Vel on October 29, 2012, 11:19:05 pm
Quote from: "frezer748"
Quote from: "Vel"
copy+paste own model to blizzard skeleton
i think this is much easier than manually move skeleton to own model



OK great, I will give it a try. Hope my model works with blizzard bones/animations, because on the custom animations the game crash, only the stand animation work, so I think it's the second animation which is buggy.




PS: How did you give the elemental wotlk animations?
Most likely it will not work  :)
bone from ID 0 = Root bone
But it not bound to a single vertex, and when convert (to mdx) goes into  the helper category
(almost all models of blizzard)

Do you remember what I told you on loading of bones in the wow skeleton?
Title: Re: [QUESTION]  Copy Bones and Animations from Blizzard Mode
Post by: frezer748 on October 29, 2012, 11:24:39 pm
Quote
Most likely it will not work  :)
bone from ID 0 = Root bone
But it not bound to a single vertex, and when convert (to mdx) goes into  the helper category
(almost all models of blizzard)

Do you remember what I told you on loading of bones in the wow skeleton?


Yeah I remember, but I don't really understand it :S I send you some time ago, some pictures what I done on the model, for example there was a picture where you can see what I entered into the mdxtom2 converter, and you said it should work, but it don't :( Can I send you maybe the Model, and you can take a look, if you find the problem why it don't work with two animations ingame? Well in modelviewer, I see the stand animation and the walk animation, but when I try to morph into it, the game crash :(
Title: Re: [QUESTION]  Copy Bones and Animations from Blizzard Mode
Post by: Vel on October 29, 2012, 11:27:54 pm
just in case
(http://imagr.eu/up/508f02b888f898_imgload.png)
The error can be caused by many reasons to be:
1) "boundbox" 9999999-9999999 (by default after convert to m2. Wtf?!)
2) incorrect flags of the animations (for example -2 or more ... or incorrect Loop flag such as 82 or -1 etc ... (correct only 32 33 35 37)

maybe incorrect attachment ID
or excess bones in the skeleton (over 65 animated bones)


if in wow model has a 65 or more bones in the skeleton, then blizz add additional skin. file (skin01 skin02 etc), due to the fact that on one. skin must have only 65 bones.

Tig converter creat only one skin file .... I think you understood me.

However, if the bone is the helper  attachment  light etc (in mdlvis) then the number of these bones is not limited .....only animated bones(or binds more then 1 vertices)

What happens if you exceed the limit?

Depends on how much ... I was able to make the model work with 68 animated bones.
If I was making 69, then
Quote from: "frezer748"
the game crash :(

my otherland wolf have only 31 animated bones!
all others this is  a helpers and attachments
Title: Re: [QUESTION]  Copy Bones and Animations from Blizzard Mode
Post by: frezer748 on October 29, 2012, 11:52:42 pm
Ok I will test it tomorrow than, Thank you very much for taking time to write this interesting and in detail wrote text. Hope it will work now . :)
Title: Re: [QUESTION]  Copy Bones and Animations from Blizzard Mode
Post by: Vel on October 29, 2012, 11:58:50 pm
At the moment, you know, only about 20% on what you owe. So that all of the problems ahead.
Title: Re: [QUESTION]  Copy Bones and Animations from Blizzard Mode
Post by: frezer748 on October 30, 2012, 12:02:25 am
Quote from: "Vel"
At the moment, you know, only about 20% on what you owe. So that all of the problems ahead.


But if the thing with the animation work, the creature is close finish, isn't it? Only some fine edits after this, are need, right? Like the portrait icon and so on.
Title: Re: [QUESTION]  Copy Bones and Animations from Blizzard Mode
Post by: Vel on October 30, 2012, 12:10:34 am
event objects
loop flags
anim flags
attachment IDs
bone lookups
bone lookup tables
light
particles
camera
--
and abount 100-300 bugs.

If you want to create Doodads, then you probably already have enough available knowledge.
but for itemscreatures - This is very small...
Title: Re: [QUESTION]  Copy Bones and Animations from Blizzard Mode
Post by: frezer748 on October 30, 2012, 12:13:14 am
Quote from: "Vel"
event objects
loop flags
anim flags
attachment IDs
bone lookups
bone lookup tables
light
particles
camera
--
and abount 100-300 bugs.

And all this things must be done? Those things are only for fine edit, aren't they?
Title: Re: [QUESTION]  Copy Bones and Animations from Blizzard Mode
Post by: frezer748 on October 30, 2012, 07:35:32 pm
Well, the game don't crash anymore, but the weird thing is the model still doing the stand animation, even I entered the correct id for walk... yeah the model have 2 Animations in mdlvis. In modelviewer he shows me the walk animation and the stand animation, for the correct Animation, the stand animation is show in "stand" and the walk animation is show me in "walk" .but ingame it's only the stand animation. What's the Problem?
Title: Re: [QUESTION]  Copy Bones and Animations from Blizzard Mode
Post by: Vel on October 31, 2012, 03:40:32 am
it is highly desirable
Title: Re: [QUESTION]  Copy Bones and Animations from Blizzard Mode
Post by: frezer748 on October 31, 2012, 02:53:19 pm
Quote from: "Vel"
it is highly desirable


This don't help me really with my Problem  :(


Quote
Well, the game don't crash anymore, but the weird thing is the model still doing the stand animation, even I entered the correct id for walk... yeah the model have 2 Animations in mdlvis. In modelviewer he shows me the walk animation and the stand animation, for the correct Animation, the stand animation is show in "stand" and the walk animation is show me in "walk" .but ingame it's only the stand animation. What's the Problem?
Title: Re: [QUESTION]  Copy Bones and Animations from Blizzard Mode
Post by: frezer748 on November 02, 2012, 06:22:06 pm
Model works now perfect!
Title: Re: [QUESTION]  Copy Bones and Animations from Blizzard Mode
Post by: Anonymous on November 09, 2012, 03:56:48 pm
Quote from: "frezer748"
Model works now perfect!
how did you fix it, please mate? I am having the same problem :(
Title: Re: [QUESTION]  Copy Bones and Animations from Blizzard Mode
Post by: Chris Danger on November 18, 2012, 02:02:31 pm
yes!!! I am having that probleeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeem

plsssss anybody help???????