Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Making a Pulsating glow in in only x-y planes, not Z.

Johnny Night
Registered User
Join date: 18 Apr 2005
Posts: 33
04-28-2005 14:36
I have an objec that has 2 prims on top of it, and on the bottom. in the middle is a thin strip that is a light. I would like it to pulsate. ANy ideas? I'm tried using the open source Emmission particles from wiki, no luck.
Jeffrey Gomez
Cubed™
Join date: 11 Jun 2004
Posts: 3,522
04-28-2005 14:55
To make it pulsate, you will want to set PSYS_SRC_BURST_RATE, or whatever documentation is used for that (rate, time, etc). See if you can get a copy of Eltee's or Ama Omega's Particle Scripts - those are two of the easiest and best I know.

For your example:
CODE
llParticleSystem([PSYS_PART_FLAGS, PSYS_PART_WIND_MASK | PSYS_PART_EMISSIVE_MASK,
PSYS_SRC_PATTERN, PSYS_SRC_PATTERN_EXPLODE,
PSYS_PART_START_COLOR, <1,0,0>, PSYS_SRC_BURST_RATE, 5.0, PSYS_PART_MAX_AGE, 0.5, PSYS_SRC_BURST_PART_COUNT, 5]);

Add more to that as needed, if you want to do it the hard way.
_____________________
---
Johnny Night
Registered User
Join date: 18 Apr 2005
Posts: 33
04-28-2005 15:04
Well see my problem is it pulsates a big blob...I dont want that...I want it to be just the strip pulsating....
Jeffrey Gomez
Cubed™
Join date: 11 Jun 2004
Posts: 3,522
04-28-2005 15:28
Then toy with PSYS_PART_START_SCALE and PSYS_PART_END_SCALE.

Seriously, get one of those two example scripts if you can. They'll help you out quite a bit.
_____________________
---
Johnny Night
Registered User
Join date: 18 Apr 2005
Posts: 33
04-28-2005 16:16
that is what i'm working for....the results just arent what I'm looking for
Brian Mifflin
Scripting Addict
Join date: 15 Dec 2004
Posts: 182
04-28-2005 18:14
Use PSYS_SRC_PATTERN_ANGLE, or ANGLE_CONE....should be what you're looking for, I have a nifty script to make a spiral come out on only the x-y planes, hit me up inworld if you want it.
_____________________
Johnny Night
Registered User
Join date: 18 Apr 2005
Posts: 33
04-28-2005 18:46
Yeah, that was better, but just didn't do the trick. A good example would be a halo, I've seen people with them. Unless anyone has any other ideas of emulating a pulsating strip of light.
Olmy Seraph
Valued Member
Join date: 1 Nov 2004
Posts: 502
04-29-2005 12:36
You could take a non-particle approach. Use an animated texture that is a gradient from the on to the off color and back. 16 frames ramping from white to x% grey and back would probably do it. Then apply the color you want. You could even make the prim material type light - since you're not making a big prim you shouldn't have light pollution issues.
_____________________
Some people are like Slinkies... not really good for anything, but they sure bring a smile to your face when you push them down the stairs.