Home |
Add a script
|
||
|---|---|---|---|
| Category: | Contributor: | Description | |
| Particles | Ama Omega | Fireworks, light peach to pastel orange.lsl | |
Fireworks, Zzang10 light peach to pastel orange
[EFFECT]Zzang10 light peach to pastel orange.lsl
Download this script - Please use this link to get this script. If you see all the code on one long line, please use Wordpad or another editor, such as LSLEdit.exe. The .LSL file you will download is an ordinary text file.
1 // CATEGORY:Particles 2 // DESCRIPTION:Fireworks, Zzang10 light peach to pastel orange 3 // ARCHIVED BY:Ferd Frederix 4 5 // Particle Script 0.3 6 // Created by Ama Omega 7 // 10-10-2003 8 16 17 integer pattern = PSYS_SRC_PATTERN_EXPLODE; 18 19 key target = ""; 20 21 float age = 1; 22 float maxSpeed = 0.1; 23 float minSpeed = 0.1; 24 string texture; 25 float startAlpha = 10.6; 26 float endAlpha = 0.05; 27 vector startColor = <.9,7,.7>; 28 vector endColor = <.9,.3,.1>; 29 vector startSize = <.1,.1,0>; 30 vector endSize = <.4,.4,0>; 31 vector push = <0,0,1>; 32 33 float rate = 0.0; 34 float radius = 0.01; 35 integer count = 20; 36 float outerAngle = 0; 37 float innerAngle = 1.55; 38 vector omega = <0,0,0>; 39 float life = 0; 40 41 integer flags; 42 43 updateParticles() { 44 flags = 0; 45 if (target == "owner") target = llGetOwner(); 46 if (target == "self") target = llGetKey(); 47 if (glow) flags = flags | PSYS_PART_EMISSIVE_MASK; 48 if (bounce) flags = flags | PSYS_PART_BOUNCE_MASK; 49 if (interpColor) flags = flags | PSYS_PART_INTERP_COLOR_MASK; 50 if (interpSize) flags = flags | PSYS_PART_INTERP_SCALE_MASK; 51 if (wind) flags = flags | PSYS_PART_WIND_MASK; 52 if (followSource) flags = flags | PSYS_PART_FOLLOW_SRC_MASK; 53 if (followVel) flags = flags | PSYS_PART_FOLLOW_VELOCITY_MASK; 54 if (target != "") flags = flags | PSYS_PART_TARGET_POS_MASK; 55 56 llParticleSystem([ PSYS_PART_MAX_AGE,age, 57 PSYS_PART_FLAGS,flags, 58 PSYS_PART_START_COLOR, startColor, 59 PSYS_PART_END_COLOR, endColor, 60 PSYS_PART_START_SCALE,startSize, 61 PSYS_PART_END_SCALE,endSize, 62 PSYS_SRC_PATTERN, pattern, 63 PSYS_SRC_BURST_RATE,rate, 64 PSYS_SRC_ACCEL, push, 65 PSYS_SRC_BURST_PART_COUNT,count, 66 PSYS_SRC_BURST_RADIUS,radius, 67 PSYS_SRC_BURST_SPEED_MIN,minSpeed, 68 PSYS_SRC_BURST_SPEED_MAX,maxSpeed, 69 PSYS_SRC_TARGET_KEY,target, 70 PSYS_SRC_INNERANGLE,innerAngle, 71 PSYS_SRC_OUTERANGLE,outerAngle, 72 PSYS_SRC_OMEGA, omega, 73 PSYS_SRC_MAX_AGE, life, 74 PSYS_SRC_TEXTURE, texture, 75 PSYS_PART_START_ALPHA, startAlpha, 76 PSYS_PART_END_ALPHA, endAlpha 77 ]); 78 } 79 80 default { 81 state_entry() { 82 updateParticles(); 83 } 84 }// END //