Skip to content

XVelocity

One horizontal axis of the spread of speeds a spark is thrown at.

Specification
Applies to
ParticleType
File
rules.ini
Section
[<ObjectType ID>]
Value
integer
When omitted
1
rules.ini
[MYSPARK] ; a ParticleType registered in [Particles]
BehavesLike=Spark
MaxEC=500
XVelocity=10 ; sparks are thrown up to 10 leptons a frame along this axis, either way
YVelocity=10
MinZVelocity=40
ZVelocityRange=15

Every spark in a burst is thrown at its own random speed along this axis — anything up to this figure, either way — measured in leptons a frame. The three axis settings do two jobs at once: together they fix how fast the spark travels, and they fix which way it goes. Whichever direction the holding system then applies — its own spawn direction, or one random direction shared by the whole burst — is added to that vector and the result is scaled back to the speed the three settings produced, so widening the spread makes a burst both faster and looser.

Only Spark particles are thrown this way. Every other behavior takes its speed from Velocity and ignores the three axis settings. A negative figure behaves as its magnitude does, since the spread is symmetrical either way.