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

NavalTargeting

From ModEnc
Revision as of 17:52, 5 May 2006 by DCoder (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
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: NavalTargeting
File(s): rules(md).ini
Values: ERROR – No value types set! Please edit this page and fix the Flag template!

This entry was copied from DeeZire's Red Alert 2 and Yuris Revenge INI Editing Guide for the sake of completeness. As it is not our intention to rip off DeeZire's work, this article is subject to a re-write and update with the latest community knowledge.

For further information, please read Inclusion of The Guide.




Used as an over-ride on this object to determine whether or not it is allowed to target naval based objects and if so which type it can target. This logic was necessitated by the fact that Red Alert 2 introduced naval-only and underwater units. Can be set to any of the following;-

0=UNDERWATER_NEVER
Unit cannot fire at objects with Underwater=yes set

1=UNDERWATER_SECONDARY
Can only will fire at Underwater=yes with its Secondary= weapon

2=UNDERWATER_ONLY
Can only fire at units with Underwater=yes set

3=ORGANIC_SECONDARY
Only fires at units with Organic=yes set with its Secondary= weapon

4=SEAL_SPECIAL

	Uses Primary= on units with MovementZone=Amphibious and/or Organic=yes set, and uses Secondary= 	on units with Naval=yes and/or Underwater=yes but not Organic=yes set.


5=NAVAL_ALL
Uses Primary= on everything with Naval=yes set.

6=NAVAL_NONE
Is not allowed to shoot any naval targets.

7=NAVAL_PRIMARY (YR)

Uses Primary= on Naval=yes target and Secondary= on land based target. Can cause confusion if an amphibious target is chosen.