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

ShrapnelCount

From ModEnc
Revision as of 05:18, 3 March 2025 by Testid123 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
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: ShrapnelCount
File(s): Rules(md).ini
Values: Signed integers: All whole numbers from -2147483648 to 2147483647; in rare cases, only from -32768 to 32767. (Limited to: 127)
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.