Shop Forum More Submit  Join Login
When creating an animation in Blender, it is convenient to parent a prop such
as a gun or sword to the hand bone so the prop will automatically move as the pose of
the figure changes.  The Movies Game, however, does not do things that way.  The animation
of the armature and the animation of the carriable prop are separate blocks of data treated
independently and called Bone Animations and Static Animations respectively.  In order to
export your animation from Blender to The Movies game, you must convert your completed
animation to the same structure.

This can be done using a python script I found in the Blender2.4 manual and adapted for this purpose.

A detailed description of the method is available at lefty2000 (The Movies Game)

Click on the link and read the article "Converting a Bone Animation to a Prop Animation."

Acknowledgement:
Thanks to TheMoviesGame and Beowulf71 for their valuable contributions to this development.
Add a Comment:
 
:icondibujantetm:
DibujanteTM Featured By Owner Apr 17, 2018
Excelent job lefty.

I wanted to check if there's any way to create dwarfs or giants without the 'animation rescale scripts'. I linked the way you explain in this method a hand mesh parented to the hand_r bone. After all, it doesn't move in game.

I have a question about this:

-When importing additional copies of the .anm for a better lenght, won't the script crash after updating the .anm due to different frame lenght?
Reply
:iconlefty2016:
lefty2016 Featured By Owner Apr 17, 2018
The script will not crash.  The export script only outputs as many frames as the target file has.  The rest of the animation will be missing from the output.  When exporting, you need to find a target file that is long enough to hold the entire animation.
Reply
:iconanonim92:
Anonim92 Featured By Owner Apr 12, 2018
"For a longer animation, set append=1 in the ID property browser and import additional copies until you have enough frames"

You mean additional copies of animation files?
Reply
:iconlefty2016:
lefty2016 Featured By Owner Apr 12, 2018
yes
Reply
:iconanonim92:
Anonim92 Featured By Owner Apr 12, 2018
Lefty, this lesson is very useful. Good Job!
I don't understand well. If I just parent a cellphone (for example) to hand bone in Blender, it won't be working, is it? What will I get after exporting my animation with this cellphone?
Reply
:iconlefty2016:
lefty2016 Featured By Owner Apr 12, 2018
You would have to unparent the phone before exporting.  The article is about how to make the phone move with the hand.  You need to use an existing animation in which the character is holding a prop, for example a hammber.  You could replace the hammer with a cellphone, parent the cellhone to the hand, and then create the animation.  When finished, use the method describe to unparent the phone from the hand but copy over the animation so it will still look as if the character is holding the phone.  Then you can export it.
Reply
:iconanonim92:
Anonim92 Featured By Owner Apr 13, 2018
And I've noticed another thing. In the Blender 2.52 the script mocap tools is unavailable, it's available in newest releases. What are you thinking about writing the script for old release? Unfortunately, I don't know the Python well, but you are good at it as I can see. I could help you with anything but programming. There so many mocap animations what we can import in the Movies game. Lefty, we must make it! :)
Reply
:iconanonim92:
Anonim92 Featured By Owner Apr 13, 2018
Thank you so much for your python scripts and your good explanation. I'm totally working on creating self animations :) I will probably upload them in the group if that's all right. But there's one more thing I'm interested in. How about a prop that doesn't exist in an animation? I mean, how to add several props in an animation? Lefty, make video lesson about this, please :)
Reply
Add a Comment:
 
×

:iconlefty2016: More from lefty2016


More from DeviantArt



Details

Submitted on
April 12
Link
Thumb

Stats

Views
182 (1 today)
Favourites
2 (who?)
Comments
8
×