Skip to content

2.5. Configuration: Sounds

shavit edited this page Aug 2, 2017 · 1 revision

Path to configuration file: addons/sourcemod/configs/shavit-sounds.cfg

The shavit-sounds.cfg plugin can play specific sounds for events that happen within bhoptimer.
Such as: The very first record on the style/track, beating your own personal best, getting a new server record record or even setting a specific ranked record.

Configuration

The following is the default configuration:

// default config.
// modify this plugin and reset the plugin on the server side, or restart the server.
// absolutely DON'T use 'sound/' in the paths
// absolutely DON'T have spaces anywhere in paths
//
// format:
// "record_type" "path/to/sound/file.ext"
//
// first - first record on map and style ever
// personal - personal best
// world - new server WR
// worst - worst record for the track/style
// number - rank on map, only one per rank (example: "1" "shavit/pro.mp3"), will play for every player. overrides others
"first" "shavit/fr_1.mp3"
"personal" "shavit/pb_1.mp3"
"world" "shavit/wr_1.mp3"
"world" "shavit/wr_2.mp3"
"world" "shavit/wr_3.mp3"
"world" "shavit/wr_4.mp3"

The configuration is straightforward.

You can add different sounds for rank #2 or #3 for example. Here's the configuration for it:

"2" "shavit/almost.mp3"
"3" "shavit/yousucklol.mp3"