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

SprayAttack

From ModEnc
Revision as of 06:07, 15 September 2024 by Testid123 (talk | contribs)
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: SprayAttack
File(s): rules(md).ini
Values: Boolean values: yes or no, true or false, 1 or 0
Default: no
Applicable to: Warheads


Can be set to 'yes' or 'no' and is used to specify that this units Primary= weapon is randomly sprayed around the unit itself rather than fired at a target using the normal rules of a projectile. The effect is that the weapon is fired at a random cell at any one of the 8 standard compass directions from the unit, rather than at the selected target itself. This was intended for the Chaos Drone although it does not get used as the designers opted to make it 'simple deploy' to fire its weapon instead, then made that weapon affect an area around it.

No matter what weapon TechnoTypes that are defined from any section, such as Primary, ElitePrimary, Secondary, EliteSecondary, Weapon=x, EliteWeapon=x This tag controls and overrides the attack characteristics of all of the above weapons.
(Yuri's Revenge Only)

Cc alert.png Bugs/Side-Effects/Unexpected Limitations

  • Adding this to Parasite units This will cause strange behavior regarding parasitic units.
The Parasitic unit will attack its target and then reveal itself again It was as if it had been hit by a weapon that had Sonic=yes on its warhead