Jump to content

AIDefendAgainst: Difference between revisions

From ModEnc²
en>DCoder
No edit summary
 
m 3 revisions imported
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{DeeZireInclusion}}<br />
{{Flag
Can be set to 'yes' or 'no' and specifies whether or not the AI will use its Type=ForceShield Super Weapon to defend against attacks by this Super Weapon. This defaults to 'no' and utilizes the probabilities specified by the AISuperDefenseProbability=, AISuperDefenseFrames= and AISuperDefenseDistance= statements.<br />
|name={{PAGENAME}}
(Yuri's Revenge Only)
|files={{Categ|ini=rules}}
|types={{Categ|SuperWeaponTypes}}
|values={{values|Booleans}}
|default=No
|yr=yes
|rp=yes
}}
This tag determines whether the AI will utilise the Force Shield, or a Super Weapon with {{f|Type|ForceShield|link}} 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 {{f|AISuperDefenseProbability|link}}, {{f|AISuperDefenseFrames|link}} and {{f|AISuperDefenseDistance|link}}. 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.

Latest revision as of 21:34, 31 March 2025

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
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.