Jump to content

ShrapnelWeapon

From ModEnc²
Revision as of 16:16, 20 July 2024 by en>Testid123
Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: ShrapnelWeapon
File(s): rules(md).ini
Values: Strings (Names of Weapons)
Default: none
Applicable to: Projectiles


If set, the warhead will fire this weapon upon detonation, from the impact point, if the impact point is not inside a structure. The amount of shots to fire is set by ShrapnelCount=.
This is used for the Prism Tank reflection effect.

Note: Like with AirburstWeapon, this weapon has to be attached to some (potentially dummy) unit, so that the game loads this weapon at startup time. Failing to do so will result in Internal Errors whenever the shrapnel effect is supposed to fire.

Additional effects

Unlike AirburstWeapons, these can have various additional effects.

Bugs/Side-Effects/Unexpected Limitations

The effects of ShrapnelWeapon occur when attacking Trees and VehicleTypes of your opponent only. ;Effects caused by ShrapnelWeapon have a random number.

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.