PDA

View Full Version : Skelegons



AVT
04-21-2005, 10:38 PM
How to work with skelegons in Modeler? I couldnt find anything in SDK. I want to select skelegons by name, rename it, set its angle and setup weightmaps for them. Hidden features? 8-)

evenflcw
04-22-2005, 10:13 AM
If you search the configuration file LWEXT8.cfg which contains the installed plugins you'll find a number of CommandSequence class functions to do with skelegons. You can run these using cmdseq().

For example cmdseq("MakeSkelegons") will create skelegons from the selected polygons (aka skelegonize). If there's any arguments needed these should be preceded by commas, cmdseq("SkelegonSetWeight", "MyCoolestWeightMap").

Everything you asked for seems to be available, except a way to set up the angles/lollipops. EDIT: couldn't find anything on retrieving skelegon name or selecting by name :(

PS. To run functions of class MeshDataEdit you use meshedit() in pretty much the same manner.

EDIT2: ARGH! Thought I was in the Lscript forum.