Difference between revisions of "User:Toady Nakamura"
m (→Toad's Hall) |
m (→Useful Scripts) |
||
Line 27: | Line 27: | ||
{| class="sortable" {{Prettytable}} | {| class="sortable" {{Prettytable}} | ||
|- {{Hl2}} | |- {{Hl2}} | ||
! ''' | ! '''Basic Scripts''' | ||
! '''Creator''' | ! '''Creator''' | ||
! '''Description''' | ! '''Description''' | ||
Line 51: | Line 51: | ||
||Uses two states as an on/off switch | ||Uses two states as an on/off switch | ||
|- | |- | ||
||[[User:Toady Nakamura/ | ||[[User:Toady Nakamura/Sound Looper|Sound Looper]] | ||
||[[User:Toady Nakamura|Toady Nakamura]] | |||
||Three ways to make looped sound from any object. | |||
|- | |||
||[[User:Toady Nakamura/Simple Recording Tipjar|Simple Recording Tipjar]] | |||
||[[User:Toady Nakamura|Toady Nakamura]] | |||
||Thanks giver & sets hover text with total amount donated. | |||
|- | |||
||[[User:Toady Nakamura/Particle Mist for Fountains Script|Particle Mist for Fountains]] | |||
||[[User:Toady Nakamura|Toady Nakamura]] | |||
||Nice small mist for fountains, small water features & fire logs. Uses "Explode" pattern. | |||
|- | |||
||[[User:Toady_Nakamura/Demo Typecast Random Float and Integer|Demo Typecast Random Float and Integer]] | |||
||[[User:Toady Nakamura|Toady Nakamura]] | ||[[User:Toady Nakamura|Toady Nakamura]] | ||
|| | ||Picks a random number and outputs as both float and integer. Helps students visualize the difference between float and integer data. | ||
|- {{Hl2}} | |||
! '''Color Scripts''' | |||
! ''' ''' | |||
! '''Description''' | |||
|- | |- | ||
||[[User: | ||[[User:Toady_Nakamura/Color_Chooser|Color chooser prim]] | ||
||[[User:Toady Nakamura|Toady Nakamura]] | ||[[User:Toady Nakamura|Toady Nakamura]] | ||
|| | ||Change prim color, it tells owner new color vector & sets hover text with vector in new color. | ||
|- | |- | ||
||[[User:Toady Nakamura/Random Color|Random Color]] | ||[[User:Toady Nakamura/Random Color|Random Color]] | ||
||[[User:Toady Nakamura|Toady Nakamura]] | ||[[User:Toady Nakamura|Toady Nakamura]] | ||
||Put in object, randomly changes object color every two seconds. | ||Put in object, randomly changes object color every two seconds. | ||
|- {{Hl2}} | |||
! '''Givers''' | |||
! ''' ''' | |||
! '''Description''' | |||
|- | |- | ||
||[[User: | ||[[User:Toady_Nakamura/Give Anything|Give Anything]] | ||
||[[User:Toady Nakamura|Toady Nakamura]] | ||[[User:Toady Nakamura|Toady Nakamura]] | ||
|| | ||Five scripts from basic to more complicated help you give anything, but not scripts! | ||
|- | |- | ||
||[[User:Toady Nakamura/Landmark Giver and Counter|Landmark Giver & Counter]] | ||[[User:Toady Nakamura/Landmark Giver and Counter|Landmark Giver & Counter]] | ||
Line 74: | Line 94: | ||
||[[User:Toady Nakamura|Toady Nakamura]] | ||[[User:Toady Nakamura|Toady Nakamura]] | ||
||Gives a random object from prim inventory to any toucher. | ||Gives a random object from prim inventory to any toucher. | ||
|- {{Hl2}} | |||
! '''Avatar Animations''' | |||
! ''' ''' | |||
! '''Description''' | |||
|- | |- | ||
||[[User:Toady Nakamura/ | ||[[User:Toady Nakamura/Hold Teddy Script|Hold Teddy Script]] | ||
||[[User:Toady Nakamura|Toady Nakamura]] | ||[[User:Toady Nakamura|Toady Nakamura]] | ||
|| | ||Put in object to wear with an animation to animate avatar. | ||
|- | |- | ||
||[[User:Toady Nakamura/ | ||[[User:Toady Nakamura/Smile Script|Smile Script]] | ||
||[[User:Toady Nakamura|Toady Nakamura]] | ||[[User:Toady Nakamura|Toady Nakamura]] | ||
|| | ||Put in object to wear, makes avatar smile with system animation | ||
|} | |} | ||
Revision as of 10:42, 23 August 2012
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.
I rezzed 6333 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
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 |
I'm not being egotistical putting my name in every line! I plan to put links to these into the Script Library and need this format to slide into their 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.