Page 1 of 2
Switch Layer Mimic Script
Posted: Sat Mar 10, 2012 2:22 am
by DK
Anyone know of a script that will mirror a keyframe on another switch layer in a group when it's twin/control layer is keyframed?
Cheers
D.K
Posted: Sun Mar 11, 2012 1:15 pm
by funksmaname
i dont, but that could be an interesting idea...
Posted: Sun Mar 11, 2012 1:57 pm
by synthsin75
Posted: Sun Mar 11, 2012 4:54 pm
by DK
Thanks synth but I can't find an active download for switchslave

Anyone have a copy of switchslave they can send me please?
Cheers
D.K
Posted: Sun Mar 11, 2012 6:24 pm
by VĂctor Paredes
DK wrote:Thanks synth but I can't find an active download for switchslave

Anyone have a copy of switchslave they can send me please?
I have it
http://dl.dropbox.com/u/54411/AS8/forum ... hSlave.lua
Posted: Sun Mar 11, 2012 10:28 pm
by DK
Hi Selgin.
Thanks mate!
Cheers
D.K
Posted: Tue Mar 13, 2012 8:33 am
by Breinmeester

This is exactly what i was looking for in this thread:
viewtopic.php?t=19572
Yet it was met with scepsism. Ah well, never mind...

Posted: Tue Mar 13, 2012 6:23 pm
by DK
Don't worry Brainmeester. We all get that from time to time. Sometimes it's better to break down a script request or even a post to it's basics. I find when I have reved on and on a bit the point gets lost in my banter.
Cheers
D.K
Posted: Wed Mar 14, 2012 1:36 am
by madrobot
So I'm finding from using it (for the first time) today that unlike meshinstance, switchslave appears to only work on one slave layer?
(I have several master-slave sets, have renamed the extensions for each. Still each master only appears to be able to drive one slave?)
Is that other people's experience?
Thanks
Posted: Wed Mar 14, 2012 1:41 am
by DK
Had a heap of work come in since. Let me check it out and post results.
Cheers
D.K
Posted: Wed Mar 14, 2012 1:52 am
by DK
I can't even get it to work??? How are you setting the layers up?
D.K
Posted: Wed Mar 14, 2012 3:46 pm
by madrobot
Layers in the same root folder/at the same level.
Master switch layer has the switchslave layer script attached to it.
Slave layer has ".sslv" attached to the end of the layer name (or other string if you edit the script.)
If you want to test in a clean simple file, make two switch layers on the root layer in a new file? All switch layers must have the same names in each switch folder (contents can differ.) I make sure by copyiong then renaming the switch group, then editing the switch layer contents individually.
Posted: Thu Mar 15, 2012 2:34 am
by DK
Hi mad.
Sorry for the late reply. I just tested it and you're right. It seems we can only have 2 switch layers at a time. Have you seen the actual script though? It's pretty small. It should'nt be too hard for a scripter to make it so that it will operate multiple layers?
Cheers
D.K
Posted: Thu Mar 15, 2012 3:30 am
by madrobot
Not sure (I don't know any scripting) but Uncle Wes pointed out on the other forum for old people that you can have more than one slave, run through the timeline and it drops keys on the top slave, move a different slave up and run through the timeline again, it will dropo frames on that slave. So wierdly it actually works with multiple slaves, you just have to kind of manually process each one through the frame cooking stage.
Posted: Thu Mar 15, 2012 3:34 am
by DK
Hmmmm....that still sucks though. It would be great if this script operated multiple (more than two) switch layers simultaneously but I guess that is a workaround.
Cheers
D.K