AIIonCannonThiefValue
The ion cannon rating a computer house gives an enemy vehicle thief.
- Applies to
- global rules
- File
rules.ini- Section
[General]- Value
- list of integers
- When omitted
(empty)
The rating applies only while the thief’s strength is at or below IonCannonDamage. A thief above that figure keeps the starting rating of 1. The computer strikes one of the candidates that share the highest rating, so this value matters only against the other ratings; the computer’s use lists them.
A vehicle thief is an InfantryType with VehicleThief=yes. A type that is also an engineer takes AIIonCannonEngineerValue instead, because the engineer test runs first. Other infantry at or below IonCannonDamage is rated 2.
The list holds one rating for each difficulty slot, in slot order 0, 1, 2. The firing house’s slot selects the entry. Give all three entries in a rules file or the map. If neither sets the key, the game crashes the first time the computer rates a thief at or below IonCannonDamage. A list with fewer than three entries gives an unpredictable rating in the slots it does not cover.
IonCannonDamage, superweapons