SparkSpawnFrames
How many frames a spark system goes on throwing bursts for.
Specification
- Applies to
- ParticleSystemType
- File
rules.ini- Section
[<ObjectType ID>]- Value
- integer
- When omitted
0
The count runs down one a frame, and the system stops emitting and begins to clear away when it reaches the end. Its last frame always throws a burst whatever SpawnSparkPercentage says, so a shower set to 1 is a single guaranteed burst and nothing more. Only the Spark behavior reads it.
[MyWeldingSys] ; a ParticleSystemType registered in [ParticleSystems]BehavesLike=SparkHoldsWhat=MyWeldingSpark ; a ParticleType registered in [Particles]ParticleCap=25SparkSpawnFrames=20SpawnSparkPercentage=.4LightSize=25OneFrameLight=trueOnly the system’s first frame can cast the aging glow described under LightSize, and only when that frame happens to throw a burst, so a longer shower is not a longer light. The steady one-frame light the example sets instead is redrawn for as long as the system still holds a particle, which outlasts the count.