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
Fireworks EFFECTZzang5_yellow  

EFFECTZzang5_yellow

[EFFECT]Zzang5 yellow turning intomouave.lsl

Category: Fireworks
By : Ama Omega
Created: 2010-01-10 Edited: 2010-01-10
Worlds: Second Life

the Zip file

Download all files for EFFECTZzang5_yellow
Contents are in zip format, with .LSL (text) source code and LSLEdit (text + Solution) formats.
Get file # 1. EFFECTZzang5_yellow_turning_intomou_1.lsl
1
2 1// Particle Script 0.3
3 // Created by Ama Omega
4 // 10-10-2003
5
6 integer glow = TRUE;
7 integer bounce = FALSE;
8 integer interpColor = TRUE;
9 integer interpSize = TRUE;
10 integer wind = FALSE;
11 integer followSource = FALSE;
12 integer followVel = TRUE;
13
14 integer pattern = PSYS_SRC_PATTERN_EXPLODE;
15
16 key target = "";
17
18 float age = 1;
19 float maxSpeed = 0.1;
20 float minSpeed = 0.1;
21 string texture;
22 float startAlpha = 10.6;
23 float endAlpha = 0.05;
24 vector startColor = <.9,7,.1>;
25 vector endColor = <.2,.0,.3>;
26 vector startSize = <.1,.1,0>;
27 vector endSize = <.4,.4,0>;
28 vector push = <0,0,1>;
29
30 float rate = 0.0;
31 float radius = 0.01;
32 integer count = 20;
33 float outerAngle = 0;
34 float innerAngle = 1.55;
35 vector omega = <0,0,0>;
36 float life = 0;
37
38 integer flags;
39
40 updateParticles() {
41 flags = 0;
42 if(target == "owner") target = llGetOwner();
43 if(target == "self") target = llGetKey();
44 if(glow) flags = flags | PSYS_PART_EMISSIVE_MASK;
45 if(bounce) flags = flags | PSYS_PART_BOUNCE_MASK;
46 if(interpColor) flags = flags | PSYS_PART_INTERP_COLOR_MASK;
47 if(interpSize) flags = flags | PSYS_PART_INTERP_SCALE_MASK;
48 if(wind) flags = flags | PSYS_PART_WIND_MASK;
49 if(followSource) flags = flags | PSYS_PART_FOLLOW_SRC_MASK;
50 if(followVel) flags = flags | PSYS_PART_FOLLOW_VELOCITY_MASK;
51 if(target != "") flags = flags | PSYS_PART_TARGET_POS_MASK;
52
54 PSYS_PART_FLAGS,flags,
55 PSYS_PART_START_COLOR, startColor,
56 PSYS_PART_END_COLOR, endColor,
57 PSYS_PART_START_SCALE,startSize,
58 PSYS_PART_END_SCALE,endSize,
59 PSYS_SRC_PATTERN, pattern,
61 PSYS_SRC_ACCEL, push,
67 PSYS_SRC_INNERANGLE,innerAngle,
68 PSYS_SRC_OUTERANGLE,outerAngle,
69 PSYS_SRC_OMEGA, omega,
70 PSYS_SRC_MAX_AGE, life,
71 PSYS_SRC_TEXTURE, texture,
72 PSYS_PART_START_ALPHA, startAlpha,
73 PSYS_PART_END_ALPHA, endAlpha
74 ]);
75 }
76
77 default {
78 state_entry() {
79 updateParticles();
80 }
81 }// END //

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