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

Difference between revisions of "LandTargeting"

From ModEnc
Jump to: navigation, search
 
Line 1: Line 1:
{{DeeZireInclusion}}<br />
+
{{Flag
Can be set to '0', '1' or '2' and is used as an over-ride on this object to determine whether or not it is allowed to target land based objects. This logic was necessitated by the fact that Red Alert 2 introduced naval-only units. Setting this to '0' (default) means the object can legally target land units, whereas '1' indicates that it cannot. In Yuri's Revenge a value of '2' can also be used which indicates that the unit can target land based objects but only with its Secondary= weapon.
+
|name=LandTargeting
 +
|files=rules(md).ini
 +
|values=0, 1, 2
 +
|special=None
 +
|default=0
 +
|types=All *Types
 +
|games=RA/YR
 +
}}
 +
This flag determines whether an object can fire on land units (as opposed to naval units) or not. In YR, it additionally can allow land targeting only with the secondary weapon.
 +
 
 +
This flag, along with <tt>[[NavalTargeting]]</tt>, was likely introduced because technically, ships are ground-level units as well, and a simple AG=yes <strike>would have</strike> does allow Submarines, for example, to fire torpedoes through the water, over the ground, into a tank. This, of course, is not desired. Therefore, the additional target area distinction between "Land" and "Naval" was created. The originally intended <tt>AN</tt> and <tt>AS</tt> were probably dismissed because they were not "complex" enough, allowing only a simple "Can fire on submarines? Yes." rather than something like "Can fire on submarines? Yes, but only with it's Secondary.".
 +
 
 +
 
 +
{| align="center" cellspacing="2" cellpadding="4" style="border-collapse: collapse; border: 1px dashed #000000;background:#F0F0F0;"
 +
!bgcolor="#e5e5e5" style="border-bottom: 1px solid #000000;border-right: 1px solid #000000;"|Value
 +
!bgcolor="#e5e5e5" style="border-bottom: 1px solid #000000;border-left: 1px solid #000000;border-right: 1px solid #000000;"|Basic game interpretation
 +
!bgcolor="#e5e5e5" style="border-bottom: 1px solid #000000;border-left: 1px solid #000000;"|Explanation from rules
 +
|-
 +
!bgcolor="#e5e5e5" style="border-bottom: 1px solid #000000;border-right: 1px solid #000000;border-top: 1px solid #000000;"|0
 +
|style="border: 1px solid #000000;"|LAND_OKAY
 +
|style="border-bottom: 1px solid #000000;border-left: 1px solid #000000;border-top: 1px solid #000000;"|Land is okay
 +
|-
 +
!bgcolor="#e5e5e5" style="border-bottom: 1px solid #000000;border-right: 1px solid #000000;border-top: 1px solid #000000;"|1
 +
|style="border: 1px solid #000000;"|LAND_NOT_OKAY
 +
|style="border-bottom: 1px solid #000000;border-left: 1px solid #000000;border-top: 1px solid #000000;"|Land is not okay¹
 +
|-
 +
!bgcolor="#e5e5e5" style="border-right: 1px solid #000000;border-top: 1px solid #000000;"|2 (YR)
 +
|style="border-left: 1px solid #000000;border-right: 1px solid #000000;border-top: 1px solid #000000;"|LAND_SECONDARY
 +
|style="border-left: 1px solid #000000;border-top: 1px solid #000000;"|Can shoot land, but only with secondary weapon
 +
|}
 +
 
 +
 
 +
¹ <small>'''Note:''' The rules at this point actually say "Land is OK". That is evidently ''wrong'', illustrated by the given game interpretation, supported by the fact that "0" already is "Land is okay", and proven in the wild a thousand times over.</small>
 +
 
 +
==See also==
 +
*[[NavalTargeting]]
 +
*[[AA]]/[[AG]]'s notes on paratroopers.

Revision as of 03:19, 7 May 2006

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: LandTargeting
File(s): rules(md).ini
Values: 0, 1, 2
Special Values: None
Default: 0
Applicable to: All *Types


This flag determines whether an object can fire on land units (as opposed to naval units) or not. In YR, it additionally can allow land targeting only with the secondary weapon.

This flag, along with NavalTargeting, was likely introduced because technically, ships are ground-level units as well, and a simple AG=yes would have does allow Submarines, for example, to fire torpedoes through the water, over the ground, into a tank. This, of course, is not desired. Therefore, the additional target area distinction between "Land" and "Naval" was created. The originally intended AN and AS were probably dismissed because they were not "complex" enough, allowing only a simple "Can fire on submarines? Yes." rather than something like "Can fire on submarines? Yes, but only with it's Secondary.".


Value Basic game interpretation Explanation from rules
0 LAND_OKAY Land is okay
1 LAND_NOT_OKAY Land is not okay¹
2 (YR) LAND_SECONDARY Can shoot land, but only with secondary weapon


¹ Note: The rules at this point actually say "Land is OK". That is evidently wrong, illustrated by the given game interpretation, supported by the fact that "0" already is "Land is okay", and proven in the wild a thousand times over.

See also