|
Amaliel Syaka
Registered User
Join date: 15 Sep 2006
Posts: 16
|
12-18-2006 17:05
Hi! I'm a newbie scripter that is looking to make a stream of little "blips" over a short area that will always come out of the back of an object. So far it works ok, I used the PSYS_SRC_PATTERN_ANGLE, got the color and everything. It just has two little problems that I am having trouble fixing.
1. I would like them to glow 2. The stream is much too long, how can I make it shorter?
here is what I have so far:
default { state_entry() { llParticleSystem([PSYS_SRC_PATTERN, PSYS_SRC_PATTERN_ANGLE, PSYS_PART_START_ALPHA, 1.0, PSYS_PART_END_ALPHA, 0.0, PSYS_PART_START_SCALE, <0.05,0.05,0.05>, PSYS_PART_END_SCALE, <0.025,0.025,0.025>, PSYS_PART_START_COLOR, <0.0,0.7,0.7>, PSYS_PART_MAX_AGE, .8, PSYS_SRC_BURST_RATE, .2, PSYS_SRC_ACCEL, <0,0,0>]); }
}
|
|
Vares Solvang
It's all Relative
Join date: 26 Jan 2005
Posts: 2,235
|
12-18-2006 19:00
Use PSYS_PART_EMISSIVE_MASK TRUE to make it glow.
To make the stream shorter change your value in PSYS_PART_MAX_AGE, .8, to a smaller number, like maybe .4
|
|
Amaliel Syaka
Registered User
Join date: 15 Sep 2006
Posts: 16
|
12-18-2006 23:02
From: Vares Solvang Use PSYS_PART_EMISSIVE_MASK TRUE to make it glow.
To make the stream shorter change your value in PSYS_PART_MAX_AGE, .8, to a smaller number, like maybe .4 ok, got the age thing no problem, thank you. What exactly do I have to add for the emissive mask? I just added PSYS_PART_EMISSIVE_MASK, TRUE, and got a rule #8 error
|
|
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
|
12-19-2006 00:36
From: Amaliel Syaka ok, got the age thing no problem, thank you.
What exactly do I have to add for the emissive mask? I just added
PSYS_PART_EMISSIVE_MASK, TRUE,
and got a rule #8 error PSYS_PART_EMISSIVE_MASK is a flag setting default { state_entry() { llParticleSystem([PSYS_SRC_PATTERN, PSYS_SRC_PATTERN_ANGLE, PSYS_PART_FLAGS,PSYS_PART_EMISSIVE_MASK, PSYS_PART_START_ALPHA, 1.0, PSYS_PART_END_ALPHA, 0.0, PSYS_PART_START_SCALE, <0.05,0.05,0.05>, PSYS_PART_END_SCALE, <0.025,0.025,0.025>, PSYS_PART_START_COLOR, <0.0,0.7,0.7>, PSYS_PART_MAX_AGE, .4, PSYS_SRC_BURST_RATE, .2, PSYS_SRC_ACCEL, <0,0,0>]); }
}
|