User:Jana Kamachi/tut wprimz

From Second Life Wiki
< User:Jana Kamachi
Revision as of 01:11, 17 October 2007 by Jana Kamachi (talk | contribs) (New page: First thing first, make a torus, and set its size to: x=0.5,y=1.0,z=1.0. Now, make a new script, and stick this in it: <pre> default { state_entry() { llSetPrimitiveParams...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

First thing first, make a torus, and set its size to: x=0.5,y=1.0,z=1.0.

Now, make a new script, and stick this in it:

default
{
    state_entry()
    {
        llSetPrimitiveParams([PRIM_TYPE,4, 0, <0.000000, 1.000000, 0.000000>, 0.000000, <0.000000, 0.000000, 0.000000>, <1.000000, 0.150000, 0.000000>, <0.000000, 0.000000, 0.000000>, <0.000000, 1.000000, 0.000000>, <0.000000, 0.000000, 0.000000>, 4.000000, 0.000000, 0.800000]);
    }
}

Save and run the script. You can delete it after your prim visibly changes. You now have your shape. Try positioning it on yourself, around your waist, and see the effects. If it doesn't seem to be working, you may just be off a bit.