ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
VoiceComment
Jump to navigation
Jump to search
| Flag: | VoiceComment |
| File(s): | Rules(md).ini |
| Values: | Comma-separated list of strings. (Limited to: Sounds) |
| Default: | none |
| Applicable to: | InfantryTypes |
Specifies a list of voice lines or sounds emitted by this infantry unit when it's standing idle.
While standing idle, the unit will play the first entry in this list at random, hardcoded intervals. This sound is only heard by the infantry's owner. The second entry in the list, if any, is always played when the unit is produced, similar to CreateSound, and this sound is heard by all players.
If you want the unit to produce a sound when created but not produce any idle sounds, you can do the following:
[INFANTRYTYPE] VoiceComment=DUMMY,CREATESOUND ;DUMMY is a nonexistent sound while CREATESOUND is the sound that you want the unit to play when it's created