Skip to content

VoiceDie

The responses an object speaks as it is destroyed.

Specification
Applies to
AircraftTypeBuildingTypeInfantryTypeUnitType
File
rules.ini
Section
[<ObjectType ID>]
Value
list of sounds
When omitted
(empty)
rules.ini
[MYTANK] ; a UnitType registered in [VehicleTypes]
VoiceDie=MYTANK_Die1,MYTANK_Die2 ; sound IDs registered in SOUND.INI

When damage destroys an object, it speaks one entry picked at random from this list. The response plays before the object’s debris, its explosion animation and any Explodes=yes blast.

Unlike the order responses, it is a placed sound at the object’s position, so it fades and pans with where the object is on screen; see Placed sounds. The owner does not matter: an enemy object dying in view is heard the same as one of the player’s own.

Names are matched as described in Writing the list.