AttachedParticleSystem
The particle system a flame, spark or railgun weapon spawns as it fires.
- Applies to
- WeaponType
- File
rules.ini- Section
[<ObjectType ID>]- Value
- string
- When omitted
none
Three flags reach for it, and nothing else does: UseFireParticles=yes, UseSparkParticles=yes and IsRailgun=yes. Each spawns one system of the named type as the shot leaves, and each keeps its own hold on the object, so a weapon that sets two of the flags spawns the same type twice over. Until that system has burned itself out the weapon is refused another shot, which is what ties the effect’s own lifetime to the weapon’s rate of fire.
[MyRailgun] ; example WeaponTypeIsRailgun=yesAttachedParticleSystem=LargeRailgunSys ; a ParticleSystemType registered in [ParticleSystems]AmbientDamage=200Damage=0A name the game does not already know is registered as a new particle system of that name rather than rejected, so a misspelling produces a system with none of the type’s settings filled in instead of an error. Only <none> and an empty value resolve to nothing, and both leave whatever an earlier rules file set in place rather than clearing it.