Welcome! Wikis are websites that everyone can build together. It's easy!

Unit 5: Scripting 101

Post in the discussion thread at the bottom of the page when you've completed Unit 5.

Scripting 101: Live speaker and/or tutorial. “Scripting” refers to programming items to perform tasks such as lighting up, rotating, or displaying a series of slides. More complex scripting can create items that react to commands, work as vehicles, pull data in from a web-based database, and much more. This tutorial will focus primarily on adapting the collection of pre-written scripts to specific uses. (30 minutes)


What is... Linden Script Language (or LSL)?

Dr Dobb's Life 2.0
Scripting in the SL Sandbox
http://www.youtube.com/watch?v=ZwNSJ1uJIDQ&feature=related
Overview of the possibilities of scripting in SL. Target audience is familiar with concept of scripting but not with SL.


Reference material

LSL Wiki includes links to tutorials as well as sample scripts and reference material.

LSL Reference
Introduction and manual; a bit outdated.
http://oz.slinked.net/history/lsl2_reference.htm

Using the Linden Script language (Kan-Ed)
http://ce.bromley.ac.uk/lsl/kan-ed/copy/
Short tutorial on using the Linden Script Language (LSL). It includes a collection of examples that illustrate basic LSL capabilities

Getting started in LSL scripting in Second Life
Introductory page that claims it is for "those who have never program
med before, Second Life or elsewhere." However, I find it a bit advanced as it slings around words like "touch_start() event handler" right from the beginning with brief explanation.

Creation portal




Additional video tutorials:


An Overview of Scripting in Second Life
mattr0x
http://www.youtube.com/watch?v=aCwFeV_Z88U&feature=related
what can be done with LSL and how events and states work.

Scripting Tutorial for Second life linden scripting languag
ScriptingCollege
http://www.youtube.com/watch?v=98W-mc2LGU4&feature=related
Intro to concepts in scripting (states, events, functions, variables), to how colors are determined, and to how to identify sides (faces) of an

object so as to apply color or texture to them via scripts.


Fun with floating text - Second Life Video TuTORial QUICKTIP
Torley
http://www.youtube.com/watch?v=I0WxPx-QGKE

Creating an "interactive" sign (sends chat to avatar who touches it)
stettegah
http://www.youtube.com/watch?v=JC-AX3___OQ&feature=related
No sound.

Load URL
cbtcafe
http://www.youtube.com/watch?v=EENiLti8Ohk
Item will offer to load a web page when touched.

Second Life - Notecard Giver
cbtcafe
http://www.youtube.com/watch?v=N-K-hgZg76c&feature=related
Shows how to alter an existing script.


Part 2 Scripting a Note Card Giver in Second Life
mikenku
http://www.youtube.com/watch?v=K99Ywn7uklY
Also shows how to add a texture and make a prim rotate. A bit advanced, but pretty clear.
(Part 1 is actually making a scanner, not the notecard giver)

Scripting Tutorial : Web Page Slideshow
BenjaKepler
http://www.youtube.com/watch?v=Vl_4pVujZ8w
A bit advanced. Shows how to make a "slideshow" rotating through several web pages, which it pulls in from the web.

Welcome Mat
BenjaKepler
http://www.youtube.com/watch?v=9Qa_0fqXF_g
Shows how to make a mat that will say, "Welcome [avatar name]" when walked on.





Latest page update: made by CatGalileo , May 21 2008, 10:21 AM EDT (about this update About This Update CatGalileo Edited by CatGalileo


view changes

- complete history)
Keyword tags: None
More Info: links to this page

Anonymous  (Get credit for your thread)


Started By Thread Subject Replies Last Post
CatGalileo Post here when you've completed Unit 5. 5 Today, 6:34 PM EDT by saltmeyer
CatGalileo
Thread started: Apr 23 2008, 10:36 AM EDT  Watch
Comments, follow-up questions?
Do you find this valuable?    
Keyword tags: None
Show Last Reply
Top Contributors