LandTargeting: Difference between revisions
Nighthawk200 (talk | contribs) m Template Updated |
mNo edit summary |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 4: | Line 4: | ||
|values=0, 1, 2 | |values=0, 1, 2 | ||
|default=0 | |default=0 | ||
|types= | |types={{CatAllTypes}} | ||
|ra2=yes | |ra2=yes | ||
|yr=yes | |yr=yes | ||
|rp=yes | |rp=yes | ||
}} | }} | ||
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 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.<br> | ||
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.". | 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.". | ||
Line 29: | Line 28: | ||
!2{{yro}} | !2{{yro}} | ||
|LAND_SECONDARY | |LAND_SECONDARY | ||
|Can shoot land, but only with secondary | |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> | ¹ <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><br> | ||
² <small>'''Note:''' Has some hard coded effects, such as not actively attacking enemies on land.<br> | |||
*This sentence alone allows ships to use [[Secondary]] weapons to deal with land without the need for NavalTargeting=7, as detailed in the [[NavalTargeting]] entry.</small> | |||
==Primary/Secondary Land/Naval issues== | ==Primary/Secondary Land/Naval issues== | ||
NavalTargeting=1 | NavalTargeting=1 | ||
Line 48: | Line 48: | ||
LandTargeting=2 | LandTargeting=2 | ||
This section is just ment to show that Naval- & LandTargeting aren't mutually exclusive, and can confuse the hell out of you as well as the game. Apart from the usual checks, you should watch them double closely if you're doing any extended Primary/Secondary magic. | This section is just ment to show that Naval- & LandTargeting aren't mutually exclusive, and can confuse the hell out of you as well as the game. Apart from the usual checks, you should watch them double closely if you're doing any extended Primary/Secondary magic. | ||
==Note== | |||
*[[TechnoTypes]] with the tag {{f|Deployer|yes|link}}+{{f|DeployFire|yes|link}} will ignore this tag. | |||
{{Bugs}} | |||
*Even with<u><b><font style="color:blue">LandTargeting=2</font></b></u> But <u><b>[[VehicleTypes]]</b></u> and <u><b>[[BuildingTypes]]</b></u>with the tag <u><b>{{f|IsGattling|yes|Link}}</b></u> did not follow <b><u><font style="color:blue">LandTargeting=2</font></u></b> | |||
==See also== | ==See also== | ||
*[[NavalTargeting]] | *[[NavalTargeting]] | ||
*[[AA]]/[[AG]]'s notes on paratroopers. | *[[AA]]/[[AG]]'s notes on paratroopers. | ||
Latest revision as of 08:37, 6 October 2024
Flag: | LandTargeting |
File(s): | rules(md).ini |
Values: | 0, 1, 2 |
Default: | 0 |
Applicable to: | TechnoTypes:
AircraftTypes, BuildingTypes, InfantryTypes and VehicleTypes |
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 | 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.
² Note: Has some hard coded effects, such as not actively attacking enemies on land.
- This sentence alone allows ships to use Secondary weapons to deal with land without the need for NavalTargeting=7, as detailed in the NavalTargeting entry.
NavalTargeting=1 LandTargeting=2
NavalTargeting=3 LandTargeting=2
NavalTargeting=7 LandTargeting=1
NavalTargeting=4 LandTargeting=2
This section is just ment to show that Naval- & LandTargeting aren't mutually exclusive, and can confuse the hell out of you as well as the game. Apart from the usual checks, you should watch them double closely if you're doing any extended Primary/Secondary magic.
Note
- TechnoTypes with the tag Deployer=yes+DeployFire=yes will ignore this tag.
Bugs/Side-Effects/Unexpected Limitations
- Even withLandTargeting=2 But VehicleTypes and BuildingTypeswith the tag IsGattling=yes did not follow LandTargeting=2
See also
- NavalTargeting
- AA/AG's notes on paratroopers.