Join us in Outworldz at www.outworldz.com:9000 or follow us:

Search dozens of selected web sites for OpenSim and LSL script

New! Script Meta-Search will search thousands of scripts here and at other sites for LSL or Opensim scripts.
Loading

Want to add a script or a project? Upload it and a half million people will see it and your name here this year.

Home   Show All
Category: Contributor: Creator
Particles Aura  

Aura

Aura.lsl

Category: Particles
By : Anonymous
Created: 2010-01-10 Edited: 2010-01-10
Worlds: Second Life

the Zip file

Download all files for Aura
Contents are in zip format, with .LSL (text) source code and LSLEdit (text + Solution) formats.
Get file # 1. Aura_1.lsl
1
2 start_effect()
3 {
5 vector color;
6
7 integer lit = llList2Integer(params, 0);
8 if(lit) {
9 color = (vector) llList2String(params, 1);
10 } else {
11 params = llGetPrimitiveParams([PRIM_COLOR, 0]);
12 color = (vector) llList2String(params, 0);
13 }
14
15 llTargetOmega(<0.0,0.0,1.0>, 1.0, 1.0);
21 PSYS_PART_END_COLOR, <1.0,1.0,1.0>,
22 PSYS_PART_START_SCALE, <.24,.25,.21>,
23 PSYS_PART_END_SCALE, <.03,.25,.1>,
27 PSYS_SRC_ACCEL, <0.0, 0.0, 0.98>,
30 PSYS_SRC_OMEGA, <0.0, 0.0, 1.0>,
32 PSYS_SRC_ANGLE_BEGIN, PI/2 - 0.01,
34 }
35
36 default
37 {
39 {
40 start_effect();
41 }
42
43 on_rez(integer start_param)
44 {
45 if(start_param != 0) {
48 llSetTimerEvent(10.0);
49 } else {
52 llSetTimerEvent(0.0);
53 llWhisper(0, "Edit mode. Change the light color and touch me to change the particle color.");
54 }
55 start_effect();
56 }
57
58 touch_start(integer param)
59 {
60 start_effect();
61 }
62
63 timer()
64 {
65 llDie();
66 }
67 }
68 // END //

Back to the Best Free Tools in Second Life and OpenSim.