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

OccupyWeapon

From ModEnc
Revision as of 10:22, 27 November 2009 by EvilRenegade (talk | contribs) (Replacing Template:TTL with Template:F.)
Jump to: navigation, 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: OccupyWeapon
File(s): Rules(md).ini
Values: Strings: Normal text. (Limited to: Weapons)
Applicable to: TechnoTypes


Specifies the weapon that this unit should use when occupying an urban structure or bunker. The unit should have Occupier=yes set.

The unit will then fire its designated OccupyWeapon from the structure at a specific global OccupyWeaponRange and damage the target using the weapon's Damage multiplied by OccupyDamageMultiplier(global). The rate of fire of the weapon should be the weapon's ROF multiplied by OccupyROFMultiplier(global).

When the unit has become elite, it will use its EliteOccupyWeapon. If there is no such tag set, it will continue using its OccupyWeapon to fire.

Cc documentinfo.png Automatic List Inclusion

Weapons used as values for this flag are automatically listed under the appropriate internal array. However no harm can be done by listing them manually.