ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
ShrapnelCount
Jump to navigation
Jump to search
| 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.
Notes
Apply different rules based on distinct values:
- If ShrapnelCount>0, just ShrapnelCount=int.
- If ShrapnelCount=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.
- If ShrapnelCount<0, the quantity becomes a dynamic value calculated:
- If the firer did not die:
- Negating it and subtracting the distance (in cells) between the firer and the projectile's detonation point.
- For example, ShrapnelCount=-8 whould fire -(-8) - distance (in cells) shots
- If the result is ≤0, no effect will be generated.
- Negating it and subtracting the distance (in cells) between the firer and the projectile's detonation point.
- If the firer is dead or disappeared before the projectile detonates, the value is fixed at 3.
- If the firer did not die: