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

Difference between revisions of "AirburstWeapon"

From ModEnc
Jump to: navigation, search
 
(Added info about cluster projectile behaviour.)
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{DeeZireInclusion}}<br />
+
{{Flag
Specifies the weapon that is fired when this projectile explodes above its target. For this to work, the projectile also requires Airburst=yes, and the AirburstWeapon= itself must be defined as a weapon in its own right in the RULES file, with its own Projectile= and Warhead=, and that weapon must be allocated to a unit in the game (typically a 'placeholder' solely for this purpose) even if that unit never actually gets used.
+
|name=AirburstWeapon
 +
|files={{Categ|Rules(md).ini}}
 +
|values=Strings (Names of Weapons)
 +
|types={{Categ|Projectile|Projectiles}}
 +
|ts=yes
 +
|fs=yes
 +
|ets=yes
 +
|ra2=yes
 +
|yr=yes
 +
|rp=yes
 +
}}
 +
 
 +
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.
 +
 
 +
'''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}}

Latest revision as of 12: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

Cc documentinfo.png 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.