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

SprayAttack: Difference between revisions

From ModEnc
Jump to navigation Jump to search
Testid123 (talk | contribs)
mNo edit summary
Testid123 (talk | contribs)
mNo edit summary
 
Line 15: Line 15:
*Adding this to Parasite units This will cause strange behavior regarding parasitic units.
*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 <b><u>{{f|Sonic|yes|Link}} </u></b> on its <u><b>[[warhead]]</b></u>
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 <b><u>{{f|Sonic|yes|Link}} </u></b> on its <u><b>[[warhead]]</b></u>
*If there Is <b><u><font style="color:blue">SprayAttack=yes</font></u></b> tag This tag will disable the tag <b><u>{{f|IsSonic|Yes|link}}</u></b>
*If there Is <b><u><font style="color:blue">SprayAttack=yes</font></u></b> tag This tag will disable the tag <b><u>{{f|IsMagBeam|Yes|link}}</u></b>

Latest revision as of 04:15, 15 September 2024

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)

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

  • If there Is SprayAttack=yes tag This tag will disable the tag IsSonic=Yes
  • If there Is SprayAttack=yes tag This tag will disable the tag IsMagBeam=Yes