Change font size
It is currently Tue Dec 18, 2018 11:49 am

Forum rules


{L_IMAGE}



Post a new topicPost a reply Page 1 of 1   [ 4 posts ]
Author Message
 Post subject: Fairy Lights
PostPosted: Wed Mar 23, 2011 7:08 pm 
OSG Elite

Joined: Wed Aug 05, 2009 1:59 am
Posts: 417
Simple script: spawns fairy lights all over the place..(Good for ye mysicial sims-n-stuff)
{L_CODE}:
// Script Name: Fairy_Lights.lsl
// Author: oddball.otoole
//This scrips spawns fairy lights on touch.

// Downloaded from : http://www.free-lsl-scripts.com/freescripts.plx?ID=1583

// This program is free software; you can redistribute it and/or modify it.
// License information must be included in any script you give out or use.
// This script is licensed under the Creative Commons Attribution-Share Alike 3.0 License
// from http://creativecommons.org/licenses/by-sa/3.0 unless licenses are
// included in the script or comments by the original author,in which case
// the authors license must be followed.

// Please leave any authors credits intact in any script you use or publish.
////////////////////////////////////////////////////////////////////
integer onFlag;

startParticles()
{
    llParticleSystem([PSYS_PART_FLAGS, 0| PSYS_PART_EMISSIVE_MASK| PSYS_PART_INTERP_COLOR_MASK,
                        PSYS_SRC_BURST_RATE, 0.1,
                        PSYS_SRC_BURST_RADIUS, 10.0,
                        PSYS_SRC_BURST_PART_COUNT, 18,
                        PSYS_SRC_ANGLE_BEGIN, 0.0,
                        PSYS_SRC_ANGLE_END, 3.1416,
                        PSYS_SRC_OMEGA, <0.0,0.0,1.0>,
                        PSYS_PART_MAX_AGE, 50.0,
                        PSYS_SRC_MAX_AGE, 0.0,
                        PSYS_SRC_BURST_SPEED_MIN, 0.0,
                        PSYS_SRC_BURST_SPEED_MAX, 0.01,
                        PSYS_SRC_TEXTURE,"",
                        PSYS_PART_START_ALPHA, 1.0,
                        PSYS_PART_END_ALPHA, 0.0,
                        PSYS_PART_START_COLOR, <0.76,1.00,1.00>,
                        PSYS_PART_END_COLOR, <0.98,0.96,0.62>,
                        PSYS_PART_START_SCALE, <0.04,0.04,0.0>,
                        PSYS_PART_END_SCALE, <0.3,0.3,0.3>,
                        PSYS_SRC_ACCEL, <0.0,0.0,-0.01>,
                        PSYS_SRC_PATTERN, PSYS_SRC_PATTERN_ANGLE_CONE
]);

}


default
{
    state_entry()
    {
       onFlag = FALSE;
       llParticleSystem([]);
    }
   
    on_rez(integer start_param)
    {
        llResetScript();
    }
   
    touch_start(integer total_number)
    {
        onFlag = !onFlag;
        if (onFlag)
        {
            startParticles();
        }
       
        else
        {
            llParticleSystem([]);
        }
    }
}



Top
 Profile  
 
 Post subject: Re: Fairy Lights
PostPosted: Mon Apr 04, 2011 3:27 pm 

Joined: Fri Jan 08, 2010 5:38 am
Posts: 33
nice ;.)


Top
 Profile  
 
 Post subject: Re: Fairy Lights
PostPosted: Fri Apr 08, 2011 8:44 am 
User avatar

Joined: Tue Mar 29, 2011 11:47 am
Posts: 39
Hi All,

I think the Fairy Lights work very well. I tried it out and everything was ok. After a restart of the SIM i could however not klick touch anymore and the cube with the script seemed to be dead. I have that with other scripts as well. They seem not to reset after I changed something within the script.
Do I have to change some options on the sim or within the .ini Files ?

Thanks for the script anyway and for any help :)
Tim

_________________
My virtual brain is like a williams pear in a bottle of brandy.


Top
 Profile  
 
 Post subject: Re: Fairy Lights
PostPosted: Fri Apr 08, 2011 11:50 am 
OSG Elite

Joined: Wed Aug 05, 2009 1:59 am
Posts: 417
Tim Taylor {L_WROTE}:
Hi All,

I think the Fairy Lights work very well. I tried it out and everything was ok. After a restart of the SIM i could however not klick touch anymore and the cube with the script seemed to be dead. I have that with other scripts as well. They seem not to reset after I changed something within the script.
Do I have to change some options on the sim or within the .ini Files ?

Thanks for the script anyway and for any help :)
Tim


I have the same issues now and then, it's probably an Osg thing.
Maybe the next update fixes things.

Odd


Top
 Profile  
 
Display posts from previous:  Sort by  
Post a new topicPost a reply Page 1 of 1   [ 4 posts ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
610nm Style by Daniel St. Jules of Gamexe.net