The plugin plays sounds and displays text at certain events sometimes based on the number of kills. It currently includes by default two separate sound sets from Quake, a male set and a female set. The sounds and events can be configured.
Installation
1. for quakesoundslist.cfg
"headshot"
{
"0" <– (NOTE: plays the sound for every head shot) Number of Kills required to play the sound
{
"standard" "quake/headshot.mp3"
"female" "quake/female/headshot.mp3"
"config" "0"
}
"1" <– Number of Kills required to play the sound
{
"standard" "quake/headshot.mp3"
"female" "quake/female/headshot.mp3"
"config" "0"
}
}
"config" ""
The field works as follows:
0: Off
1: Play sound to everyone
2: Play sound to attacker
4: Play sound to victim
8: Print text to everyone
16: Print text to attacker
32: Print text to victim
You need to add the above values to get your value
If you want to play sounds and text to everyone 1 + 8 = 9
If you want to print text to everyone but only want sounds to play for those involved: 2 + 4 + 8 = 14
2. for plugin.quakesounds.txt
"headshot 1" <– 1 = Number of Kills required to play the sound
{
"#format" "{1:s},{2:s}"
"en" "{1} Headshot"
"de" "{1} Kopfschuss"
"fr" "{1} aime les grosses têtes !!"
}
"headshot 3" <– 3 = Number of Kills required to play the sound
{
"#format" "{1:s},{2:s}"
"en" "{1} Hattrick"
"de" "{1} Hattrick"
"fr" "{1} Tour du chapeau"
}
CVARS
Changes From the Original- Added: client preferences (AKA: cookies or clientprefs)
- Removed: keyvalues for client settings
- Fixed bugs & optimized (The original does not work properly)
- Changed: how quakesoundslist.cfg is read and configured
- Changed: how plugin.quakesounds.txt is configured
- Added: DOD head shot support
- Added: Client preferences menu support (!settings)
Installation
- Pick one of the attached .sp files based on the game your server runs.
quakesounds_css.sp - put sm_quakesounds.cfg in cstrike/cfg/sourcemod
- extract "quake.zip" and put the generated folder called "quake" in cstrike/sound
- put plugin.quakesounds.txt in cstrike/addons/sourcemod/translations
- put quakesoundslist.cfg in cstrike/addons/sourcemod/configs
- compile quakesounds_<game>.sp in the forum by clicking the "Get Plugin" link
- put the generated quakesounds_<game>.smx in cstrike/addons/sourcemod/plugins
1. for quakesoundslist.cfg
"headshot"
{
"0" <– (NOTE: plays the sound for every head shot) Number of Kills required to play the sound
{
"standard" "quake/headshot.mp3"
"female" "quake/female/headshot.mp3"
"config" "0"
}
"1" <– Number of Kills required to play the sound
{
"standard" "quake/headshot.mp3"
"female" "quake/female/headshot.mp3"
"config" "0"
}
}
"config" ""
The field works as follows:
0: Off
1: Play sound to everyone
2: Play sound to attacker
4: Play sound to victim
8: Print text to everyone
16: Print text to attacker
32: Print text to victim
You need to add the above values to get your value
If you want to play sounds and text to everyone 1 + 8 = 9
If you want to print text to everyone but only want sounds to play for those involved: 2 + 4 + 8 = 14
2. for plugin.quakesounds.txt
"headshot 1" <– 1 = Number of Kills required to play the sound
{
"#format" "{1:s},{2:s}"
"en" "{1} Headshot"
"de" "{1} Kopfschuss"
"fr" "{1} aime les grosses têtes !!"
}
"headshot 3" <– 3 = Number of Kills required to play the sound
{
"#format" "{1:s},{2:s}"
"en" "{1} Hattrick"
"de" "{1} Hattrick"
"fr" "{1} Tour du chapeau"
}
CVARS
- sm_quakesounds_version: The version number
- sm_quakesounds_enable [1/0]: Enables the plugin
- sm_quakesounds_announce: Enables the plugin announcement
- sm_quakesounds_text: The default text setting for new users
- sm_quakesounds_sound: The default sound setting for new users