Secondary
The WeaponType in the object type's second weapon slot.
Specification
- Applies to
- AircraftTypeBuildingTypeInfantryTypeUnitType
- File
rules.ini- Section
[<ObjectType ID>]- Value
- class
- When omitted
none
Weapon choice scores both slots against each target and takes the higher, so the second slot is used only where it beats the first. Each slot scores as its warhead’s Verses percentage against the target’s armor multiplied by 1000, doubled while the target is inside that slot’s range and zeroed while the slot cannot fire; a tie goes to Primary. The elite substitution never touches this slot.
[MYTANK] ; example UnitTypePrimary=MyCannon ; each names its own weapon sectionSecondary=MyMachineGunWriting none or <none> empties the slot, and an ID with no section of its own registers a WeaponType carrying only its defaults.
See also — target-selection