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 Fireworks_Zzang1_light_peach  

Fireworks_Zzang1_light_peach

[EFFECT]Zzang1delete.lsl

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

the Zip file

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

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