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

Difference between revisions of "Primary"

From ModEnc
Jump to: navigation, search
m (Fixed grammar, added see also section)
(Updated 'n' Stuff)
Line 1: Line 1:
 
{{Flag
 
{{Flag
|name=Primary
 
 
|files={{Categ|Rules(md).ini}}
 
|files={{Categ|Rules(md).ini}}
 
|values={{Values|string|[[Weapons]]}}
 
|values={{Values|string|[[Weapons]]}}
|types={{Categ|InfantryTypes}}, {{Categ|VehicleTypes}}, {{Categ|AircraftTypes}}, {{Categ|BuildingTypes}}
+
|types={{Categ|TechnoTypes}}
 
|ra=yes
 
|ra=yes
 
|cs=yes
 
|cs=yes
Line 15: Line 14:
 
}}
 
}}
  
This flag specifies the main weapon of this object. The main weapon is used when force-firing on the ground, attacking overlays (such as walls), and scanning the area for targets. If the <tt>[[Verses]]</tt> on both <tt>[[Primary]]=</tt> and <tt>[[Secondary]]=</tt> allow targeting of a certain object, the <tt>[[Primary]]=</tt> will be selected.
+
<code>Primary</code> specifies the main weapon of the TechnoType for which this flag is set.
  
RA2/YR has introduced other methods for specifying weapons for special cases i.e. the IFV, the Prism Tank, and Gattling weapons.
+
{{NeedTesting}}
 +
{{Quote|Previous Revision's Author|The main weapon is used when force-firing on the ground, attacking overlays (such as walls), and scanning the area for targets.}}
  
==See also==
+
{{tt|Primary}} takes precedence over [[Secondary]] when the {{TTL|Verses}} values for each of their [[Warhead]]s corresponding to the target's {{TTL|Armor}} type are equal.
  
* [[IsChargeTurret]]
+
{{Ra2}} and {{Yr}} introduced special-case methods for specifying weapons &mdash; namely, the IFV, Prism Tank, and Gattling Cannon use [[WeaponX]] in place of {{tt|Primary}}.
* [[WeaponX]]
+
 
* [[IsGattling]]
+
 
 +
 
 +
==See Also==
 +
* [[Targeting System]]
 +
 
 +
 
 +
 
 +
{{WeaponsRelated}}

Revision as of 09:13, 20 April 2008

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: Primary
File(s): Rules(md).ini
Values: Strings: Normal text. (Limited to: Weapons)
Applicable to: TechnoTypes


Primary specifies the main weapon of the TechnoType for which this flag is set.

Template:NeedTesting

Lily-ul.png
Lily-ur.png
Previous Revision's Author:
 
 
The main weapon is used when force-firing on the ground, attacking overlays (such as walls), and scanning the area for targets.
Lily-dl.png
Lily-dr.png
 


Primary takes precedence over Secondary when the Template:TTL values for each of their Warheads corresponding to the target's Template:TTL type are equal.

Red Alert 2 and Yuri's Revenge introduced special-case methods for specifying weapons — namely, the IFV, Prism Tank, and Gattling Cannon use WeaponX in place of Primary.


See Also


Weapon c4.png Armament System related Flags on ModEnc