|
LSL: Linden Scripting Language
This version was saved 15 years, 1 month ago
View current version Page history
Saved by Randall Sadler
on March 5, 2009 at 7:08:18 pm
Do you really need to know how to use Linden Scripting Language? The simple answer is...no! There are many scripts that already exist in SL that are freely available, and more are constantly being creative. However, you do at least need to know "how" to use scripts. In addition, knowing how to do some simple modifications of existing scripts will make your SL more interesting and productive!!
This scripting workshop will take place primarily in-world. However, below you can find some links to:
In-world resources
|
Internet resources
|
video tutorials below
|
Links to In-World Scripting Resources:
For the SLurls (Second Life URLs) you'll find below, have Second Life open in the background. When you click on the SLurl, it will bring up a new webpage. Click on the "teleport" button and it will open up a landmark on your Second Life screen.
College of Scripting, Music, and Science
If you would like to learn a lot about scripting in Second Life, this may be the location for you. The college is located in an 8-level building, with the first level containing information about "basic scripting," with each succeeding level working up to the 8th level, which covers "rotations & pi math." Each level contains detail information and illustration for how to perform a variety of scripting functions.
Second Life Free Script Library
If you don't really want to create your own scripts from scratch (and who can blame you for that?), this location provides a large number of scripts for free. These range from the educational (SLurl maker, news in world) to the purely fun (the ever popular "talk like a pirate" script)!
IBM Codestation
Yes, that is "the" IBM. At their site they provide a number of free scripts, many of which have potential educational applications. In the building opposite the script location there are also some free objects that many will find useful
EduNation
At EduNation (and at the campuses for a variety of other education-focused islands) you can often find scripts for free that are directly related to education. These might include scripts for using youtube videos or blogs in SL, to scripts for doing SL powerpoint presentation (or something quite similar, at least!).
Info Island ICT LIbrary
Over 50 education-related scripts ranging from highlight boards to flickr scripts.
Links to Internet-Based Scripting Resources:
Autoscripter
This page can create a number of common scripts for you by just clicking a few choices!
SimTeach Scripts
Some education focused scripts.
Linden Scripting Language (LSL) Portal
The offical portal that introduces LSL
Scratch for Second Life (S4SL)
This is a downloadable tool that allows users to create custom scripts through a graphical interface. With this system you just drag graphical blocks together to illustrate what you wish to do and the script is generated for you!
Script Tutorials on Video:
URL script
This simple script will let you put a URL into an object in Second Life so that when the object is clicked, it will open the webpage.
Here is a URL script like discussed in the video:
//replace the URL immediately below with your own.
string Url = "http://www.com";
default {
on_rez(integer start_param) {
llResetScript();
}
touch_start(integer total_number) {
llLoadURL(llDetectedKey(0), "Click to go to url", Url);
}
dataserver(key queryid, string data) {
Url = "https://www..com" + llEscapeURL(data);
}
}
|
Notecard Script
Another simple script that helps you give out a notecard that you've put in an object.
And here is the script discussed in the video:
integer x;
default
{
touch_start(integer total_number)
{
for(x = 0; x < total_number; x++)
llGiveInventory(llDetectedKey(x), llGetInventoryName(INVENTORY_NOTECARD, 0));
}
}
|
LSL: Linden Scripting Language
|
Tip: To turn text into a link, highlight the text, then click on a page or file from the list above.
|
|
|
Comments (0)
You don't have permission to comment on this page.