I was looking at the guts of the script and it's still beyond me how you can understand it but I'm glad you do:)
Thanks again.
D.K
Man, I love me some lua scripting
Moderators: Víctor Paredes, Belgarath, slowtiger
- synthsin75
- Posts: 10280
- Joined: Mon Jan 14, 2008 11:20 pm
- Location: Oklahoma
- Contact:
http://www.mediafire.com/?ayz9ja2tdl0
Here's one with left and right naming, DK. Select what bones you want to name or rename, and run this menu script. It will give you check boxes for left and right extensions for the names, and it will always rename the first bone created as 'root' whether it is selected or not.
So as long as you create both sides of your skeleton in the same order, you can then select one side and give them the right extension and the other side left. By same order I mean if you created them in this order :root, hip waist, chest, left collar, left upper arm, left forearm, left hand, right collar, right upper arm, right forearm, right hand, left thigh, left shin, left foot, right thigh, right, shin, right foot; then each side has the bones created in the same order relative the to the other bones on that side regardless of any intervening bone creation.
The number of bones and the order created doesn't matter, just that the bones of one side are created in the same relative order as the other side.
Chucky, yeah I've pondered doing that. The only problem is that you'd first have to explain lua, which has been done in many other places. And only then could lua in AS be easily explained. I've thought of doing a dissection of a simple script, but I'm not so sure that would help.
I may do one eventually though.
Here's one with left and right naming, DK. Select what bones you want to name or rename, and run this menu script. It will give you check boxes for left and right extensions for the names, and it will always rename the first bone created as 'root' whether it is selected or not.
So as long as you create both sides of your skeleton in the same order, you can then select one side and give them the right extension and the other side left. By same order I mean if you created them in this order :root, hip waist, chest, left collar, left upper arm, left forearm, left hand, right collar, right upper arm, right forearm, right hand, left thigh, left shin, left foot, right thigh, right, shin, right foot; then each side has the bones created in the same order relative the to the other bones on that side regardless of any intervening bone creation.
The number of bones and the order created doesn't matter, just that the bones of one side are created in the same relative order as the other side.
Chucky, yeah I've pondered doing that. The only problem is that you'd first have to explain lua, which has been done in many other places. And only then could lua in AS be easily explained. I've thought of doing a dissection of a simple script, but I'm not so sure that would help.
I may do one eventually though.
- synthsin75
- Posts: 10280
- Joined: Mon Jan 14, 2008 11:20 pm
- Location: Oklahoma
- Contact:
Ooops. No that was my fault, DK. It was only renaming the first bone as root if it wasn't selected. This should fix that. Let me know if you have any more problems with it. The simpler the script the less I think I need to test it, I guess.
http://www.mediafire.com/?ml52zdolj2t

http://www.mediafire.com/?ml52zdolj2t

- synthsin75
- Posts: 10280
- Joined: Mon Jan 14, 2008 11:20 pm
- Location: Oklahoma
- Contact: