Seeing Skelescripts at Work
The skelescripts package currently comes with 6 sample skelescript objects:
scene_setup.lwo
- contains a single skelescript which sets up a scene using LS Commander code by setting up the lighting and camera angles.
basic_arm.lwo
- contains 4 simple skelescripts which set up an IK arm with a goal for the wrist and elbow.
simple_skelescript_rig_localized.lwo
- contains a skelescript rig which sets up IK goals for the wrists, elbows, knees, and ankles along with a master null to move the whole body.
simple_skelescript_rig_with_procedures.lwo
- performs the same function as simple_skelescript_rig but uses procedures to minimize redundant code and performs all the setup through the end of the chain (instead of using multiple small, localized scrpits). This version is intended for advanced scripters only and does not offer any functional advantages from the previous version.
intermediate_skelescript_rig.lwo
- Like the simple_skelescript_rig, but with item shapes to enhance the appearance of the nulls, an embedded LS Commander script to adjust position of the knee nulls as a final touch, a foot setup that uses a ground-aligned heel control, and a custom color for each bone.
People who already know how to use LS Commander will probably want to take a look at scene_setup.lwo first, as it demonstrates how to embed and process LS Commander code.
Beginners should look at basic_arm.lwo to start since it contains a very simplistic setup. They should then look at simple_skelescript_rig_localized.lwo which has a more sophisticated, full-body rig.
The first thing you should do when checking out these samples is to open them up in modeler and fire up SKS Manager. There you can see all the scripts available in the object. Double-click on any script in the list to view its code. It's best to view the code from top-to-bottom to get a feel for the execution order of code.
If you are a beginner, don't expect to fully understand the code just yet, but look around a bit just to get a feel for how the code is written.
Once you are ready to see the code in action, send the object over to layout and hit Cvt Skelescripts. You should then have the final result. Note that none of these samples are extremely complex. You could do a lot more with rotational limits, schematic arrangement, locking unnecessary bones and channels, etc.
Return to index.
Return to Kung Fu Tools page..
Return to main page.