View Single Post
Author Message
Spartan_C001
Senior Member
Join Date: Jul 2013
Old 08-22-2013 , 15:26   Quake Sounds v3 [6th-Jun-2016]
Reply With Quote #1

Quake Sounds v3
Version: 3.5.0

Description
  • 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.
Supported Games:
  • Counter Strike:Source
  • Day of Defeat:Source
  • Half Life 2: Deathmatch
  • Team Fortress 2
  • Counter Strike:Global Offensive
  • Other games *might* work, try it (and report any success)
Limitations and How to Change Them:
  • Max Number of Sets (default 5): in quakesoundsv3.sp change #define MAX_NUM_SETS 5
  • Max Kill Streak value (default 50): in quakesoundsv3.sp change #define MAX_NUM_KILLS 50
Installation

Basic (everything just works);
  1. Download Quake_Sounds_v3.zip, extract contents of GameServer folder into your servers game folder (and FastDL to your fastdl server if you have one).
  2. Compile the plugin using "Get Plugin", place this in '<game>/addons/sourcemod/plugins/'.
Advanced setup (for those who like to have everything perfectly customised);
  1. Edit plugin.quakesounds.cfg in '<game>/cfg/sourcemod/' To your liking.
  2. Edit Sound Set Configs in '<game>/addons/sourcemod/configs/quake/' to your liking.
  3. Translations file is 'plugin.quakesounds.txt in '<game>/addons/sourcemod/translations/'.
Configuration

1. QuakeSetsList.cfg

"SetsList"
{
"sound sets"
{
"sound set 1" "standard"
"sound set 2" "female"
"sound set 3" "" << Add name of sound set config here!
"sound set 4" ""
"sound set 5" ""
}
}

2. Sound Set configs (dependant on your configuration)

"SoundSet"
{
"headshot"
{
"0" << Plays the sound on every headshot
{
"sound" "quake/standard/headshot.mp3" << Sound file to play
"config" "9" << Configuration setting for this sound
}
"1" << Number of kills required to play the sound
{
"sound" "quake/standard/headshot.mp3" << Sound file to play
"config" "9" << Configuration setting for this sound
}
}
}

"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

3. plugin.quakesounds.txt (translations)

"headshot" << This is used when config is set to always play headshots
{
"#format" "{1:s}"
"en" "{1} Headshot"
"de" "{1} Kopfschuss"
"fr" "{1} aime les grosses tĂȘtes !!"
}
"headshot 1" << Number of Kills required to play the sound
{
"#format" "{1:s}"
"en" "{1} Headshot"
"de" "{1} Kopfschuss"
"fr" "{1} aime les grosses tĂȘtes !!"
}
"headshot 3" << Number of Kills required to play the sound
{
"#format" "{1:s}"
"en" "{1} Hattrick"
"de" "{1} Hattrick"
"fr" "{1} Tour du chapeau"
}

CVARS
  • sm_quakesoundsv3_version: The version number of the plugin... Do NOT Touch!
  • sm_quakesoundsv3_announce: Enables the plugin announcement on player join.
  • sm_quakesoundsv3_text: The default text setting for new users.
  • sm_quakesoundsv3_sound: The default sound setting for new users.
  • sm_quakesoundsv3_teamkill_mode: Teamkill setting; 0=Normal, 1=Teamkills act as normal kills (and teamkill sounds wont be played).
  • sm_quakesoundsv3_volume: The volume of all the sounds played by the plugin, 0.0 = 0%, 1.0 = 100%. (Note: This has no effect in CS:GO)
  • sm_quakesoundsv3_combo_time: Max time in seconds between kills that will count as combo; 0.0=Minimum, 2.0=Default.
To Do List (Future Features):
  • None (as yet).
Previous Version Downloads;
  • 19370 views.
Latest Update Details;
  • 3.5.0 - (06-Jun-2016)
  • Update to custom EmitSound method - Should now work properly on all games including CS:GO since recent updates messed stuff up.
  • Game Detection method changed - Should be more efficient, not that it was that bad anyway.
Attached Files
File Type: zip Quake_Sounds_v3.zip (3.12 MB, 59668 views)
File Type: sp Get Plugin or Get Source (quakesoundsv3.sp - 27052 views - 40.1 KB)

Last edited by Spartan_C001; 06-06-2016 at 10:06.
Spartan_C001 is offline