AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   TOG Custom Death Sounds (https://forums.alliedmods.net/showthread.php?t=264829)

ThatOneGuy 06-22-2015 00:49

TOG Custom Death Sounds
 
2 Attachment(s)
Description
This simple plugin was made upon request to play a sound upon a player's death to both the victim and the killer. I separated out the cvars for which sound is heard by each. Leave the cvars blank for no sound to play. No idea if this already exists, and I wouldnt be surprised if it does. But since the guy asked for it, I might as well post it as a plugin, rather than in his thread.

Note: Plugin auto-detects if path is relative to the sounds folder. So, you're ok to set either the relative path or the full path (e.g. "sounds/mysound.mp3" vs "mysound.mp3" will both work, as long as it is in the sounds folder like it should be).

Installation
Place the .smx file in your addons/sourcemod/plugins folder.

CVars
  • tcds_killersound - File path to sound that the killer will hear. Leave blank for none.
  • tcds_victimsound - File path to sound that the victim will hear. Leave blank for none.

Note: Here are links to the two other includes (EmitSoundAny and AutoExecConfig):
https://forums.alliedmods.net/showthread.php?t=237045
https://forums.alliedmods.net/showthread.php?t=204254

Servers using this plugin

Nolongerinthegame 06-22-2015 06:13

Re: TOG Custom Death Messages
 
Where is the attachment?

ThatOneGuy 06-22-2015 15:46

Re: TOG Custom Death Messages
 
Quote:

Originally Posted by nelioneil (Post 2310550)
Where is the attachment?

Oops. My bad. I'm at work, but I'll add it as soon as I get home. I thought it seemed like something was missing, lol.

EDIT: Added. Thanks for letting me know.

Koga73 08-27-2016 07:39

Re: TOG Custom Death Sounds
 
Would be nice if it could read between a variety of sounds.
Nice job none-theless. Does it work for CS:GO?
What about a function for users to turn it on/off?

Aymeric VII 08-27-2016 10:32

Re: TOG Custom Death Sounds
 
Quote:

Originally Posted by Koga73 (Post 2448647)
Would be nice if it could read between a variety of sounds.
Nice job none-theless. Does it work for CS:GO?
What about a function for users to turn it on/off?

try it and find out?

Koga73 08-27-2016 18:25

Re: TOG Custom Death Sounds
 
Quote:

Originally Posted by Aymeric VII (Post 2448700)
try it and find out?

Well maybe he would be so kind to answer if he knew. Jeez.

ThatOneGuy 08-27-2016 22:25

Re: TOG Custom Death Sounds
 
Quote:

Originally Posted by Koga73 (Post 2448815)
Well maybe he would be so kind to answer if he knew. Jeez.

It uses emitsoundany, which is supposed to work with CS:GO...im pretty sure i didnt code it for csgo though, so test to find out. I have no intention of expanding this plugin, so new development will have to be through someone else.

Koga73 08-30-2016 10:29

Re: TOG Custom Death Sounds
 
Quote:

Originally Posted by ThatOneGuy (Post 2448858)
It uses emitsoundany, which is supposed to work with CS:GO...im pretty sure i didnt code it for csgo though, so test to find out. I have no intention of expanding this plugin, so new development will have to be through someone else.

Alright thank you. Will give it a run soon and let you know.

King_OXO 03-08-2021 08:10

Re: TOG Custom Death Sounds
 
does it work for l4d2?


All times are GMT -4. The time now is 06:31.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.