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
Rewrite
Crimsonum (talk | contribs)
Added info about cluster projectile behaviour.
 
(5 intermediate revisions by 4 users not shown)
Line 3: Line 3:
|files={{Categ|Rules(md).ini}}
|files={{Categ|Rules(md).ini}}
|values=Strings (Names of Weapons)
|values=Strings (Names of Weapons)
|special=None
|default=none
|types={{Categ|Projectile|Projectiles}}
|types={{Categ|Projectile|Projectiles}}
|games=[[TS]], [[RA2]], [[YR]]
|ts=yes
|fs=yes
|ets=yes
|ra2=yes
|yr=yes
|rp=yes
}}
}}


If set, this projectile will fly over its target and detonate, firing a salvo of these weapons down on and around the target. To work properly, the projectile also needs <tt>[[Airburst]]=yes</tt>, and the amount of shots to fire is defined by <tt>[[Cluster]]=</tt>. <br />
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:'' no matter the amount of shots you set, those weapons will only cover the 3x3 cell area centered on the target.  
'''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.


'''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.
==See also==
*[[Airburst]]
*[[Cluster]]
*[[Splits]]
 
==Footnotes==
<references/>
 
{{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.