Jump to content

ShrapnelCount

From ModEnc²
Revision as of 10:59, 2 March 2025 by en>DeathFish
Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: ShrapnelCount
File(s): Rules(md).ini
Values: Signed integers
Default: 0
Applicable to: Projectiles


This flag sets the amount of ShrapnelWeapon shots to fire.

Positive numbers are processed literally.

Negative mean "subtract the parent weapon's Range from the absolute value of this", for example, ShrapnelCount=-8 would fire 8 - parent weapon's Range shots.

If set to 0 (the default value), ShrapnelWeapon will assign a corresponding value based on the number of available target objects within the range defined by the sub weapon's Range.