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

OccupyWeapon: Difference between revisions

From ModEnc
Jump to navigation Jump to search
Re-adding autolist marker
m Replacing Template:TTL with Template:F.
Line 9: Line 9:
}}
}}


Specifies the weapon that this unit should use when occupying an urban structure or bunker. The unit should have {{TTL|Occupier}}=yes set.
Specifies the weapon that this unit should use when occupying an urban structure or bunker. The unit should have {{f|Occupier|link}}=yes set.


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


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


{{Automatictypelist|2=Weapons}}
{{Automatictypelist|2=Weapons}}

Revision as of 08:22, 27 November 2009

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.

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.