User:Toady Nakamura
Toad's Hall
I love finding useful scripts here in the Wiki, but most of them are aimed at AWESOME scripters, not beginners. I use this page to store handy scripts & links to helpful pages ... like the Scripts Library & this link to Fred Gandt's awesome userpage with tons of free scripts - especially stuff with string sorting.
I rezzed 6508 days ago and learn something new every day.
I edited a series of half-finished old tutorials called LSL 101 - and got thru 'em all July 7, 2012. Working on an addon page on Operators & Flow Control in my sandbox. July 28, 2012.
Useful Scripts
Important: These scripts are in my user space and intended for teaching purposes. Do not remove content from them, instead append changes to the bottom of each page and explain why yours are more awesome. |
Basic Scripts | Creator | Description |
---|---|---|
Prim Scrubber | Toady Nakamura | Script scrubs memory resident script functions from prim and self-deletes the script. Does not damage the prim, or remove other scripts. |
Touch Counting | Toady Nakamura | Two scripts show how to count up or down as the box is touched. |
Touch Toggle Light | Toady Nakamura | Touch to change from dark to light |
Touch Toggle Rotate | Toady Nakamura | Touch to make a cylinder spin (like a record or CD) |
Two States Light | Toady Nakamura | Uses two states as an on/off switch |
Sound Looper | Toady Nakamura | Three ways to make looped sound from any object. |
Simple Recording Tipjar | Toady Nakamura | Thanks giver & sets hover text with total amount donated. |
Particle Mist for Fountains | Toady Nakamura | Nice small mist for fountains, small water features & fire logs. Uses "Explode" pattern. |
Demo Typecast Random Float and Integer | Toady Nakamura | Picks a random number and outputs as both float and integer. Helps students visualize the difference between float and integer data. |
Color Scripts | Description | |
Color chooser prim | Toady Nakamura | Change prim color, it tells owner new color vector & sets hover text with vector in new color. |
Random Color | Toady Nakamura | Put in object, randomly changes object color every two seconds. |
Givers | Description | |
Give Anything | Toady Nakamura | Five scripts from basic to more complicated help you give anything, but not scripts! |
Landmark Giver & Counter | Toady Nakamura | Gives any landmark in inventory; tells owner how many have been given. |
Give Random Object | Toady Nakamura | Gives a random object from prim inventory to any toucher. |
Avatar Animations | Description | |
Hold Teddy Script | Toady Nakamura | Put in object to wear with an animation to animate avatar. |
Smile Script | Toady Nakamura | Put in object to wear, makes avatar smile with system animation |
Couples Poseball | Toady Nakamura | Makes synchronized poseballs |
Useful Uses of Lists | Description | |
Prim Contents Lister | Toady Nakamura | Put in prim with stuff, outputs list of stuff to your chat. Very helpful for inventory organization. |
I'm not being egotistical putting my name in every line! If anyone links to the Script Library, this format will slide into the table without trouble !
SL Texture Constants & UUIDS
- White Transparent = "59facb66-4a72-40a2-815c-7d9b42c56f60";
- TEXTURE_TRANSPARENT = "8dcd4a48-2d37-4909-9f78-f7a9eb4ef903";
- TEXTURE_PLYWOOD = "89556747-24cb-43ed-920b-47caed15465f";
- TEXTURE_MEDIA = "8b5fec65-8d8d-9dc5-cda8-8fdf2716e361";
- TEXTURE_BLANK = "5748decc-f629-461c-9a36-a35a221fe21f";
Use this tag for Script Library Examples (simple stuff goes here)
[[Category:LSL Examples]]
SL Tutorials
• | Visit Here for enlightenment today! | – | Watch video tutorials and indulge your creative curiosity in Second Life...
Learning, intrigue, and wild fun awaits you... |
|
• | Robin Wood texture tutorials | – | Best spot to get rid of white lines on alphas!! |
BTW, if you find more LSL tutorials, add them to the tuts page with this tag
{{LSLC|Tutorials|Item'sExactName}}
Videos
Link | Description | |
---|---|---|
1 | The Wizard & The Ozimal, machinama | A film by Pyewacket Bellman |
2 | Designing Worlds | with Saffia Widdershins on Treet.tv January 25, 2011 |
3 | YouTube: Build a LightSwitch | Mike Lively of Northern Kentucky University, March 20, 2008. |
Wiki Syntax
Just ignore this part, I keep it for reference how to write this wiki's pages without having to edit a page to see the pothooks.
*Script Location User:Toady_Nakamura/Scrubber_Script *Script link in user page {{{!}} {{LSL DefineRow||[[User:Toady Nakamura/Scrubber Script|Prim Scrubber]]|Cleans memory resident functions from prim.}} {{LSL DefineRow||[[User:Toady Nakamura/Touch Toggle Light|Touch Toggle Light]]|Touch to change from dark to light.}} {{!}}} *Table format for Script Library {| class="sortable" {{Prettytable}} |- {{Hl2}} ! '''Name''' ! '''Creator''' ! '''Description''' |- ||[[User:Toady Nakamura/Scrubber Script|Script Scrubber]] ||[[User:Toady Nakamura|Toady Nakamura]] ||Script scrubs memory resident script functions from prim and self-deletes the script. Does not damage the prim, or remove other scripts. |- *Signing talk pages put four tildes ~~~~ and your name + UTC time is stamped for you. How to make cute *important* boxes {{KBcaution| put the text here}}