Features:
- say sounds (sounds triggered by chat messages)
- admin only say sounds
- integrated sound list (try sm_soundlist command)
- player configurable spam filter (try sm_saysounds command)
- can be switched off by players (also try sm_saysounds command)
- random sounds (a chat trigger picks a random file from a list)
- connect/disconnect sounds
- bomb timer (fully configurable)
- event sounds
- a small PHP script for displaying the playback statistics can be found
in the download section of fragaholics.de
Installation:
- extract the zip file into your souremod directory
- edit configs/BEsaysounds.cfg to your needs
Test servers:
- 193.192.59.90:27015
Known limitations/bugs:
- Currently running only on Counter Strike: Source
- Only sounds below the cstrike/sound directory can be used (e.g. not those lying in hl2)
- If the say command is ran from the console the text needs to be enclosed in quotes, e.g. say "hi"
Some notes to the usage:
- If you want not to use one of the features, you can remove all entries from the config file regarding this feature but you need to keep the (empty) section. E.g. if you do not want to use the bomb timer, just keep this:
- You can add any number sounds triggered by game events in the "events" section. Just look
here which events are supported by the game.
- Beware, some sound formats are not supported by the source engine and thus cannot be used for this plugin. I recommend always using MP3s with 44.1 kHz sampling rate and 16 bits per channel. As encoder I use lame with the options "-q0 -V6" (variable bit rate).
- The example config has a missing "}". The random sound section "cu" should look like:
Code:
"cu" {
"files" { // random sound
"1" "misc/cu.mp3"
"2" "misc/another_cu.mp3"
// place any number of consecutive numbered files here
}
}
(Will be fixed in the next release)
- Two important commands can be triggered from chat: !soundlist (which prints a soundlist into the chat) and !saysounds (which popups a configuration menu for the player).
Updates:
- 0.1f (2008-06-08):
* Fixed spam filter not working recent releases
- 0.1e (2008-06-03):
* Fixed error messages on SM 1.1.0 snapshots
- 0.1d (2008-05-30):
* Fixed compilation on SourceMod 1.1.0 snapshots
- 0.1c (2008-05-29):
* Fixed compilation problem again (was lost in 0.1b)
- 0.1b (2008-05-28):
* Sound list ist no longer truncating after the first admin sound
- 0.1a (2008-05-27):
* Fixed compilation problems (wrong include paths on some platforms)