Raised This Month: $12 Target: $400
 3% 

[REQ] [CS:GO] Sound when you kill with a knife


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
cookiemaster
New Member
Join Date: Dec 2018
Location: Brazil
Old 12-14-2018 , 09:29   [REQ] [CS:GO] Sound when you kill with a knife
Reply With Quote #1

I just want a plugin that reproduces a specific sound(that i will choose) when a player kills using a knife. It seems like that classic sound "HUMILIATION" probably you guys know what I mean. I know that's easy for coders but I have no idea.

Last edited by cookiemaster; 12-14-2018 at 09:36.
cookiemaster is offline
CliptonHeist
Senior Member
Join Date: Feb 2016
Old 12-14-2018 , 11:51   Re: [REQ] [CS:GO] Sound when you kill with a knife
Reply With Quote #2

Untested:
Attached Files
File Type: sp Get Plugin or Get Source (knifesound.sp - 420 views - 1.7 KB)
CliptonHeist is offline
cookiemaster
New Member
Join Date: Dec 2018
Location: Brazil
Old 12-14-2018 , 14:07   Re: [REQ] [CS:GO] Sound when you kill with a knife
Reply With Quote #3

Quote:
Originally Posted by CliptonHeist View Post
Untested:
The sound actually changed(to the deathmatch kill) but I couldn't choose the sound I want. I put my sound with the name "deathmatch_kill_bonus.wav" as the code required in dir sound/ui and didn't work... Nevertheless, appreciate your time
cookiemaster is offline
CliptonHeist
Senior Member
Join Date: Feb 2016
Old 12-15-2018 , 01:08   Re: [REQ] [CS:GO] Sound when you kill with a knife
Reply With Quote #4

Quote:
Originally Posted by cookiemaster View Post
The sound actually changed(to the deathmatch kill) but I couldn't choose the sound I want. I put my sound with the name "deathmatch_kill_bonus.wav" as the code required in dir sound/ui and didn't work... Nevertheless, appreciate your time
It creates a cfg file in cfg/sourcemod where you define the sound you want.
CliptonHeist is offline
cookiemaster
New Member
Join Date: Dec 2018
Location: Brazil
Old 12-16-2018 , 19:44   Re: [REQ] [CS:GO] Sound when you kill with a knife
Reply With Quote #5

Quote:
Originally Posted by CliptonHeist View Post
It creates a cfg file in cfg/sourcemod where you define the sound you want.
I have this error SV_StartSound: faca/faca.wav not precached (0)
I've changed the cfg file to dg_knifed_sound "faca/faca.wav" (I created a folder in sound called faca and the name of the sound is also faca

Last edited by cookiemaster; 12-16-2018 at 19:53.
cookiemaster is offline
Drixevel
AlliedModders Donor
Join Date: Sep 2009
Location: Somewhere headbangin'
Old 12-16-2018 , 20:52   Re: [REQ] [CS:GO] Sound when you kill with a knife
Reply With Quote #6

Quote:
Originally Posted by CliptonHeist View Post
Untested:
For CSGO, you pretty much have to precache files inside of OnMapStart instead of during the map. You can do it in other games but it's always advised to just precache OnMapStart regardless.

(I didn't look at anything else)
Attached Files
File Type: sp Get Plugin or Get Source (knifesound.sp - 422 views - 1.8 KB)

Last edited by Drixevel; 12-16-2018 at 20:52.
Drixevel is offline
TheBOSS
Member
Join Date: Nov 2018
Old 12-20-2018 , 21:46   Re: [REQ] [CS:GO] Sound when you kill with a knife
Reply With Quote #7

Quote:
For CSGO, you pretty much have to precache files inside of OnMapStart instead of during the map. You can do it in other games but it's always advised to just precache OnMapStart regardless.

(I didn't look at anything else)
@Drixevel
not work for CT, can you fix please..
TheBOSS is offline
Reply


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 15:11.


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