VoiceAttack
The responses an object speaks when the player orders it to attack.
Specification
- Applies to
- AircraftTypeBuildingTypeInfantryTypeUnitType
- File
rules.ini- Section
[<ObjectType ID>]- Value
- list of sounds
- When omitted
(empty)
[MYTANK] ; a UnitType registered in [VehicleTypes]VoiceAttack=MYTANK_Atk1,MYTANK_Atk2 ; sound IDs registered in SOUND.INIOnly a player-issued attack order reaches this list. The acknowledgement is chosen before the order is carried out, on the mission alone, so it is spoken whether or not the object turns out to have a weapon that can reach the target; every other order the player gives answers with VoiceMove instead. An attack an object starts on its own — retaliation, guarding, a computer house’s orders — speaks nothing.
One entry is picked at random and played at full volume, without distance fading. Ordering a group produces one response, not one per object. Names are matched and picked as VoiceSelect describes.