Skip to content

MaxEC

The base lifetime of a particle, in frames.

Specification
Applies to
ParticleType
File
rules.ini
Section
[<ObjectType ID>]
Value
integer
When omitted
1

A particle is created with this many frames to live plus a random extra, and is removed when the count reaches zero. For a Railgun particle the extra is a fixed 0 to 9 frames; for every other behavior it is a random amount smaller than this value itself, so a cloud created in one burst thins out over a spread of frames roughly as wide as the lifetime rather than vanishing all at once. Frames run fifteen to the second, so 900 is a game minute.

Expiring is also what triggers a NextParticle successor, and a particle that is killed early by DeleteOnStateLimit, by striking the ground, or by slowing to a halt spawns its successor just the same.