EliteOccupyWeapon
Flag: | EliteOccupyWeapon |
File(s): | rules(md).ini |
Values: | Strings: Normal text. (Limited to: Weapons) |
Default: | ElitePrimary |
Applicable to: | InfantryTypes |
This flag specifies the weapon that an infantry with Occupier=yes and whose veterancy status is "elite" should fire when occupying a building with CanBeOccupied=yes and MaxNumberOccupants set to a positive integer greater than 0.
If the infantry's veterancy status is "green" or "veteran", it will instead use the weapon specified by OccupyWeapon.
The range of any weapon fired by an occupant is overridden by [CombatDamage]→OccupyWeaponRange. Those weapons also get additional multiplers to Damage and ROF specified by [CombatDamage]→OccupyDamageMultiplier and [CombatDamage]→OccupyROFMultiplier, respectively.
If a weapon fired by an occupant has OccupantAnim set to any valid animation, it will be displayed when the weapon is fired accordingly.
Automatic List Inclusion
Weapons used as values for this flag are automatically listed under the internal [Weapons] array. However no harm can be done by listing them manually.