Posts: 836
Threads: 48
Joined: Feb 2012
Reputation:
11
09-14-2012, 12:49
(This post was last modified: 09-14-2012, 12:50 by hillbilly.)
I have asked before but since the addon has been updated and the game obviously, can anyone please do a simple mod that on say 6/7 kills it plays the sound of either "rankup" (dunno what its called) if possible please.
I'm not after stats or kill messages just the sound on kills. Would also be nice if this could be set in sv_config (if possible) so amount of kills can be set and as this is for Infected maybe a different one for them???
Posts: 1,323
Threads: 24
Joined: Nov 2010
Reputation:
91
Depends if you really want it on the amount of kills or killstreak. If you want killstreak you need to make a Dictionary and increase/revert to 0 in OnPlayerDamage.
Posts: 836
Threads: 48
Joined: Feb 2012
Reputation:
11
killstreaks would be fine
Posts: 836
Threads: 48
Joined: Feb 2012
Reputation:
11
09-14-2012, 16:38
(This post was last modified: 09-14-2012, 16:48 by hillbilly.)
Thankyou very much.
Error 5 The type or namespace name 'Linq' does not exist in the namespace 'System' (are you missing an assembly reference?) C:\Users\test\documents\visual studio 2010\Projects\new sound\new sound\Class1.cs 3 14 new sound
Posts: 103
Threads: 17
Joined: Nov 2011
Reputation:
-6
Awesome. Maybe I can use this to make my first plugin. I am always dying to have the first blood message from infected in other game modes.
Do you know the sound that is used for that?
Would it be easy to modify as such?
Rather than being for so many kills, just a sound for the first blood.
Maybe one day HudElem could add the pop up first blood message?
Bare in mind Ive never done anything with c# lol.
Posts: 836
Threads: 48
Joined: Feb 2012
Reputation:
11
it works, but also when you commit suicide