This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: [QUESTION]  Copy Bones and Animations from Blizzard Model  (Read 5411 times)

frezer748

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 175
    • View Profile
[QUESTION]  Copy Bones and Animations from Blizzard Model
« 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)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Vel

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 340
    • View Profile
Re: [QUESTION]  Copy Bones and Animations from Blizzard Mode
« Reply #1 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
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
is no more

frezer748

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 175
    • View Profile
Re: [QUESTION]  Copy Bones and Animations from Blizzard Mode
« Reply #2 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.






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

http://i.minus.com/ibmkhRfFAYwnJN.jpg


- 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?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Vel

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 340
    • View Profile
Re: [QUESTION]  Copy Bones and Animations from Blizzard Mode
« Reply #3 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]
« Last Edit: October 29, 2012, 11:12:43 pm by Admin »
is no more

frezer748

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 175
    • View Profile
Re: [QUESTION]  Copy Bones and Animations from Blizzard Mode
« Reply #4 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
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Vel

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 340
    • View Profile
Re: [QUESTION]  Copy Bones and Animations from Blizzard Mode
« Reply #5 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 ...
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
is no more

frezer748

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 175
    • View Profile
Re: [QUESTION]  Copy Bones and Animations from Blizzard Mode
« Reply #6 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?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Vel

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 340
    • View Profile
Re: [QUESTION]  Copy Bones and Animations from Blizzard Mode
« Reply #7 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?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
is no more

frezer748

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 175
    • View Profile
Re: [QUESTION]  Copy Bones and Animations from Blizzard Mode
« Reply #8 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 :(
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Vel

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 340
    • View Profile
Re: [QUESTION]  Copy Bones and Animations from Blizzard Mode
« Reply #9 on: October 29, 2012, 11:27:54 pm »
just in case

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
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
is no more

frezer748

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 175
    • View Profile
Re: [QUESTION]  Copy Bones and Animations from Blizzard Mode
« Reply #10 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 . :)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Vel

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 340
    • View Profile
Re: [QUESTION]  Copy Bones and Animations from Blizzard Mode
« Reply #11 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.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
is no more

frezer748

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 175
    • View Profile
Re: [QUESTION]  Copy Bones and Animations from Blizzard Mode
« Reply #12 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.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Vel

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 340
    • View Profile
Re: [QUESTION]  Copy Bones and Animations from Blizzard Mode
« Reply #13 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...
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
is no more

frezer748

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 175
    • View Profile
Re: [QUESTION]  Copy Bones and Animations from Blizzard Mode
« Reply #14 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?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »