[sldev] Re: The "flashing particles" bug isn't a flashing particles bug... (Callum Lerwick)

Argent Stonecutter secret.argent at gmail.com
Fri Jun 15 14:12:04 PDT 2007


> Unfortunately, in world, we're stuck with bling kiddies bitching about
> their purchased bling scripts breaking, who have not been given the
> freedom to just fix the damn script on their own (or with help).
>
> Really, LSL needs API versioning of some kind.

It's got it, kinda. You can change the constants used in the particle  
system, eg:

PSYS_PART_SOURCE_POS_MASK (0x800)  Particle's position is maintained  
relative to the source object's position.

Then change the code so that PSYS_PART_FOLLOW_SOURCE_MASK is  
interpreted in the client by jamming BURST_RADIUS to zero and setting  
SOURCE_POS_MASK.

The other thing I'd really like to change is to make it honor  
START_ALPHA < END_ALPHA. You could do this similarly, create new  
parameters PSYS_PART_ALPHA_BEGIN and PSYS_PART_ALPHA_END and retain  
compatibility by jamming START_ALPHA to the max of START and END.


More information about the SLDev mailing list