Raised This Month: $32 Target: $400
 8% 

TOG Custom Death Sounds


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
ThatOneGuy
Veteran Member
Join Date: Jul 2012
Location: Oregon, USA
Plugin ID:
4691
Plugin Version:
1.0
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Play custom sounds upon death for both the killer and victim
    Old 06-22-2015 , 00:49   TOG Custom Death Sounds
    Reply With Quote #1

    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
    Attached Files
    File Type: sp Get Plugin or Get Source (togcustomdeathsounds.sp - 560 views - 4.4 KB)
    File Type: smx togcustomdeathsounds.smx (10.9 KB, 461 views)
    __________________

    Last edited by ThatOneGuy; 11-19-2015 at 01:22. Reason: Added links to the two includes from other ppl cuz someone asked about em
    ThatOneGuy is offline
     


    Thread Tools
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 21:13.


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