Jump to content

DamageLevels: Difference between revisions

From ModEnc²
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..."
 
en>DeathFish
mNo edit summary
Line 1: Line 1:
{{Flag
{{Flag
|name={{PAGENAME}}
|files={{Categ|Art(md).ini}}
|values={{Values|unsigned integer}}
|values={{Values|unsigned integer}}
|default=1
|default=1
|types={{Categ|BuildingTypes}} ([[Wall|Walls]] only)
|types={{Categ|OverlayTypes}}
|ts=yes
|ts=yes
|fs=yes
|fs=yes

Revision as of 23:49, 1 February 2025

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.