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 fireworksspiral  

fireworksspiral

bonus-fireworks-spiral.lsl

Category: Fireworks
By : Dana Moore
Created: 2010-01-10 Edited: 2010-01-10
Worlds: Second Life

the Zip file

Download all files for fireworksspiral
Contents are in zip format, with .LSL (text) source code and LSLEdit (text + Solution) formats.
Get file # 1. fireworksspiral_1.lsl
1
2 // Copyright (c) 2008, Scripting Your World
3 // All rights reserved.
4 //
5 // Scripting Your World
6 // By Dana Moore, Michael Thome, and Dr. Karen Zita Haigh
7 // http://syw.fabulo.us
8 // http://www.amazon.com/Scripting-Your-World-Official-Second/dp/0470339837/
9 //
10 // You are permitted to use, share, and adapt this code under the
11 // terms of the Creative Commons Public License described in full
12 // at http://creativecommons.org/licenses/by/3.0/legalcode.
13 // That means you must keep the credits, do nothing to damage our
14 // reputation, and do not suggest that we endorse you or your work.
15
16 // sparkle texture bursty spiral
17
18 fireworks()
19 {
28 PSYS_SRC_ACCEL, <0,0,0.2>,
31 PSYS_SRC_ANGLE_BEGIN, 0*DEG_TO_RAD,
32 PSYS_SRC_ANGLE_END, 90*DEG_TO_RAD,
33 PSYS_SRC_OMEGA, <0,0,20>,
34 PSYS_PART_START_SCALE, <0.25, 0.25, 0.0>,
37 PSYS_SRC_TEXTURE, "181c6b1d-c2d0-70ba-bbf2-52ccc31687c6"
38 ]);
39 llSleep(1.0);
40 }
41
42 init(integer delay)
43 {
46 llSetStatus(STATUS_PHANTOM, TRUE );
48 float d = (float)( (float)delay / 10.0 );
49 llSetTimerEvent( d );
50 }
51 default {
52 state_entry() {
53 init(15);
54 }
55 on_rez(integer t) {
56 init(t);
57 }
58 timer() {
59 fireworks();
61 if(llGetStartParameter() > 0) {
62 llDie();
63 } else {
65 }
66 }
67 }
68 // END //

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