Jump to content

Spread: Difference between revisions

From ModEnc²
en>Crimsonum
m 13 revisions imported
 
(4 intermediate revisions by 2 users not shown)
Line 4: Line 4:
|name={{PAGENAME}}
|name={{PAGENAME}}
|files={{Categ|Rules(md).ini}}
|files={{Categ|Rules(md).ini}}
|values={{values|int}}
|values={{values|unsigned integers}}
|types={{Categ|Tiberiums}}
|types={{Categ|Tiberiums}},{{Categ|TiberiumTypes}}
|ts=yes
|ts=yes
|fs=yes
|fs=yes
Line 19: Line 19:
|name={{PAGENAME}}
|name={{PAGENAME}}
|files={{Categ|Rules(md).ini}}
|files={{Categ|Rules(md).ini}}
|values={{values|int}}
|values={{values|unsigned integer}}
|default=1
|default=1
|types={{Categ|Warheads}}
|types={{Categ|Warheads}}
Line 33: Line 33:
}}
}}
Specifies the radius, in pixels<ref>In {{ts}}, this is measured horizontally due to the pseudo-isometric perspective of the game.</ref>, 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. [[File:ts_warhead_spread_map.png|thumb|frame|This illustration shows all damage falloff patterns in {{ts}}. On each step from the epicenter, damage is decreased by 50% from the previous step. Note the maximum area of effect and the four corner [[Cell Spots]] which are excluded from it.]]
Specifies the radius, in pixels<ref>In {{ts}}, this is measured horizontally due to the pseudo-isometric perspective of the game.</ref>, 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. [[File:ts_warhead_spread_map.png|thumb|frame|This illustration shows all damage falloff patterns in {{ts}}. On each step from the epicenter, damage is decreased by 50% from the previous step. Note the maximum area of effect and the four corner [[Cell Spots]] which are excluded from it.]]
{{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}}.


==See Also==
==See Also==

Latest revision as of 21:05, 31 March 2025

On Tiberiums

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: Spread
File(s): Rules(md).ini
Values: Unsigned integers: All non-negative whole numbers from 0 to either 32767, 2147483647 or 4294967295.
Applicable to: Tiberiums,TiberiumTypes


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

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: Spread
File(s): Rules(md).ini
Values: Unsigned integers: All non-negative whole numbers from 0 to either 32767, 2147483647 or 4294967295.
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.
This illustration shows all damage falloff patterns in Tiberian Sun. On each step from the epicenter, damage is decreased by 50% from the previous step. Note the maximum area of effect and the four corner Cell Spots which are excluded from it.

See Also

Notes

  1. ↑ In Tiberian Sun, this is measured horizontally due to the pseudo-isometric perspective of the game.