OccupyWeapon: Difference between revisions
Re-adding autolist marker |
m , update the template, and remove previously mentioned See Also entries. |
||
(5 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{Flag | {{Flag | ||
| | |values={{Values|strings|[[Weapons]]}} | ||
|default={{f|Primary|link}} | |||
| | |types={{Categ|InfantryTypes}} | ||
|types={{Categ| | |||
|yr=yes | |yr=yes | ||
| | |ares=yes | ||
}} | }} | ||
This flag specifies the [[Weapons|weapon]] that an [[InfantryTypes|infantry]] with {{f|Occupier|yes|link}} should fire when occupying a [[BuildingTypes|building]] with {{f|CanBeOccupied|yes|link}} and {{f|MaxNumberOccupants|link}} set to a positive [[Help:Values#Integers|integer]] greater than 0. | |||
If the infantry's veterancy status is "elite", it will instead use the weapon specified by {{f|EliteOccupyWeapon|link}}. | |||
The range of any weapon fired by an occupant is overridden by {{sl|CombatDamage|OccupyWeaponRange}}. Those weapons also get additional multiplers to {{f|Damage|link}} and {{f|ROF|link}} specified by {{sl|CombatDamage|OccupyDamageMultiplier}} and {{sl|CombatDamage|OccupyROFMultiplier}}, respectively. | |||
{{Automatictypelist| | If a weapon fired by an occupant has {{f|OccupantAnim|link}} set to any valid [[Animations|animation]], it will be displayed when the weapon is fired accordingly. | ||
{{Automatictypelist|Weapons|Weapons}} | |||
==Different implementation for {{ra2}}== | |||
For {{Ra2}} without the {{Yr}} expansion, which weapon each occupant fires is instead determined by the building itself. {{f|Primary|link}} is used by a player controlling any [[Countries|country]] listed under {{s|Sides|link}}{{arr}}{{f|GDI|link}}<ref name="side name">Note that "GDI" and "Nod" are residual from the {{Ts}} [[engine]] and are treated as the Allied and Soviet sides respectively in {{Ra2}}.</ref>; {{f|Secondary|link}} for {{s|Sides}}{{arr}}{{f|Nod|link}}<ref name="side name"/>. | |||
Interestingly, this akward implementation allows infantry to fire different weapons depending on the building they are occupying. | |||
Those buildings will ignore the tag [[LandTargeting]] and [[NavalTargeting]]. | |||
== See Also == | |||
* {{f|OccupyPip|link}} | |||
==Footnotes== | |||
<references /> |