Full perms synchronized color cycler script – L$250

XStreetSL: https://www.xstreetsl.com/modules.php?name=Marketplace&file=item&ItemID=1498627

inSL: http://slurl.com/secondlife/Sunweaver%20Air/204/35/141

Prim color cycler script that will automatically synchronize with other scripts within 10m. Useful for eyes, dance balls, walls, hair, just freaking people out, whatever you like. Does not require prims to be linked. Used by dropping the the script (and optionally a configuration notecard) into the prims to be color cycled. Then take and rez the prims, or use “Tools -> Reset Scripts in Selection” to trigger a resync.

Configuration

Configuration is done by values in a notecard, called “Configuration”, and placed in prim inventory with the script. A sample notecard is shipped with the script:

channel=-120
color=<1.0, 0.0, 0.0>
color=<1.0, 1.0, 0.0>
color=<0.0, 1.0, 1.0>
color=<0.0, 0.0, 1.0>
color=<1.0, 0.0, 1.0>
steps=12
rate=0.5
# faces=1,3

“channel” sets the communication channel that the scripts synchronize over. This MUST be the same in all scripts to be synchronized, so they can communicate.

“color” adds a color to the list of colors the prim is cycled through. Each color is expressed in the format LSL uses, a set of red, green and blue values, expressed a numbers from 0.0 to 1.0. For example, <1.0, 0.0, 0.0> is 100% red, 0% green, 0% blue.

“steps” indicates the number of steps (in-between colors) generated between each color listed in the “colors” configuration. The script automatically generates these colors on the fly, to provide a smooth transition.

“rate” indicates the time, in seconds, between each in-between step.

“faces” indicates the faces of the prim which are to be colored. If excluded (or commented out, such as it is here by putting a ‘#’ at the start of the line), defaults to all sides of the prim. A prim face identifier is included in the package, which can be used to identify the number of each face of a prim.

Comments are closed.


SetPageWidth