RetargetAccuracy
Flag: | RetargetAccuracy |
File(s): | rules(md).ini |
Values: | Percentages: Either a direct percentage (e.g. "50%"), or a floating point value (e.g. "0.5"). |
Default: | 0.0 |
Applicable to: | Projectiles |
Defines the probability each cluster split from a Splits=yes warhead aims for the same target the original projectile was fired at. Valid values range from 0% (inaccurate, random targeting) to 100% (accurate, no randomness).
Random Selection
If a cluster is inaccurate, a new target is selected randomly from a list of possible targets. This list contains all units and structures no more than 5 cells (1280 leptons) away from the projectile at the time it splits. The list is filled with random cells from the surrounding 7x7 square until it contains at least as many targets as there are Clusters to be created. If the newly selected target is the firer of the projectile, there is a hardcoded 50% probability another target is chosen once again.
Once a target has been selected, it is removed from the list of possible targets. Thus, a random target can not be targeted more than once for each splitting projectile.