Particle Glitching Effects

Thread Started By maxio

588
0
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Rate Thread
#1
PHP Code:
list sounds=["f03bd8e7-76b8-7777-cf71-3e187003472f","621bf60c-abcd-d5e8-391c-55ede57b3646","4c814f31-ee89-5567-3e72-5a1daf39a909"];

default
{
    
state_entry()
    {
    
llListen(111,"","","");
    
llSetTimerEvent(0.1);
    }
    
listeninteger channelstring namekey idstring message )
    {
         if(
llGetOwnerKey(id)==llGetOwner())
        {
            if(
channel == 111)
            {
                if(
message=="frans")
                {
                
llSetTimerEvent(0);
                }
                if(
message=="frisk")
                {
                
llSetTimerEvent(0);
                }
                if(
message=="darkfrisk")
                {
                
llSetTimerEvent(0);    
                }
                if(
message=="console")
                {
                
llSetTimerEvent(llFrand(5));        
                }
            }
        }
    }
    
timer()
    {
        
llParticleSystem(
        [
        
PSYS_SRC_PATTERN,PSYS_SRC_PATTERN_EXPLODE,
        
PSYS_SRC_BURST_RADIUS,0.3,
        
PSYS_SRC_ANGLE_BEGIN,0,
        
PSYS_SRC_ANGLE_END,0,
        
PSYS_SRC_TARGET_KEY,llGetKey(),
        
PSYS_PART_START_COLOR,<1.000000,1.000000,1.000000>,
        
PSYS_PART_END_COLOR,<1.000000,1.000000,1.000000>,
        
PSYS_PART_START_ALPHA,1,
        
PSYS_PART_END_ALPHA,1,
        
PSYS_PART_START_GLOW,0,
        
PSYS_PART_END_GLOW,0,
        
PSYS_PART_BLEND_FUNC_SOURCE,PSYS_PART_BF_ONE_MINUS_DEST_COLOR,
        
PSYS_PART_BLEND_FUNC_DEST,PSYS_PART_BF_ONE_MINUS_SOURCE_COLOR,
        
PSYS_PART_START_SCALE,<0.200000,0.031250,0.000000>,
        
PSYS_PART_END_SCALE,<0.200000,0.031250,0.000000>,
        
PSYS_SRC_TEXTURE,"5748decc-f629-461c-9a36-a35a221fe21f",
        
PSYS_SRC_MAX_AGE,0,
        
PSYS_PART_MAX_AGE,0.1,
        
PSYS_SRC_BURST_RATE,0.2,
        
PSYS_SRC_BURST_PART_COUNT,10,
        
PSYS_SRC_ACCEL,<0.000000,0.000000,0.000000>,
        
PSYS_SRC_OMEGA,<0.000000,0.000000,0.000000>,
        
PSYS_SRC_BURST_SPEED_MIN,0,
        
PSYS_SRC_BURST_SPEED_MAX,0,
        
PSYS_PART_FLAGS,
            
|
            
PSYS_PART_EMISSIVE_MASK |
            
PSYS_PART_INTERP_SCALE_MASK
        
]);
        
llTriggerSound(llList2String(llListRandomize(sounds,1),0),0.3);
        
llSleep(1);
        
llParticleSystem([]);
        
llSetTimerEvent(llFrand(10)+1);
    }

Reply




Possibly Related Threads…
Thread Author Replies Views Last Post
  Particle aura monsterx3000 0 1,141 09-04-2018, 09:56 PM
Last Post: monsterx3000
  electricity shaped lightning particle Berkeley 1 1,813 07-11-2018, 04:53 AM
Last Post: SANEK9698
  Lightning particle Berkeley 0 1,305 07-04-2018, 12:05 PM
Last Post: Berkeley
  Particle Generator ZeroThe10th 5 7,059 05-07-2018, 11:30 AM
Last Post: Credair
  GLE's Flying Faggot Particle NigronPr1m3 1 3,194 03-14-2018, 08:57 AM
Last Post: ELiteRose
  Nice "star" rain type particle NaTaS 2 4,262 09-28-2016, 03:46 PM
Last Post: max144
  Red Firefly Particle ☠ MosDef ☠ 0 2,397 02-20-2013, 11:07 PM
Last Post: ☠ MosDef ☠
  Particle Positioning-Garden deadpool 0 2,358 02-19-2013, 02:26 AM
Last Post: deadpool
  Particle Targeting deadpool 0 2,602 02-19-2013, 02:19 AM
Last Post: deadpool

Forum Jump:

1 Guest(s)
Share this:

About Second Life Copybot

Second Life CopyBot Forum is a place where you can get items for Second Life and other vitual worlds for free. With our CopyBot viewers you can export and import any content from these virtual worlds and modify them in 3D software such as Blender, 3D studio Macx etc...