pablopharmanaut@yahoo.com
   




   

.: Open Sim Scripts

These are a few scripts I have used in OGL and Osgrid.  They may be lsl or C# or other formats, but they should work in opensim grids with working script function.  Please feel free to copy, edit, change, delete, whatever you want to do with them!

Please leave the comments in place at the top of the scripts.  Not only should attribution be given when applicable, but sometimes scripts other than LSL format require the "//cs" (for example) in order to work.

 

pablo

 Note:  some of these functions may not work in OLG at the moment!

If you see a warningin description, testing has indicated a problem with this script.  Please read carefully and use at your own risk.  There will be lots of this until opensim provides a more stable platform and more complete script function.

Dynamic Texture URL



Display pictures (jpg, gif, bmp, ?) from web on prim surface. Change the  URLs in script to  URL of images you want to  display.  Touch to change image.
warningThis script works intermittently and is dependent on the URL source.
Listen Switch


Operate functions by chat commands.
  warningOLG doesn't like llListen.  Use this function sparingly, or you will clog up memory and possibly crash your region.
Touch Switch


Operate functions by touch.

Crude Teleporter



Just set your start pos and stop pos in script.  Sit on prim, touch prim, and away you go!  Prim will return to original
position in a few seconds, so stand up or you'll go back to where you started.
Particle System


Old particle system script from SL.  Only partially functional in OS, but still fun!
warningCertain functions within llParticleSystem are not yet functional.  Development is ongoing.

Simple Door


Door Script Tutorial
This door script seems to work in opensim.  Adjust rotation to suit your needs.  Includes SetPos to fix prim drift.


A brief tutorial on the door script.


Multi-Teleport
Put your position and destination vectors in at the top.  Sit on prim.  Say in chat, "1", "2", etc, and you'll go to your destination.
warningUses llListen.  Use sparingly.
Multi-Teleport v1.3

Improved version.  llListen function shuts off better now, better for CPU load.  Fill in your vectors.  Shows name of avatar sitting on target.
warninguses llListen.  Use sparingly.
Teleport v2.01

Teleport Tutorial
Even better version, which avoids llListen function.  OLG does not like llListen.  It tends to clog memory, and can crash your region.
Water Pool

Create a prim sphere.  Flatten it.  Add script.  Now you have a shimmering pool of water!


Sit Target

Place this in prim to adjust for proper sitting position.
Sit Target Improved
Thanks to Samantha Fuller.  New Sit Target with example settings.  Uncomment desired rotation line of script for different rotations.
Set Color Scale Alpha Random

A totally useless, yet fun script demonstrating llFrand function in OS.  Amuse yourself for hours.
Fireworks Burst

Uses particle system to create fireworks.  Uses chat "on/off" to activate.  Random colors.
warningUses llListen.  Use sparingly.
Sim Stats

Gives region information.
Hovertext Clock

Gives PST in hovertext.  Verbose version here.
Radio

Change parcel music URL by touch. 
warningSo far, OLG still doesn't update URL in client, so you have to leave region and come back for change to take place.  Hopefully this will be addressed in future updates.
Wall Clock

Clock Tutorial
This script is used in three parts to make clock with hour, minute, and second hands.
Load URL
Touch prim to load web page.

 

 



















Web site contents © Copyright 2007, All rights reserved.
Website templates