Skip to content

NaturalParticleLocation

Where a structure's continuous particle plume sits, relative to the structure.

Specification
Applies to
AircraftTypeBuildingTypeInfantryTypeUnitType
File
rules.ini
Section
[<ObjectType ID>]
Value
offset (x,y,z)
When omitted
0,0,0
rules.ini
[MYSMOKESTACK] ; a BuildingType registered in [BuildingTypes]
NaturalParticleSystem=MYSTEAMSYS ; a ParticleSystemType registered in [ParticleSystems]
NaturalParticleLocation=0,-40,180 ; the chimney mouth

The value is an X, Y and Z offset in leptons, 256 to a cell, from the structure’s position. The structure’s NaturalParticleSystem starts at that point. Only a BuildingType uses it.

The offset also decides whether a cloaked structure gets its plume back. Cloaking removes the plume when the structure becomes fully transparent. When the structure is fully visible again, the plume is recreated only if this offset is not 0,0,0. A structure whose plume belongs at its exact position can use an offset such as 0,0,1 to keep the plume through cloaking.