TargetSpecialThreatCoefficient
Weights a candidate target by the SpecialThreatValue of that candidate's type.
Specification
- Applies to
- AircraftTypeBuildingTypeInfantryTypeUnitType
- File
rules.ini- Section
[<ObjectType ID>]- Value
- floating point
- When omitted
- ComputedTakes the value of TargetSpecialThreatCoefficientDefault in [General], which is itself 0 when that key is absent too.
The coefficient multiplies the candidate type’s SpecialThreatValue, which is the one figure in the threat score authored on the target rather than on the shooter. Set it positive on the types that should hunt whatever a mod marks as valuable, and negative on the types that should leave those alone. It is read from the type of the object doing the choosing.
[MYHUNTER] ; example UnitTypeTargetSpecialThreatCoefficient=1
[MYPRIZE] ; example UnitType worth huntingSpecialThreatValue=50See also — target-selection