AirburstWeapon: Difference between revisions
Millennium (talk | contribs) No edit summary |
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 | 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 | '''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
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
- ↑ 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.