Jump to content

ShrapnelCount: Difference between revisions

From ModEnc²
en>Nighthawk200
m Template Updated
en>DeathFish
mNo edit summary
Line 10: Line 10:
}}
}}


This flag sets the amount of <tt>[[ShrapnelWeapon]]=</tt> shots to fire. Positive numbers are processed literally, while negative mean "subtract the parent weapon's Range from the absolute value of this", for example, <tt>ShrapnelCount=-8</tt> would fire <tt>8 - parent weapon's Range</tt> shots.
This flag sets the amount of {{f|ShrapnelWeapon|link}} shots to fire.
 
Positive numbers are processed literally.
 
Negative mean "subtract the parent weapon's {{f|Range|link}} from the absolute value of this", for example, {{tt|ShrapnelCount}}={{tt|-8}} would fire {{tt|8 - parent weapon's {{f|Range|link}}}} shots.
 
If set to {{tt|0}} (the default value), {{f|ShrapnelWeapon|link}} will assign a corresponding value based on the number of available target objects within the range defined by the sub weapon's {{f|Range|link}}.

Revision as of 10:59, 2 March 2025

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.