ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
Primary: Difference between revisions
Jump to navigation
Jump to search
EvilRenegade (talk | contribs) m Replacing Template:TTL with Template:F. |
EvilRenegade (talk | contribs) m Replacing Template:NeedTesting with Template:NeedsTesting. |
||
Line 20: | Line 20: | ||
*Attacking overlays (such as walls). Note that a unit whose {{f|Secondary|link}} weapon can attack walls, but {{tt|Primary}} weapon can't, will not, in fact, be able to attack walls. | *Attacking overlays (such as walls). Note that a unit whose {{f|Secondary|link}} weapon can attack walls, but {{tt|Primary}} weapon can't, will not, in fact, be able to attack walls. | ||
*The unit's {{f|Secondary|link}} weapon's [[warhead]]'s {{f|Verses|link}} value for the {{f|Armor|link}} type of the target matches that for the unit's {{tt|Primary}} weapon. | *The unit's {{f|Secondary|link}} weapon's [[warhead]]'s {{f|Verses|link}} value for the {{f|Armor|link}} type of the target matches that for the unit's {{tt|Primary}} weapon. | ||
{{ | {{NeedsTesting}} | ||
*Scanning the area for targets. | *Scanning the area for targets. | ||
<br> | <br> |
Latest revision as of 09:56, 27 November 2009
Flag: | Primary |
File(s): | Rules(md).ini |
Values: | Strings: Normal text. (Limited to: Weapons) |
Applicable to: | TechnoTypes |
Specifies the main weapon of the TechnoType for which this flag is set.
The Primary weapon is always used when:
- Force-firing at the ground
- Attacking overlays (such as walls). Note that a unit whose Secondary weapon can attack walls, but Primary weapon can't, will not, in fact, be able to attack walls.
- The unit's Secondary weapon's warhead's Verses value for the Armor type of the target matches that for the unit's Primary weapon.
- Scanning the area for targets.
Red Alert 2 and Yuri's Revenge introduced units with special-case methods for specifying weapons - the IFV, Prism Tank and Gattling Cannon use WeaponX in place of Primary.
Current Primary Weapon
The weapon that a unit considers to be its actual primary weapon is not always determined simply by Primary. If the unit has both TurretCount and WeaponCount flags set then it will use WeaponX instead. If the unit is elite then it will use ElitePrimary or EliteWeaponX respectively instead.
If a unit has a current primary weapon then it is used as the unit's default DeathWeapon.
See Also
Weapons | |||||
---|---|---|---|---|---|
Warheads | |||||
---|---|---|---|---|---|
Projectiles | |||||
---|---|---|---|---|---|