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

AirburstWeapon: Difference between revisions

From ModEnc
Jump to navigation Jump to search
No edit summary
Crimsonum (talk | contribs)
Added info about cluster projectile behaviour.
 
(One intermediate revision by one other user not shown)
Line 12: Line 12:
}}
}}


If set, this projectile will fly over its target and detonate, firing ''X'' instances of this weapon down on and around the target, where ''X'' is the <tt>[[Cluster]]</tt> set on the projectile. To work properly, the projectile also needs <tt>[[Airburst]]=yes</tt>. Those 9 shots will cover the 3x3 cell area centered on the target.  
If set, this [[projectile]] will fly over its target and detonate, firing 9<ref>or the amount defined in {{f|Cluster|link}} if this projectile also has {{f|Splits|yes|link}}</ref> of these weapons down on and around the target. To work properly, the projectile also needs {{f|Airburst|yes|link}}. If the cluster projectiles are of [[ROT#ROT.3D1|homing]] type, they will spread in a 7x7 (in [[cells]]) square around the target. Otherwise, they will cover a smaller 3x3 area centered on the target. In addition, the [[speed#On_WeaponTypes|speed]] of homing cluster projectiles is [[hardcoded]] to approximately 20.
This was used for the MultiMissile in TS.


'''Note:''' Like with <tt>[[ShrapnelWeapon]]</tt>, the weapon referenced here must be attached to some (potentially dummy) unit, so that the game loads it at startup. Failure to do so will result in [[Internal Error]]s when this weapon is supposed to fire.
'''Note:''' Like with {{f|ShrapnelWeapon|link}}, the weapon referenced here must be attached to some (potentially dummy) [[TechnoType]], so that the game loads it at startup. Failure to do so will result in [[Internal Error]]s when this weapon is supposed to fire.
 
==See also==
*[[Airburst]]
*[[Cluster]]
*[[Splits]]
 
==Footnotes==
<references/>


{{Automatictypelist}}
{{Automatictypelist}}

Latest revision as of 10:14, 23 December 2019

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: AirburstWeapon
File(s): Rules(md).ini
Values: Strings (Names of Weapons)
Applicable to: Projectiles


If set, this projectile will fly over its target and detonate, firing 9[1] of these weapons down on and around the target. To work properly, the projectile also needs Airburst=yes. If the cluster projectiles are of homing type, they will spread in a 7x7 (in cells) square around the target. Otherwise, they will cover a smaller 3x3 area centered on the target. In addition, the speed of homing cluster projectiles is hardcoded to approximately 20.

Note: Like with ShrapnelWeapon, the weapon referenced here must be attached to some (potentially dummy) TechnoType, so that the game loads it at startup. Failure to do so will result in Internal Errors when this weapon is supposed to fire.

See also

Footnotes

  1. or the amount defined in Cluster if this projectile also has Splits=yes

Automatic List Inclusion

Objects used as values for this flag are automatically listed under the appropriate internal array. However no harm can be done by listing them manually.