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
The figure is a fraction from 0 to 1, drawn against once per frame, and it applies in the band between ConditionRed and ConditionYellow. Below ConditionRed the draw uses ConditionRedSparkingProbability instead; at or above ConditionYellow no draw is made at all, so an undamaged object never sparks whatever this figure says.
ConditionRedSparkingProbability covers the rest of the conditions a spark system has to meet before it starts.