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

ShrapnelCount: Difference between revisions

From ModEnc
Jump to navigation Jump to search
Nighthawk200 (talk | contribs)
m Template Updated
Testid123 (talk | contribs)
mNo edit summary
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:
|name=ShrapnelCount
|name=ShrapnelCount
|files={{Categ|Rules(md).ini}}
|files={{Categ|Rules(md).ini}}
|values=Signed integers
|values={{Values|integer|127}}
|default=0
|default=0
|types={{Categ|Projectile|Projectiles}}
|types={{Categ|Projectile|Projectiles}}
Line 9: Line 9:
|rp=yes
|rp=yes
}}
}}
 
This flag sets the amount of {{f|ShrapnelWeapon|link}} shots to fire.<br>
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.
Positive numbers are processed literally.<br>
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.<br>
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}}.

Latest revision as of 05:18, 3 March 2025

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.