Page 1 of 1

Time insertion

Posted: Sat Mar 21, 2009 6:40 am
by arfa
Been a bit busy but have got something working. I have tested for all the permutations that I can think of - basically threw a variety of my *.anme files at it. It took me a while (longer than it should have :( ) to get the logic-testing simple enough. It gets through 2Mb (around 130k lines) in just over a second.

You still manually need to adjust for transitions, action loops, etc.; those things that have a start before the point of time-insertion but have their finish keys after. I can't imagine any way around this.

I have it so you can upload a file. This is mainly to show it working (we hope). I will leave it online for a while and see how much interest there is. Ideally, if you find it useful, you download a copy of EasyPHP
http://www.easyphp.org/
and set up a local server. It is dead easy. Xamp is an alternative. It has a portable option.

Give it a whirl >
http://www.buddhamind.info/as/Arfas-Insert_time.php

Or, get your own free-time copy >
http://www.BuddhaMind.info/as/dload.php ... n_time.php

The lack of integration is far from convenient but it does the job.

- arfa

Posted: Mon Mar 23, 2009 5:16 am
by arfa
I always feel a bit dubious replying to my own posts :)(
Still, a couple of practical points...

Be clear that this is a PHP script - *not* Lua
You can enter negative values.
There are two variables at the top of the script that need changing - esp. the path to your files.

__________
So, quite a few downloads but no uploads.
I wonder how the downloaders found the script. Did you get it running? Working?

Now that cc_shift_layer_keyframes might do the job - AND BETTER - this becomes less relevant. Ahhhhhh, blessed are the magnanimously beneficent.

cheers - arfa

Posted: Mon Mar 23, 2009 2:14 pm
by synthsin75
I was one of those downloaders, but as soon as I realized I'd have to install something else (EasyPHP) I thought, surely it'd be easier to just fix cc_shift_layer_keyframes. So I ran off to do that without checking this out further.

Overall it's much nicer getting instant visual feedback within AS (and the ability to undo).