ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

DamageLevels

From ModEnc
Revision as of 22:15, 26 December 2021 by Crimsonum (talk | contribs) (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)
Jump to navigation Jump to search
Tiberian Dawn The Covert Operations Red Alert Counterstrike Aftermath Tiberian Sun Firestorm HyperPatch Red Alert 2 Yuri's Revenge Ares Generals Zero Hour Tiberium Wars Kane's Wrath
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.