Jump to content

ThreatPosed

From ModEnc²
Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: Sight
File(s): Rules(md).ini
Values: Unsigned integers: All non-negative whole numbers from 0 to either 32767, 2147483647 or 4294967295.
Default: ?(not 0 or 1)
Applicable to: TechnoTypes:

AircraftTypes, BuildingTypes, InfantryTypes and VehicleTypes



Determines the threat rating of this object used in the threat evaluation and targeting logic. Should be set on a scale of 0 - 100. You should set this to 0 if you use the special case of setting SpecialThreatValue=1 otherwise the special threat logic can be nullified. You should ensure this is set to 0 for building add-ons (upgrades) as they are special case structures that do not actually exist by default (they are normally displayed as auxiliary animations on the parent structure rather than as a new structure). Finally, this should be set to 0 for objects which are purely anti-air as aircraft do not use the threat rating values. NOTE: high values for this on BuildingTypes have been known to make the AI build many of them.

See Also

The Threat System