TurretAnimDamaged
The turret animation a building shows once it is damaged.
- Applies to
- BuildingType
- File
rules.ini- Section
[<ObjectType ID>]- Value
- string
- When omitted
- ComputedThe `TurretAnim` value, copied across whenever nothing has set this key.
The value is an AnimType ID, as for TurretAnim. A building switches its turret animation to this one when its health falls to ConditionYellow or below, and back to TurretAnim once repairs lift it above. The new animation continues from the frame the old one had reached, so a turret part way through its sequence does not restart. The building’s other animations switch to their damaged forms at the same moment.
A damaged building that starts charging a Charges=yes weapon also uses this animation. The TurretAnim crash warning applies to this name in that case.
A TurretAnimIsVoxel=yes building takes its model name from TurretAnim alone. This key has no effect on it unless its primary weapon is Charges=yes; a damaged one then starts this animation when it begins to charge, and the same crash warning applies.