Jump to content

AreaFire: Difference between revisions

From ModEnc²
en>DCoder
No edit summary
 
Rain-Islet (talk | contribs)
m [bot] Batch update {{Bugs}} templates.
 
(11 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{DeeZireInclusion}}<br />
{{flag
Can be set to 'yes' or 'no' and specifies whether or not the weapon is fired at the cell currently occupied by the firer and does damage in a radius around it. This is used for the 'deploy' type weapons such as the Desolator. NOTE: due to this logic, this only works on Secondary= weapons whose function requires the unit to deploy.
|values={{values|Boolean}}
|default=No
|types={{Categ|Weapon|Weapons}}
|ra2=yes
|yr=yes
}}
 
Setting this tag to 'yes' causes this weapon's [[Warhead]] to be detonated at the cell currently occupied by the firer, instead of firing the weapon at the target. This attack method is used by the [[DESO|Desolator]] in {{ra2}}.
 
=={{bugs}}==
Due to the way the logic is handled, [[InfantryTypes|infantry]] can use such weapons only as their deploy weapon, otherwise they will not fire it at all. If the <tt>AreaFire</tt> weapon is the [[Primary]] or [[ElitePrimary]], the unit may approach the target, and then do nothing.
 
Using <tt>AreaFire</tt> on a {{f|LimboLaunch|yes|link}} weapon, may result in the unit returning to its original cell immediately, before detonating the warhead.

Latest revision as of 17:09, 2 July 2025

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: AreaFire
File(s): rules(md).ini
Values: Boolean values: yes or no, true or false, 1 or 0
Default: No
Applicable to: Weapons


Setting this tag to 'yes' causes this weapon's Warhead to be detonated at the cell currently occupied by the firer, instead of firing the weapon at the target. This attack method is used by the Desolator in Red Alert 2.

Bugs/Side-Effects/Unexpected Limitations

Due to the way the logic is handled, infantry can use such weapons only as their deploy weapon, otherwise they will not fire it at all. If the AreaFire weapon is the Primary or ElitePrimary, the unit may approach the target, and then do nothing.

Using AreaFire on a LimboLaunch=yes weapon, may result in the unit returning to its original cell immediately, before detonating the warhead.