Select blog: [setup] [lsl] [tst] [sfx] [img] [loop] [3d] [state] [bldg] [out] [vfx]

Programming in Second Life

the Linden Scripting Language (LSL)


LSL is the programming language that controls everything in Second Life... You will see that you can click on an object and (permissions allowing) actually see the program that is controlling its shape, how it moves, and the sounds it makes! When you first land on Orientation Island, you can click on the rocks to see what primitive shapes ("prims") they are made from. You can create those programs too. Check out the links and the library and our main blog

starting Second Life

This sequence of pages introduces the programming language of Second Life, designed so that you can work through each one, in order. (If there are parts you know already, you will be able to finish the tasks in those sections easily!) By the end, you will be able to do many things in Second Life, and since many other programming languages are similar, your skills will be useful there too. If you get stuck, ask for help! You can email me at Hector.Something@gmail.com or if you have a comment about some part of this stuff, you can click on "Send feedback" and send us your comments! It should be fun!

To get started, after your account is set up, click on the Second Life icon and you'll get a screen like this:

SL-Splash

When you log in, you will choose and name and get an avatar. You can change your avatar's appearance -- but don't worry, you can always work on your appearance again later!

Walk down the Orientation path and touch the green hands to get information about how things work in Second Life!

After you get a little bit used to the basics, make sure you know how to

How to give presents (esp. scripts and objects!)

When you have made something nice, you can give it to someone by opening their profile and dragging it into their inventory. (This will become clear later, if it sounds mysterious now.)

If you want that person to be able to see and modify anything, make sure to check the boxes that allow the "next owner" to copy and modify it. Do this before you drop a copy of it into their inventory! For an object with contents, you need to set these permissions on both the object AND each thing in its contents (if anything).

If you get stuck on a script, one thing you could do is to give it to me (the great and powerful Hector Something!) by dropping the script or the object containing it into my profile (but be sure to check the boxes that make sure that the new owner can open/copy and modify it!).

There are also ways to let a friend or a group work together with you on the same object. For example by clicking on the Friends tab and selecting any friend, you can click on "Grant modify rights" to allow them to work on anything you own. (See here for details.) I gave Tiplife Eggplant modify rights so that she can help me with any of my stuff.

If you need sound or image files, ask me or Tiplife Eggplant about that, or else check the library page.