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

AITargetingType: Difference between revisions

From ModEnc
Jump to navigation Jump to search
Nighthawk200 (talk | contribs)
One RockPatch flag.
 
m Replacing Template:TTL with Template:F.
 
Line 36: Line 36:
Super Weapon numbers not listed above will either have no effect; have no noticable functionality; or perform the same function as an already listed number.
Super Weapon numbers not listed above will either have no effect; have no noticable functionality; or perform the same function as an already listed number.


And as a side note, {{TTL|AITargetingType|2}} (i.e. the Iron Curtain) will not result in the AI targeting its own units.
And as a side note, {{f|AITargetingType|2|link}} (i.e. the Iron Curtain) will not result in the AI targeting its own units.

Latest revision as of 07:16, 27 November 2009

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: AITargetingType
File(s): rules(md).ini
Values: Unsigned integers: All non-negative whole numbers from 0 to either 32767, 2147483647 or 4294967295.
Applicable to: SuperWeaponTypes

This flag is part of the RockPatch.



Template:RockPatchFlag This flag determines how the AI will utilise a particular super weapon. The values used here conform to values of items in the [SuperWeaponTypes] list. The only supported values are as follows:

Value Target
0 No targeting type set. AI will not use this super weapon.
1 Use AIIonCannonXXX logic to determine a suitable target. This logic is used by the Nuke and Weather Controller.
5 Target enemy base area with least amount of units and/or base defenses. This logic is used by paradrops.
8 Target largest group of enemy units. This logic is used by the Psychic Dominator.
10 Target largest group of enemy infantry. This logic is used by the Genetic Mutator.

The default value for this tag differs from Type to Type. For example, Nuke Clones will have a value of 1 by default, whereas New Para Drops will have a value of 5.

Super Weapon numbers not listed above will either have no effect; have no noticable functionality; or perform the same function as an already listed number.

And as a side note, AITargetingType=2 (i.e. the Iron Curtain) will not result in the AI targeting its own units.