SpawnDirection
The direction a spark burst is thrown in.
- Applies to
- ParticleSystemType
- File
rules.ini- Section
[<ObjectType ID>]- Value
- vector
- When omitted
0,0,0
Three comma-separated components, added to each spark’s own randomly picked velocity before the sum is normalized and scaled back to the speed it had. The setting therefore bends a shower toward a direction without changing how fast its sparks travel, and how strongly it bends depends on its size against the particle type’s own velocity ranges. Left at zero, the sparks scatter as those ranges alone dictate.
[MyVentSys] ; a ParticleSystemType registered in [ParticleSystems]BehavesLike=SparkHoldsWhat=MySpark ; a ParticleType registered in [Particles]ParticleCap=25SparkSpawnFrames=20SpawnDirection=0,0,60 ; sparks thrown upwardOnly the Spark behavior reads it, and one caller sets it aside: each of the seven to nine systems thrown up when a vehicle or aircraft is destroyed by the firestorm warhead — the type named by DefaultFirestormExplosionSystem — picks a bias of its own at random for the whole burst instead, which is what makes those explosions differ from one another.