ConditionYellowSparkingProbability
Chance each frame that a damaged object starts throwing sparks.
Specification
- Applies to
- global rules
- File
rules.ini- Section
[General]- Value
- floating point
- When omitted
.01
While an object’s strength is below ConditionYellow but not below ConditionRed, this is the chance each frame that it starts throwing damage sparks. The value is a fraction: 0 never starts sparks, and 1 or more starts them on practically every frame the chance is drawn.
Below ConditionRed, ConditionRedSparkingProbability applies instead. At or above ConditionYellow no chance is drawn, so an object that has not dropped below ConditionYellow never sparks, whatever this value is. When the two thresholds are equal, as their engine defaults are, this value never applies.
ConditionRedSparkingProbability lists the other conditions sparks need and how often a new spark system can start.