Jump to content

NavalTargeting

From ModEnc²
Revision as of 17:52, 5 May 2006 by en>DCoder
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
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.