ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

EliteOccupyWeapon

From ModEnc
Revision as of 01:37, 7 December 2009 by Vinifera7 (talk | contribs) (Revised. Did you know that this defaults to ElitePrimary and not OccupyWeapon? I didn't.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Tiberian Dawn The Covert Operations Red Alert Counterstrike Aftermath Tiberian Sun Firestorm HyperPatch Red Alert 2 Yuri's Revenge Ares Generals Zero Hour Tiberium Wars Kane's Wrath
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.

See also