load/save bone animation script

Moho allows users to write new tools and plugins. Discuss scripting ideas and problems here.

Moderators: Fahim, Distinct Sun, Víctor Paredes, erey, Belgarath, slowtiger

Post Reply
User avatar
rrahh
Posts: 39
Joined: Mon Jan 28, 2013 3:56 pm
Contact:

load/save bone animation script

Post by rrahh » Tue Jun 09, 2015 9:32 am

Hey there!

I use the hv load / save bone animation script a lot in my projects. I have tons of walk cycles that i reuse very often.
Since ASP11 the script loads the animation like it used to do. But it somehow lost the ability to save them.
The dialog box pops up just fine, but it seems to have lost connection to the finder.

Any ideas how to fix this?
User avatar
Víctor Paredes
Posts: 4883
Joined: Wed Jan 26, 2005 12:18 am
Location: Ireland/Chile
Contact:

Re: load/save bone animation script

Post by Víctor Paredes » Tue Jun 09, 2015 2:11 pm

I can't help with the script, but since version 10 you can simply copy and paste keyframes from one layer to another. If they share the same structure and bone naming, everything works nicely.
Víctor Paredes
Former Moho Product Manager
Rigger and animator in Cartoon Saloon
My Youtube Channel - My webinars
User avatar
rrahh
Posts: 39
Joined: Mon Jan 28, 2013 3:56 pm
Contact:

Re: load/save bone animation script

Post by rrahh » Tue Jun 09, 2015 2:48 pm

Cool! I didn´t know.

Thank you selgin.
tinnycan
Posts: 28
Joined: Mon Nov 13, 2006 5:46 pm

Re: load/save bone animation script

Post by tinnycan » Sat Aug 04, 2018 9:35 pm

I need a load/save bone animation script too. Is there anything out there that works for Moho 12?
User avatar
Greenlaw
Posts: 4467
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles
Contact:

Re: load/save bone animation script

Post by Greenlaw » Sun Aug 05, 2018 3:27 am

I don't think anything exists but, as Victor mentioned, it's pretty easy to just open the file with the motion you need and copy paste to the file where you need the motion. I think this is why the old script was never updated.

If the motion is something you will need to insert multiple times, I would put it in the character Regular Actions. If you do this in the master file, you'll have the motions ready when you import the character. (Unfortunately, I don't think the added Actions carry over to an already imported Reference rig. For already imported rigs, I believe you'll need to copy the keys from from tab to tab.)
D.R. Greenlaw
Artist/Partner - Little Green Dog | Little Green Dog Channel on Vimeo | Greenlaw's Demo Reel 2019 Edtion
Lead Digital Animator, Dreamworks Animation

Image
tinnycan
Posts: 28
Joined: Mon Nov 13, 2006 5:46 pm

Re: load/save bone animation script

Post by tinnycan » Sun Aug 05, 2018 12:38 pm

Oh well. Thanks for the reply!
Post Reply