Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Question Regarding Particle Colors

Lyric Alexander
Tree-hugging Fillosofer
Join date: 25 Feb 2005
Posts: 130
11-12-2005 22:54
Hi,

I'm fairly clueless about scripts but can sometimes figure stuff out thru trial and error. I've been reading the scripting wiki and looking in these forums. Can someone help me cut to the chase?

How do I change particle colors? I see a line in the script that says:

,PSYS_PART_START_COLOR, <0.0,0.0,1.0> //Starting RGB color


Am I correct that this is where I change it? If so how do the numbers above correlate with RGB? And if they do, what are the range of numbers I can use? I'm wondering if the RGB here is the same as the numbers of RGB in the color chart in world?

Thanks
_____________________
Visit Cylyria's Misty Gardens at:

http://slurl.com/secondlife/Assateague%20Shores/36/50/23/
Serendipity Poppy
Registered User
Join date: 12 Nov 2005
Posts: 19
11-12-2005 22:59
GOOD DAY TO YOU ALEXANDER!!! :D

Here's how to do it.

1.0 = full, so like 255 in RGB.
0.0 = empty

Just do the math from there and divide.

For example, solid green is: <0.0, 1.0, 0.0>

And watermelony hotpink is <1.0, 0.0, 0.5> also known as 255, 0, 128 in RGB (approx.).
Lyric Alexander
Tree-hugging Fillosofer
Join date: 25 Feb 2005
Posts: 130
11-12-2005 23:04
Oh My Goodness! I would have never figured that one out...LOL thankyou so much! :D
_____________________
Visit Cylyria's Misty Gardens at:

http://slurl.com/secondlife/Assateague%20Shores/36/50/23/
Serendipity Poppy
Registered User
Join date: 12 Nov 2005
Posts: 19
11-12-2005 23:06
Welkies! Hope ya have lots of particley fun! :D