Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Looking for USL Library Script Example Ideas

Hank Ramos
Lifetime Scripter
Join date: 15 Nov 2003
Posts: 2,328
08-19-2004 16:07
Let me know what types of "simple" examples you'd like to see at the University of Second Life Library [Montara(35,35)].

This is a list of some of the current examples...
  1. Read Notecard DataServer Example
  2. llRequestAgentData Example
  3. Gambling State Example
  4. Simple Timer Example
  5. Loop Animation Example
  6. llListRandomize Example


There is also a large collection of scripts from the forum script library as well. I'm looking for simple examples to write so that people can easily learn certain aspects of LSL.

If you have any examples you'd like to share, please pass them along! :)
_____________________
Cypher Olsen
Registered User
Join date: 7 Aug 2004
Posts: 54
08-19-2004 17:40
I'm a scripting newbie, and some examples I'd like to see are...
  1. Animating a Texture (including common problems, like texture rotation)
  2. Rotating and Moving Objects in a linked group
  3. Several Versions of Basic Vendor Scripts
  4. Simple Casino Scripts
  5. Scripts for Animating and Posing your Avatar
  6. Scripts to create action and pose balls.
  7. Basic teleporting scripts
  8. Elevator scripts


That's about all I can think of right now =)
Jeffrey Gomez
Cubed™
Join date: 11 Jun 2004
Posts: 3,522
08-20-2004 01:28
Well, let's run right down the line of what everyone tends to shoot for with LSL:

Basics (You have most of these, but just in case) -
  1. Simple Plane/Airplane
  2. llSay/llShout/llWhisper/llDialog/llInstantMessage Examples
  3. Listener Examples
  4. Scanner Examples
  5. Text Output Examples
  6. Linked Message Examples
  7. Particle Examples
  8. Projectile Examples
  9. Examples of llSetPos/llSetRot; Coordinate Systems for These
  10. Examples and Disclaimers on Push


More intricate examples (stuff that really helps) -
  1. Coordinate/Angle Conversions such as llRot2Euler, llRot2Fwd, and others like vector systems
  2. Examples on how to cast variables properly (Extremely Vital)
  3. Examples on key acquisition, plus getting names and other data from this
  4. Advanced particle scripts, such as color randomizers, fountains with scripted waterworks events, etc.
    Ama, if you're out there, take note for your particle scripts. :D
  5. Useage of world variables, such as time, llGround, llWater, llCloud, etc. Very helpful for things like swimming scripts.
  6. Anti-push ;)
  7. Sound scripts. Specifically, llCollisionSound("",0.0);, sound volume, looping, etc.
  8. Flight detection
  9. In depth useage of llDetected and related calls. Run the full set of them through an llSay.
  10. Modes of teleportation (Sit bug, llSetPos teleportation, etc)
  11. Simple elevator
  12. Useage of llMoveToTarget and llLookAt. Variables in these explained in detail.
  13. Include the 82 example scripts box (I have a copy - merely a compilation of several public scripts, such as followers, sit teleportation, avatar detection, etc. - definite time saver)
  14. Useage of llCaffeLatte :D
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
08-21-2004 03:05
From: someone
Originally posted by Jeffrey Gomez

  • Useage of llCaffeLatte :D
  • [/list][/list]

    void llCaffeLatte(key agent, vector size, float price, float price_multiplier, float sales_tax);
    _____________________
    Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river.
    - Cyril Connolly

    Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence.
    - James Nachtwey