Page 1 of 2

Offset cycle (UPDATE: Now supports bone locking)

Posted: Thu Aug 18, 2011 2:55 pm
by ponysmasher
I've been wanting a feature like this in Anime Studio and I read that others want it too. Here's my scripted solution: The script

Video demonstration: YouTube clip
----------------------------------------------------------------------------------
Update:

There are now two versions in the .zip file:

ds_cycleoffset.lua - The script in the video.

ds_cycleoffsetalt.lua - This script supports locked bones and has some other changes.
Image
Instead of using cycle keyframes you enter the frame range you want looped. Keyframes will be copied for all bones if used on a bone layer.

I prefer this latest version, especially since it's now possible to use walks with locked bones, but I've included the old version as well.

Posted: Thu Aug 18, 2011 3:01 pm
by jonbo
Another great Script PONY, this looks like it would be very useful. I'll test it out today. Thanks :D

Posted: Thu Aug 18, 2011 3:04 pm
by ulrik
Oh yessss, nice script pony smasher, and a big thanks for sharing!

Posted: Thu Aug 18, 2011 3:35 pm
by GCharb
Yes, that is very cool man, thanks allot!

Posted: Thu Aug 18, 2011 4:20 pm
by ulrik
I just tried your script and it's working great! :D

Posted: Thu Aug 18, 2011 7:30 pm
by VĂ­ctor Paredes
Just what I wanted! great!
This cycle option should be include in AS. Let's animate zombie walks! :D

Posted: Thu Aug 18, 2011 9:25 pm
by ponysmasher
selgin wrote:Just what I wanted! great!
This cycle option should be include in AS. Let's animate zombie walks! :D
Well it's thanks to you I was able to write this script. I read what you wrote elsewhere:
elsewhere selgin wrote:I have seen that After Effects and other software like Cinema 4d have a cycle option very useful: loopout offset.
Technically it "repeats the specified segment, but offsets each cycle by the difference in the value of the property at the start and end of the segment, multiplied by the number of times the segment has looped".
And suddenly I could wrap my head around it. So thanks! :)

Posted: Thu Aug 18, 2011 11:30 pm
by F.M.
Very much appreciated, Thank you!

Posted: Sat Aug 20, 2011 9:48 am
by uddhava
Wow, great script! This will really be useful.

udd

Posted: Sat Oct 01, 2011 7:02 am
by chucky
Awesome.... many thanks
One question, is this a tool ,or a layer script? Where do I put it?
Please don't say..."where the sun don't shine"

Actually a lot of these scripts that are so great don't get the path detailed and I find myself running in small circles trying to get them to work.

The absolute bone lock is another, some seem to be obvious like save load bone animation. Please help a helpless doofus.

Posted: Wed Oct 05, 2011 12:54 pm
by tatrik
hi
thanks for this useful script. Could someone update this script for Anime studio version 8. It works with the 7'th version on bone layers but it doesn't work in the 8'th version.
Any help appreciated, thanks in advance

Posted: Wed Oct 05, 2011 6:34 pm
by ponysmasher
chucky wrote:Awesome.... many thanks
One question, is this a tool ,or a layer script? Where do I put it?
Please don't say..."where the sun don't shine"

Actually a lot of these scripts that are so great don't get the path detailed and I find myself running in small circles trying to get them to work.

The absolute bone lock is another, some seem to be obvious like save load bone animation. Please help a helpless doofus.
Sorry, I tend to forget that not everyone is as much of a script nerd as I am. This is a menu script so just put it into a folder under scripts/menu in your Anime Studio installation folder.

Absolute bone lock is a layer script so just double click a bone layer and check "embedded script file".

Posted: Wed Oct 05, 2011 6:35 pm
by ponysmasher
tatrik wrote:hi
thanks for this useful script. Could someone update this script for Anime studio version 8. It works with the 7'th version on bone layers but it doesn't work in the 8'th version.
Any help appreciated, thanks in advance
I use it myself in Anime Studio Pro 8 so it should work. Have you selected the right bone when you run it? I've made that mistake many times myself...

Posted: Wed Oct 05, 2011 8:55 pm
by tatrik
thank you for your interest. I have recorded the screen while i was unsuccessfully trying the script. Here is the link
http://www.mediafire.com/?lah5t124hwa1a3h
Can you tell me if I am making any mistakes. Thanks again.

Posted: Wed Oct 19, 2011 11:31 pm
by ponysmasher
tatrik wrote:thank you for your interest. I have recorded the screen while i was unsuccessfully trying the script. Here is the link
http://www.mediafire.com/?lah5t124hwa1a3h
Can you tell me if I am making any mistakes. Thanks again.
Sorry for my late reply, I've been very busy lately. You seem to be using the first script right. i have no idea why it isn't working. I don't have a mac so maybe it has something to do with that? Anyone here use it successfully on a mac?

When using the alternate version, instead of setting the keyframes to cycle, you should enter numerically what frames you want to loop.