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
No edit summary
 
Testid123 (talk | contribs)
mNo edit summary
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{DeeZireInclusion}}<br />
{{Flag
Specifies the number of times that the ShrapnelWeapon= will fire from the point of impact of the original weapon. Positive numbers specify exactly how many are fired, whilst using a negative number means that the number of shrapnel weapons fired is based on the Range= of the original weapon - for example, ShrapnelCount=-10 would fire (10 - ( Range= value in cells of original weapon)) further weapons.
|name=ShrapnelCount
|files={{Categ|Rules(md).ini}}
|values={{Values|integer|127}}
|default=0
|types={{Categ|Projectile|Projectiles}}
|ra2=yes
|yr=yes
|rp=yes
}}
This flag sets the amount of {{f|ShrapnelWeapon|link}} shots to fire.<br>
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.