-
Notifications
You must be signed in to change notification settings - Fork 2
Introduction
This program is only for Source games. Also please note that captions will look different if you have a custom HUD or modified how captions are displayed.
In the Source Engine a voice command is a pre-defined call that makes the player say a voice line. They are organized in voice menus which are lists of voice commands.
Like this:
A command menu is a voicemenu that is simulated using captions and scripting.
Like this:
Voice menus can be replicated with binds to run any command rather than just voice commands. These are called command menus. Command menus can also recursively run other command menus. Examples of this behavior are in Concise Menu scripts.[1][2]
± - Negligible benefit.
∓ - Negligible downside.
? - Dependent on context.
✓ Benefit.
❌ Downside.
Criteria | Voice menu | Command menu |
---|---|---|
Quick to setup | ✓ | ? Dependent on complexity. |
Localized Strings | ± Users need your custom resource file to see your localized strings. | ∓ Can be mimicked by cycling other voicemenus. |
Assignable gestures | ± Yes | ∓ No |
Command whitelist | ❌ Only voicecommands. | ✓ Any command. |
Maximum VMs usable | ❌ 9 | ✓ Infinite |
Maximum Voicecommands per menu | ❌ 9 | ✓ Infinite |
Formattable? | ❌ No | ✓ Yes |
Cooldown? | ❌ Cooldown increases over spam. | ∓ Only affected by chat cooldown. |
Valid with sv_pure ? |
❌ No | ✓ Yes |
Adaptability | ✓ Adaptable | ? Dependent on complexity. |
Recursive? | ❌ | ✓ |