ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
DamageLevels
Jump to navigation
Jump to search
| 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.
Notes
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.
Bugs/Side-Effects/Unexpected Limitations
OverlayTypes with Armor=wood can be destroyed by warheads with Wood=yes, but unlike the usual calculation rules for Wall=yes, for standalone (not connected to others) OverlayTypes, this can destroy the last two Damage Levels in one go.