What's could Mike Green's script be used for, I asked myself when I first used it. Two bones from different layers doing the same thing seemed useless considering they are both in the same group. Then I discovered tonight a most interesting way to implement it.
If you have a character that has parts that need to change like the hands you just make a switch layer and change them as you need, but if you need to change something like the art for changing the angle of the torso you can create the bone rig in the switch layer but then you would have to make hand and feet etc. in each switch. If you want 4 or 5 different switches for the torso it can get complicated.
Duplicating the bone rig from the switch to a bone layer that's its parent layer and adding the script to the switch layer.
Double click the switch layer>Check Embedded script file>Select the file
mg_bone_parent_master.lua
For it to work properly you need to select all the switch layers that imitates the master bone then the top menu>Bone>Release Layer.
Every bone in that layer will do the same as the bone layer above it as long as those bones have the same names. The bone layer affects all the layers that aren't in the switch including the feet and hands etc.
In effect this circumvents the restriction of a switch's bone limits.
I made a simple example file where the body changes in the switch that is rigged and the bone layer can control everything else.
http://www.mediafire.com/?t4z4wmzftd0
Thanks Mike Green
Moderators: Víctor Paredes, Belgarath, slowtiger
Thanks Mike Green
Last edited by super8mm on Tue Feb 16, 2010 3:28 pm, edited 1 time in total.
- Víctor Paredes
- Site Admin
- Posts: 5815
- Joined: Wed Jan 26, 2005 12:18 am
- Location: Barcelona/Chile
- Contact:
It's a great script I haven't seen. Thanks for sharing.






Moho co-owner
Previously Rigged animation supervisor: My father's dragon, Wolfwalkers & Star Wars Visions "Screecher's Reach"
My personal Youtube Channel