ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
Spread: Difference between revisions
Jump to navigation
Jump to search
Added a note about hardcoded damage. |
|||
Line 35: | Line 35: | ||
{{bugs}} | {{bugs}} | ||
Even if {{f|MinDamage|link}} is set to 0 or lower, warheads are hardcoded to deal at least 1 damage point to 'all' [[Cell Spots|cell spots]] within the maximum area of effect, excluding some special warheads like {{f|EMEffect|link}}. | Even if {{f|MinDamage|link}} is set to 0 or lower, warheads are hardcoded to deal at least 1 damage point to ''all'' [[Cell Spots|cell spots]] within the maximum area of effect, excluding some special warheads like {{f|EMEffect|link}}. | ||
==See Also== | ==See Also== |
Revision as of 19:05, 23 April 2020
On Tiberiums
Flag: | Spread |
File(s): | Rules(md).ini |
Values: | Signed integers: All whole numbers from -2147483648 to 2147483647; in rare cases, only from -32768 to 32767. |
Applicable to: | Tiberiums |
Specifies the spread rate, in frames, of this Tiberium/ore type. In other words, this flag determines the delay between each spread check. Once this many frames has passed, each OverlayTypes instance of this Tiberium type will roll a dice to determine if they will actually spread. The global flag TiberiumSpreads can be used to disable spread for all Tiberium types for a particular game or map.
On Warheads
Flag: | Spread |
File(s): | Rules(md).ini |
Values: | Signed integers: All whole numbers from -2147483648 to 2147483647; in rare cases, only from -32768 to 32767. |
Default: | 1 |
Applicable to: | Warheads |
Logic related to Spread, as a whole or in part, is obsolete in Red Alert 2 and/or Yuri's Revenge. |
Specifies the radius, in pixels[1], of each damage falloff step of this warhead. This is measured from the point of impact outwards, in a circle. In effect, the warhead itself forms the epicenter of the explosion.
Bugs/Side-Effects/Unexpected Limitations
Even if MinDamage is set to 0 or lower, warheads are hardcoded to deal at least 1 damage point to all cell spots within the maximum area of effect, excluding some special warheads like EMEffect.
See Also
- Damage calculation over area – for a more in-depth look at how damage falloff works.
- CellSpread – the successor to Spread in Red Alert 2.
Notes
- ↑ In Tiberian Sun, this is measured horizontally due to the pseudo-isometric perspective of the game.