Lyric Alexander
Tree-hugging Fillosofer
Join date: 25 Feb 2005
Posts: 130
|
12-03-2005 03:44
Hi,
I'm kinda new to scripting and I'm not sure what i'm doing here that isn't working. (see pics below for an illustration). Is there a way to get a candle flame to emit from ABOVE or on top of the candle itself, without putting the script into a separate prim and positioning the flame that way? (which of course i've been successful with the second method). I've been trying to adust the position of the flame with the intergers I have (see script below). What's missing and what am I not doing? Thanks....
{ llParticleSystem( [ PSYS_PART_MAX_AGE,1.000000, PSYS_PART_FLAGS,399, PSYS_PART_START_COLOR,<1.00000, 1.00000, 1.00000>, PSYS_PART_END_COLOR,<2.00000, 1.00000, 1.00000>, PSYS_PART_START_SCALE,<.10400, .80000, .100000>, PSYS_PART_END_SCALE,<0.20000, 0.40000, 0.30000>, PSYS_SRC_PATTERN,2, PSYS_SRC_BURST_RATE,0.009998, PSYS_SRC_ACCEL,<0.20000, 1.00000, 1.00000>, PSYS_SRC_BURST_PART_COUNT,3, PSYS_SRC_BURST_RADIUS,0.000000, PSYS_SRC_BURST_SPEED_MIN,0.800000, PSYS_SRC_BURST_SPEED_MAX,5.500002, PSYS_SRC_TARGET_KEY,(key)"00000000-0000-0000-0000-000000000000", PSYS_SRC_INNERANGLE,11.283186, PSYS_SRC_OUTERANGLE,-5.859407, PSYS_SRC_OMEGA,<2.60000, 2.90000, 1.80000>, PSYS_SRC_MAX_AGE,0.000000, PSYS_SRC_TEXTURE,(key)"flametex10", PSYS_PART_START_ALPHA,0.286001, PSYS_PART_END_ALPHA,0.097000]); }
_____________________
Visit Cylyria's Misty Gardens at:
http://slurl.com/secondlife/Assateague%20Shores/36/50/23/
|
Malachi Petunia
Gentle Miscreant
Join date: 21 Sep 2003
Posts: 3,414
|
12-03-2005 04:15
Particles emit from the "root" or geometric center of the prim which is emitting them. Barring some magic I missed, your two prim approach is the way.
|
Moonshine Herbst
none
Join date: 19 Jun 2004
Posts: 483
|
12-03-2005 04:22
PSYS_SRC_BURST_RADIUS Distance from center of source (in meters) where particles are created; only works when PSYS_PART_FOLLOW_SRC_MASK is not set. http://secondlife.com/badgeo/wakka.php?wakka=llParticleSystem
|
Lyric Alexander
Tree-hugging Fillosofer
Join date: 25 Feb 2005
Posts: 130
|
12-03-2005 05:50
Ah okay thanks for the help...i'll try it again 
_____________________
Visit Cylyria's Misty Gardens at:
http://slurl.com/secondlife/Assateague%20Shores/36/50/23/
|
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
|
12-03-2005 13:59
Or you can advance cut the cylinder; which will shift the center up or down.
to do that change the shape to a sphere (or tube, ring, torus) and set the advanced cut/dimple to your desired settings, then change the shape back to a cylinder be sure to remember to reset the topsize if needbe afterwords.
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river. - Cyril Connolly
Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence. - James Nachtwey
|
Lyric Alexander
Tree-hugging Fillosofer
Join date: 25 Feb 2005
Posts: 130
|
12-03-2005 17:49
Thanks Strife,
(btw, Hiya! do u remember me?)
I'll try that. cuz I'm still having problems getting the flame particle to center ON the prim let alone ABOVE it which makes it difficult to center on the candle. It will look correct from one angle but then from a different angle the flame is off center. And I keep repositioning it only to have it off center from another angle. Even when using a second prim to place the particle into it has the same problem.
I tried what Moonshine suggested and was able to get a flame particle from that method as well, however cannot center it correctly.
Ok...back to the drawing board and going blind with the flickering flame....LOL
_____________________
Visit Cylyria's Misty Gardens at:
http://slurl.com/secondlife/Assateague%20Shores/36/50/23/
|
Lyric Alexander
Tree-hugging Fillosofer
Join date: 25 Feb 2005
Posts: 130
|
12-03-2005 19:12
Ok, Strife's method yeilded some positive results ... (thanks everyone for your input  ) I am now able to get the flame to position ABOVE the prim just about anywhere ; the flame is still slightly off-center, but not as noticeably as before and prolly no one else will even see that either since its slight. Anyway RL candles tend to burn a bit off the center anyway...so I'm happy with the results. Thanks again!
_____________________
Visit Cylyria's Misty Gardens at:
http://slurl.com/secondlife/Assateague%20Shores/36/50/23/
|