[CS:GO/CS:S] KnifeSound 3.1
Posted: Thu Jan 23, 2020 11:41 am
KnifeSound 3.1
Description:
This plugin plays a specified or random sound when a player gets killed with a knife.
ConVars:
Note: This plugin does not create its own config file!
Note: This plugin does only work with .mp3 files!
How to use a specified sound:
How to use random sounds:
Changelog:
This plugin was tested in CS:S and CS:GO.
It may also work in other source games like DOD:S.
Get Plugin or Get Source
sound.zip
Description:
This plugin plays a specified or random sound when a player gets killed with a knife.
ConVars:
Code: Select all
sm_knifesound_version - Plugin Version
sm_knifesound_enable ( default: 1 ) - Enable/Disable Plugin
sm_knifesound_file ( default: knifesound/humiliation.mp3 ) - Customizable Knifesound File ( without sound/ ) *Specific Sound*
sm_knifesound_path ( default: knifesound ) - Customizable Knifesound Path ( without sound/ and following / ) *Random Sound*
sm_knifesound_random ( default: 0 ) - 0: Plays the specified sound file | 1: Plays a random sound file from path
sm_knifesound_client_only ( default: 0 ) - 0: Plays the sound to everybody | 1: Plays the sound only to the killed player
Note: This plugin does only work with .mp3 files!
How to use a specified sound:
Code: Select all
Use Plugin Version 3.0 OR
Specify your sound file via sm_knifesound_file and disable ( set to 0 ) sm_knifesound_random.
Code: Select all
Use Plugin Version 3.1 AND
Specify your sound path via sm_knifesound_path ( default: knifesound ) and enable ( set to 1 ) sm_knifesound_random.
Move your sound files into your sound path folder ( name irrelevant ).
- Version 3.1
Added an option to play random sounds instead of only one. ( Request By: pubhero & Le1T )
- Version 3.0
Fixed a bug where the sound was played even though the player was not killed with a knife.
The plugin should now properly work in CS:GO.
- Version 2.0
Code Overhaul
- Version 1.0
Initial Release
This plugin was tested in CS:S and CS:GO.
It may also work in other source games like DOD:S.
Get Plugin or Get Source
sound.zip