AutoCrush
A parsed per-type flag that nothing acts on, and the IQ at which a computer house starts running things over.
Per-type automatic crushing
- Applies to
- AircraftTypeBuildingTypeInfantryTypeUnitType
- File
rules.ini- Section
[<ObjectType ID>]- Value
- boolean
- When omitted
no- Used by the game
- No — loaded but not used
The flag looks like a per-type version of the rules-wide PlayerAutoCrush, which lets a human player’s vehicles run over an enemy on their own initiative. Neither test that reads it can change the result:
- The decision to drive over an attacker counts the flag only for a house a human plays. The engine makes that decision only for a computer house’s vehicles.
- A vehicle closing on its target drives onto it instead of firing when the target is close enough. That test runs only for a computer house, and it accepts either this flag or a computer owner, so the flag never decides it.
Crushing itself is unaffected. A Crusher=yes vehicle ordered onto something crushable still runs it over. A computer house’s crusher still drives over an attacker once the house’s IQ reaches the rules-wide threshold. The stock harvester sets AutoCrush=yes and the Devil’s Tongue sets AutoCrush=no, and neither setting makes a difference.
IQ threshold
- Applies to
- global rules
- File
rules.ini- Section
[IQ]- Value
- integer
- When omitted
2
A computer house whose IQ is at or above this value lets its vehicles answer being shot by driving over the attacker instead of returning fire. A vehicle does so only when all of these hold, in the order the engine tests them:
- the vehicle is on no team;
- the vehicle is not leaving a transport or factory and is not docked at a building;
- the vehicle’s house is not allied to the attacker;
- the vehicle has
Crusher=yesor has earned the crusher ability; - the attacker has
Crushable=yes; - the attacker is no farther away than
Crush; - the house is not in difficulty slot 2, the
[Difficult]section; - the house’s IQ is at or above this value;
- the attacker is not infantry whose type has
Disguised=yes.