Jump to content

DamageLevels

From ModEnc²
Revision as of 00:15, 27 December 2021 by en>Crimsonum (Created page with "{{Flag |values={{Values|unsigned integer}} |default=1 |types={{Categ|BuildingTypes}} (Walls only) |ts=yes |fs=yes |hp=yes |ra2=yes |yr=yes }} Specifies how many dama...")
(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): rules(md).ini
Values: Unsigned integers: All non-negative whole numbers from 0 to either 32767, 2147483647 or 4294967295.
Default: 1
Applicable to: BuildingTypes (Walls only)


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.