Jump to content

DamageLevels

From ModEnc²
Revision as of 21:40, 31 March 2025 by MarkJFox (talk | contribs) (2 revisions imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: DamageLevels
File(s): Art(md).ini
Values: Unsigned integers: All non-negative whole numbers from 0 to either 32767, 2147483647 or 4294967295.
Default: 1
Applicable to: OverlayTypes


Specifies how many damage states this building should have, including the normal, intact state. Only applicable to walls.

For example, DamageLevels=3 means the wall will have one normal state and two damage states (one set of normal frames and two sets of damage frames).

Increasing this value also means the wall becomes proportionately harder to destroy (unless the attacker's warhead has WallAbsoluteDestroyer=yes set) due to how wall durability is calculated.