Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Sparklies!

Maeve Morgan
ZOMG Resmod!
Join date: 2 Apr 2004
Posts: 1,512
01-20-2005 16:29
I need some help, I can't figure out how people make the shiny sparkle like in jewelry. I know it's a particle script but all my experimenting gets me lots of particles now just the shiny light type. If someone would help me I'd be eternally grateful :D
_____________________


Located in Shark
Everything under $100L
billy Madison
www.SLAuctions.com
Join date: 6 Jun 2004
Posts: 2,175
01-20-2005 16:30
From: Maeve Morgan
I need some help, I can't figure out how people make the shiny sparkle like in jewelry. I know it's a particle script but all my experimenting gets me lots of particles now just the shiny light type. If someone would help me I'd be eternally grateful :D


I have the script if you can wait 5 hours ill be happy to give it to you.
Maeve Morgan
ZOMG Resmod!
Join date: 2 Apr 2004
Posts: 1,512
01-20-2005 16:33
I can definitly wait that long, It'll only be 9:30 pm here (gotta love the west coast) just IM me when you get the time :D
_____________________


Located in Shark
Everything under $100L
billy Madison
www.SLAuctions.com
Join date: 6 Jun 2004
Posts: 2,175
01-20-2005 16:35
From: Maeve Morgan
I can definitly wait that long, It'll only be 9:30 pm here (gotta love the west coast) just IM me when you get the time :D



Ok i will be in world in about 5 hours. You can keep building your stuff because all you do is drop the sscript in it.
Jaz Zephyr
Raaaawwwrrrrrr
Join date: 17 Sep 2004
Posts: 72
01-22-2005 07:08
Hi Billy,

Could I please have a copy of this script too?

Thanks!
~Jaz
Anjelle Lumiere
Lil Lost Brat
Join date: 6 Jun 2004
Posts: 128
01-22-2005 09:16
If someone could drop a sparklie script to me as well, I would appreciate it! I was able to get one, but the flash is HUGE and uneditable. What I have been wanting to work with is something more subtle.. Hehe
Nethermind Bliss
Raving Xenophile
Join date: 29 Dec 2004
Posts: 79
01-26-2005 07:21
I am facing the same problem. While learning a lot about the in's and out's of particle scripts, I can't seem to duplicate the sparkly effects on jewelry.

Thanks!
Tee Dinova
Registered User
Join date: 4 Sep 2004
Posts: 8
01-26-2005 11:43
If possible i'd appreciate a copy of the script as well. TY
Karen Cela
Registered User
Join date: 3 Nov 2005
Posts: 1
Could I have a copy of the script please?
09-14-2006 12:50
If it is not too much trouble could you pass on a copy of the script also :)
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
09-14-2006 12:56
You mean the bling script?

CODE

// Particle Script 0.3
// Created by Ama Omega
// 10-10-2003

// Mask Flags - set to TRUE to enable
integer glow = TRUE; // Make the particles glow
integer bounce = FALSE; // Make particles bounce on Z plan of object
integer interpColor = TRUE; // Go from start to end color
integer interpSize = TRUE; // Go from start to end size
integer wind = FALSE; // Particles effected by wind
integer followSource = FALSE; // Particles follow the source
integer followVel = TRUE; // Particles turn to velocity direction

// Choose a pattern from the following:
// PSYS_SRC_PATTERN_EXPLODE
// PSYS_SRC_PATTERN_DROP
// PSYS_SRC_PATTERN_ANGLE_CONE_EMPTY
// PSYS_SRC_PATTERN_ANGLE_CONE
// PSYS_SRC_PATTERN_ANGLE
integer pattern = PSYS_SRC_PATTERN_EXPLODE;

// Select a target for particles to go towards
// "" for no target, "owner" will follow object owner
// and "self" will target this object
// or put the key of an object for particles to go to
key target = "";

// Particle paramaters
float age = .2; // Life of each particle
float maxSpeed = .1; // Max speed each particle is spit out at
float minSpeed = .1; // Min speed each particle is spit out at
string texture; // Texture used for particles, default used if blank
float startAlpha = 10; // Start alpha (transparency) value
float endAlpha = 10; // End alpha (transparency) value
vector startColor = <1,1,1>; // Start color of particles <R,G,B>
vector endColor = <1,1,1>; // End color of particles <R,G,B> (if interpColor == TRUE)
vector startSize = <.04,.25,.01>; // Start size of particles
vector endSize = <.03,.25,.01>; // End size of particles (if interpSize == TRUE)
vector push = <0,0,0>; // Force pushed on particles

// System paramaters
float rate = 5; // How fast (rate) to emit particles
float radius = .0; // Radius to emit particles for BURST pattern
integer count = 5; // How many particles to emit per BURST
float outerAngle = 1.54; // Outer angle for all ANGLE patterns
float innerAngle = 1.55; // Inner angle for all ANGLE patterns
vector omega = <0,0,10>; // Rotation of ANGLE patterns around the source
float life = 0; // Life in seconds for the system to make particles

// Script variables
integer flags;

updateParticles()
{
flags = 0;
if (target == "owner") target = llGetOwner();
if (target == "self") target = llGetKey();
if (glow) flags = flags | PSYS_PART_EMISSIVE_MASK;
if (bounce) flags = flags | PSYS_PART_BOUNCE_MASK;
if (interpColor) flags = flags | PSYS_PART_INTERP_COLOR_MASK;
if (interpSize) flags = flags | PSYS_PART_INTERP_SCALE_MASK;
if (wind) flags = flags | PSYS_PART_WIND_MASK;
if (followSource) flags = flags | PSYS_PART_FOLLOW_SRC_MASK;
if (followVel) flags = flags | PSYS_PART_FOLLOW_VELOCITY_MASK;
if (target != "") flags = flags | PSYS_PART_TARGET_POS_MASK;

llParticleSystem([ PSYS_PART_MAX_AGE,age,
PSYS_PART_FLAGS,flags,
PSYS_PART_START_COLOR, startColor,
PSYS_PART_END_COLOR, endColor,
PSYS_PART_START_SCALE,startSize,
PSYS_PART_END_SCALE,endSize,
PSYS_SRC_PATTERN, pattern,
PSYS_SRC_BURST_RATE,rate,
PSYS_SRC_ACCEL, push,
PSYS_SRC_BURST_PART_COUNT,count,
PSYS_SRC_BURST_RADIUS,radius,
PSYS_SRC_BURST_SPEED_MIN,minSpeed,
PSYS_SRC_BURST_SPEED_MAX,maxSpeed,
PSYS_SRC_TARGET_KEY,target,
PSYS_SRC_INNERANGLE,innerAngle,
PSYS_SRC_OUTERANGLE,outerAngle,
PSYS_SRC_OMEGA, omega,
PSYS_SRC_MAX_AGE, life,
PSYS_SRC_TEXTURE, texture,
PSYS_PART_START_ALPHA, startAlpha,
PSYS_PART_END_ALPHA, endAlpha
]);
}

default
{
state_entry()
{
updateParticles();
}
}
Kaimi Kyomoon
Kah-EE-mee
Join date: 30 Nov 2006
Posts: 5,664
01-19-2007 14:22
Thank you thank you, Newgate. It works great.
Jopsy Pendragon
Perpetual Outsider
Join date: 15 Jan 2004
Posts: 1,906
01-19-2007 15:39
The Particle Laboratory has recently grown a library of "Basic Particle Effects",
which includes a sample bling script, as well as jet flame, steam, fire, smoke,
fountain spiral, and others. No scripting knowledge necessary.

There are also four new examples showing different ways to set up particle targets.
Due to the nature of setting up targets, some awareness of scripting is necessary
to get best use out of these.

(All sample scripts are free, copyable, modifyable.)
_____________________
* The Particle Laboratory * - One of SecondLife's Oldest Learning Resources.
Free particle, control and targetting scripts. Numerous in-depth visual demonstrations, and multiple sandbox areas.
-
Stop by and try out Jopsy's new "Porgan 1800" an advanced steampunk styled 'particle organ' and the new particle texture store!