i'm at a loss here ....
ive used a free script i got at the particlelab, named "JP Sample Beam Script"
this script creates a vertical beam,
now ive tried to make the same beam but horizontal,
this works fine until i copy it and paste this into another script inside another prim,
this is where the oddnes and problem starts....
when i run that script i get a vertical beam again, ive checked the script and everything was ok but the effect was not, while the original script was also stil running this showed me a horizontal beam.
Ive checked both script 10 times and i found no difference at all they are exactly the same
so i turned to a scripting group and asked them abouth this, got the advise to tp to another sim, what i did and there duplicated the same script, again the same problem, vertical instead of horizontal,
so i returned to my place again where the 2 scripts where stil running...
now the original and the copy became vetical beams !?
My first guess was that this is a BUGG in SL but ....
Today i tried the same script again ( horizontal beam ) again it worked, i tp'd out and back and now the beam stay'd horizontal !! ??
Now i'm totaly lost, so i have paste the 2 scripts below for you folks to check this out,
and if anyone could let me know if it is possible to create a horizontal beam inside SL
please let me know, ive been working on this problem for over a week now

//Vertical Beam script
default {
state_entry() {
llParticleSystem([
PSYS_SRC_TEXTURE, llGetInventoryName(INVENTORY_TEXTURE, 0),
PSYS_PART_START_SCALE, <.0,1.0, 0>, PSYS_PART_END_SCALE, <.1,4.0, 0>,
PSYS_PART_START_COLOR, <1,1,1>, PSYS_PART_END_COLOR, <1,0,0>,
PSYS_PART_START_ALPHA, 1.0, PSYS_PART_END_ALPHA, 0.0,
PSYS_SRC_BURST_PART_COUNT, 5,
PSYS_SRC_BURST_RATE, 0.1,
PSYS_PART_MAX_AGE, 2.0,
PSYS_SRC_MAX_AGE, 0.0,
PSYS_SRC_PATTERN, 4, // 1=DROP, 2=EXPLODE, 4=ANGLE, 8=ANGLE_CONE,
PSYS_SRC_ACCEL, <0.0,0.0,0.0>,
// PSYS_SRC_BURST_RADIUS, 0.0,
PSYS_SRC_BURST_SPEED_MIN, 1.0, PSYS_SRC_BURST_SPEED_MAX, 3.0,
PSYS_SRC_ANGLE_BEGIN, 0*DEG_TO_RAD, PSYS_SRC_ANGLE_END, 0*DEG_TO_RAD,
PSYS_SRC_OMEGA, <0,0,0>,
// PSYS_SRC_TARGET_KEY, llGetLinkKey(llGetLinkNum() + 1),
PSYS_PART_FLAGS, ( 0
| PSYS_PART_INTERP_COLOR_MASK
| PSYS_PART_INTERP_SCALE_MASK
| PSYS_PART_EMISSIVE_MASK
| PSYS_PART_FOLLOW_VELOCITY_MASK
// | PSYS_PART_WIND_MASK
// | PSYS_PART_BOUNCE_MASK
// | PSYS_PART_FOLLOW_SRC_MASK
// | PSYS_PART_TARGET_POS_MASK
// | PSYS_PART_TARGET_LINEAR_MASK
) ] );
}
}
//Horizontal beam script
default {
state_entry() {
llParticleSystem([
PSYS_SRC_TEXTURE, llGetInventoryName(INVENTORY_TEXTURE, 0),
PSYS_PART_START_SCALE, <.0,1.0, 0>, PSYS_PART_END_SCALE, <.1,4.0, 0>,
PSYS_PART_START_COLOR, <1,1,1>, PSYS_PART_END_COLOR, <1,0,0>,
PSYS_PART_START_ALPHA, 1.0, PSYS_PART_END_ALPHA, 0.0,
PSYS_SRC_BURST_PART_COUNT, 5,
PSYS_SRC_BURST_RATE, 0.1,
PSYS_PART_MAX_AGE, 2.0,
PSYS_SRC_MAX_AGE, 0.0,
PSYS_SRC_PATTERN, 4, // 1=DROP, 2=EXPLODE, 4=ANGLE, 8=ANGLE_CONE,
PSYS_SRC_ACCEL, <0.0,0.0,0.0>,
// PSYS_SRC_BURST_RADIUS, 0.0,
PSYS_SRC_BURST_SPEED_MIN, 1.0, PSYS_SRC_BURST_SPEED_MAX, 3.0,
PSYS_SRC_ANGLE_BEGIN, 90*DEG_TO_RAD, PSYS_SRC_ANGLE_END, 90*DEG_TO_RAD,
PSYS_SRC_OMEGA, <0,0,0>,
// PSYS_SRC_TARGET_KEY, llGetLinkKey(llGetLinkNum() + 1),
PSYS_PART_FLAGS, ( 0
| PSYS_PART_INTERP_COLOR_MASK
| PSYS_PART_INTERP_SCALE_MASK
| PSYS_PART_EMISSIVE_MASK
| PSYS_PART_FOLLOW_VELOCITY_MASK
// | PSYS_PART_WIND_MASK
// | PSYS_PART_BOUNCE_MASK
// | PSYS_PART_FOLLOW_SRC_MASK
// | PSYS_PART_TARGET_POS_MASK
// | PSYS_PART_TARGET_LINEAR_MASK
) ] );
}
}
The only changes are this =
PSYS_SRC_ANGLE_BEGIN, 90*DEG_TO_RAD, PSYS_SRC_ANGLE_END, 90*DEG_TO_RAD,
thanks for any help
Axelle

