AMX Mod Setup Guide
Half-Life server administration by OLO

# speech.ini - Speech menu

The speech.ini file in your addons\amx\config folder contains a list of sounds and words that can be run from the Speech menu that the rest of the players can hear. This is enabled by using the amx_speechmenu command. This is what the default speech.ini looks like:

; Menu configuration file
; File location: $moddir/addons/amx/config/speech.ini
; To use with Commands Menu plugin
; NOTE: By default in all settings the access level is set to "u".
; However you can change that, to limit the access to some settings.
; Commands Menu:
; < description > < command > < flags > < access level >
; "a" - execute from server console
; "b" - execute from admin console
; "c" - execute on all clients
; "d" - back to menu when executed
"Hello!" "spk \'vox/hello\'" "cd" "u"
"Don't think so" "spk \'barney/dontguess\'" "cd" "u"
"Don't ask me" "spk \'barney/dontaskme\'" "cd" "u"
"Hey! Stop that!" "spk \'barney/donthurtem\'" "cd" "u"
"Yup" "spk \'barney/yup\'" "cd" "u"
"Nope" "spk \'barney/nope\'" "cd" "u"
"Maybe" "spk \'barney/maybe\'" "cd" "u"
"Seeya" "spk \'barney/seeya\'" "cd" "u"
"Man that sounded bad" "spk \'barney/soundsbad\'" "cd" "u"
"Hello and die" "spk \'vox/hello and die\'" "cd" "u"
"Move!" "spk \'hgrunt/move! _comma yessir!\'" "cd" "u"
"You will definitely pay!" "spk \'hgrunt/c2a2_hg_chat5a\'" "cd" "u"
"Laughter" "spk \'hgrunt/c2a3_hg_laugh\'" "cd" "u"
"Silence!" "spk \'hgrunt/silence!\'" "cd" "u"
"You talk too much" "spk \'barney/youtalkmuch\'" "cd" "u"
"You thinkin?" "spk \'barney/thinking\'" "cd" "u"
"Open fire Gordon!" "spk \'barney/openfire\'" "cd" "u"
"Couldnt make a bigger mess" "spk \'barney/bigmess\'" "cd" "u"
"I have a Bad feeling" "spk \'barney/badfeeling\'" "cd" "u"
"Yes sir!" "spk \'hgrunt/yessir!\'" "cd" "u"
"No sir" "spk \'barney/nosir\'" "cd" "u"

(Note that a semi-colon ; was inserted at the beginning of some lines. This prevents them from being used.)

The speech menu delivers sounds to the clients via WAV file, or the built in VOX speech system. To add some of your own sounds or phrases to the menu, here is an example:

"Fire in the hole!" "spk \'vox/fire in the hole\'" "cd" "u"
"Stop camping!" "spk \'misc/stopcamping.wav\'" "cd" "u"

The "Fire in the hole!" example uses the built in speech engine and sounds a little better than a speak-n-spell. For a full list of words supported, click here. The second example involves uploading a custom .wav file to the client. There are numerous plugins available for doing this, so find one that suites your needs. Just put the sound in the sound\misc folder in your mod folder. In the above example this sound was called "stopcamping.wav". Now from the Speech menu, this sound can be played so the clients can hear it.

This menu is accessed in the game by typing amx_speechmenu in the console. Or by binding a key to that command. The menu will show up on the left side of your screen while playing and looks like this:

AMX Mod Menu
1. Hello!
2. Don't think so
3. Don't ask me
4. Hey! Stop that!
5. Yup
6. Nope
7. Maybe
8. Seeya
9. More...
0. Exit
1/2

Now just press the number for the sound or phrase you want played and that's it!

Half-Life is a registered trademark of VALVe Software and Sierra
AMX Mod was created by OLO and is not affiliated with VALVe.