Offset cycle (UPDATE: Now supports bone locking)

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

tatrik
Posts: 28
Joined: Tue Aug 11, 2009 6:38 pm
Location: turkey

Post by tatrik » Thu Oct 20, 2011 5:44 pm

I tried it with both mac and pc in version 8. The script is working only with layer transformations but not with bone transformations in anime studio 8. Maybe you are using the script for layer transformations in version 8. I tried the script with the 7th version, it works fine there for both layer and bone transformations. I tried to make an offsetting walk cycle with combination of capricorn33's fkik script and your offset bone script. Without your script I couldnt make an offsetting cycle, instead I moved the feet's ik bones manually throughout the scene. The problem is when you have to change something you have to make it all over again. I hope your script would be updated for bone transformations in the 8th version. With combination of your script and ikfk script you only make the characters feet walk for one cycle and offset that for the rest of the way. Then you can concentrate on the posture and body movements while the character is walking automatically. And making corrections would be very easy since all you have to do is making adjustments for the feet's original walk cycle. Thanks for your reply.
User avatar
3deeguy
Posts: 691
Joined: Sun Apr 03, 2011 5:54 pm
Location: Poughkeepsie NY
Contact:

Post by 3deeguy » Wed Nov 16, 2011 1:36 am

I cannot figure out how to install a script. Please help!
Cheers, Larry
cekilinbendoktorum
Posts: 7
Joined: Wed Nov 24, 2010 9:30 am

Post by cekilinbendoktorum » Mon Feb 06, 2012 2:38 pm

it does not work on bones. i tried on anime studio 8. (windows7) :?
tatrik
Posts: 28
Joined: Tue Aug 11, 2009 6:38 pm
Location: turkey

Post by tatrik » Sat Mar 31, 2012 5:45 pm

SynthSin75 solved the problem with bones in version 8 in the other forum.
Posted - 03/31/2012 : 11:01:03 AM

In ds_cycleoffset, line 150:

if (skel == nil) then


Needs to be changed to:

if (moho:Skeleton() == nil) then


I don't know if I have to time to hunt up the problem with ds_cycleoffsetalt.

-Wes
User avatar
uncle808us
Posts: 248
Joined: Tue Apr 07, 2009 1:00 pm
Location: USA
Contact:

Re: Offset cycle (UPDATE: Now supports bone locking)

Post by uncle808us » Sun Jun 14, 2015 7:12 pm

What if you just want the loop to go to a certain point and no further and keep repeating (looping that path)? So it doesn't move out of frame. Should I just use cycle? Thanks
I use a MacBook Pro, and Anime Studio Pro 11.2
http://uncle808s.blogspot.com
Post Reply