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

AIDefendAgainst

From ModEnc
Revision as of 07:13, 27 November 2009 by EvilRenegade (talk | contribs) (Replacing Template:TTL with Template:F.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to 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: AIDefendAgainst
File(s): rules(md).ini
Values: Boolean values: yes or no, true or false, 1 or 0
Default: No
Applicable to: SuperWeaponTypes


This tag determines whether the AI will utilise the Force Shield, or a Super Weapon with Type=ForceShield to defend itself against attacks by the Super Weapon this is attached to.

The probability that the AI will fire the Force Shield if this is set to yes is determined using AISuperDefenseProbability, AISuperDefenseFrames and AISuperDefenseDistance. Of course, it also relies on the Force Shield actually being ready to begin with.

Now, when playing around with this tag, use it sensibly. Attaching it to something like Psychic Reveal is just stupid, as every time you use it to spy on the AI's base, they'll fire up their Force Shield.