Search found 38 matches

by GaryC
Tue Feb 24, 2015 10:15 am
Forum: Scripting
Topic: Script Issue: Placing Keys Offset from the Timeline Marker
Replies: 4
Views: 1643

Re: Script Issue: Placing Keys Offset from the Timeline Mark

Changing all instance of moho.frame to moho.layerFrame works here, at least on the keySkeleton script. Layerscripts need to be unembedded and reembedded to reload the code, but tool/menu/button scripts use the shortcut Ctrl+Alt+Shift+L. Ah yes, that shortcut works perfectly thank you. Unfortunately...
by GaryC
Mon Feb 23, 2015 7:01 pm
Forum: Scripting
Topic: Script Issue: Placing Keys Offset from the Timeline Marker
Replies: 4
Views: 1643

Script Issue: Placing Keys Offset from the Timeline Marker

I was taking a look at Janimatic's script from here and found there's some odd behaviour with it. If you right click and drag the timeline to shift it then the script creates keys offset from the actual timeline marker. Eg. If you have the timeline marker at frame 100 and you shift the keys 10 frame...
by GaryC
Fri Feb 13, 2015 4:34 pm
Forum: Scripting
Topic: Selecting a different skeleton
Replies: 5
Views: 1822

Re: Selecting a different skeleton

Because of the way the character is designed there's a bunch of bones on that layer already. We do have a way of making it work with the original script and a compromise on the layer structure, it just seems odd that I can't find a way to make Anime Studio look at the bones of a layer I found by code.
by GaryC
Fri Feb 13, 2015 10:18 am
Forum: Scripting
Topic: Selecting a different skeleton
Replies: 5
Views: 1822

Re: Selecting a different skeleton

Actually the structure is more like this: SWITCH LAYER A BONE LAYER A BONE LAYER B SWITCH LAYER B BONE LAYER A BONE LAYER B The idea is to have two versions of the one leg so that it can be both in front of and behind other layers and it's easy to toggle them from one to the other and they'll still ...
by GaryC
Thu Feb 12, 2015 4:31 pm
Forum: Scripting
Topic: Selecting a different skeleton
Replies: 5
Views: 1822

Selecting a different skeleton

I'm trying to adapt a script that matches the movement two bones from the same skeleton, intending to change it so that the bones don't need to be in the same folder as each other, but could be in neighbouring switch folders instead and still have one affect the other. However the documentation does...
by GaryC
Thu Feb 12, 2015 4:25 pm
Forum: Scripting
Topic: Performance Issues - Script Linking Switch Layers Together
Replies: 19
Views: 8245

Re: Performance Issues - Script Linking Switch Layers Togeth

That's great! This one is a little slow when first set up (we have large files) but then it performs perfectly fine after that. Bit of a shame it doesn't allow the exact folder structure we wanted but I'm sure the animators can live with it when it does everything else we want.

Thanks!
by GaryC
Mon Feb 09, 2015 6:19 pm
Forum: Scripting
Topic: Performance Issues - Script Linking Switch Layers Together
Replies: 19
Views: 8245

Re: Performance Issues - Script Linking Switch Layers Togeth

Just got back to this, thanks for the great discussion. For clarification, yes we would like the characters to have non-unique names. I'm aware that a more specific naming convention would solve the problem since the part of my script that searches the whole document works fine, but there are charac...
by GaryC
Fri Feb 06, 2015 2:15 pm
Forum: Scripting
Topic: Performance Issues - Script Linking Switch Layers Together
Replies: 19
Views: 8245

Performance Issues - Script Linking Switch Layers Together

So I've been working on a script from a while back that I got off here, a script that could let you link two switch layers so that switching one would switch the other. Here's the original script: http://www.lostmarble.com/forum/viewtopic.php?f=12&t=2506 It finds a layer with .sslv at the end an...