MyEffectivenessCoefficient
Weights a candidate target by how much damage this object's own warhead does to that candidate's armor.
Specification
- Applies to
- AircraftTypeBuildingTypeInfantryTypeUnitType
- File
rules.ini- Section
[<ObjectType ID>]- Value
- floating point
- When omitted
- ComputedTakes the value of MyEffectivenessCoefficientDefault in [General], which is itself 0 when that key is absent too.
The coefficient multiplies the Verses percentage of the weapon this object would choose against the candidate, measured against the candidate’s armor class. A positive value pulls the object toward candidates it damages efficiently and a negative one pushes it away from them. It is read from the type of the object doing the choosing, never from the candidate’s type.
[MYTANK] ; example UnitTypeMyEffectivenessCoefficient=2See also — target-selection