Skip to content

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.

rules.ini
[MYHUNTER] ; example UnitType
TargetSpecialThreatCoefficient=1
[MYPRIZE] ; example UnitType worth hunting
SpecialThreatValue=50
See alsotarget-selection