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

Death Sound and Info 1.0


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Event Related       
Bento
SourceMod Donor
Join Date: May 2005
Location: The Netherlands
Old 06-04-2005 , 19:33   Death Sound and Info 1.0
Reply With Quote #1

Death Sound and Info 1.0

This plugin plays a little sound on the client when he gets killed.

It also shows a line of text in the HUD saying: Who killed you, wich weapon you got killed with and where you got hit. Big thanks to faluco for helping me out.

A sample sound is provided, i couldnt find a funny sound... But if you find one feel free to add it here.

The .mp3 file goes into: sound/misc

Multiple Sounds:

Change:

Code:
#define Maxsounds 2

to a number of sounds u would like to use.

Add sounds here, without the mp3 extension
Code:
new soundlist[Maxsounds][] = {"kenny1","humiliation"}
Attached Files
File Type: sma Get Plugin or Get Source (diemusic.sma - 1308 views - 780 Bytes)
File Type: zip plugin.zip (76.2 KB, 768 views)
File Type: sma Get Plugin or Get Source (diemusic_multiple.sma - 1113 views - 988 Bytes)
__________________
Bento is offline
trogsconvash
Junior Member
Join Date: Apr 2005
Location: AZ
Old 06-05-2005 , 03:53   help
Reply With Quote #2

how do i add songs? do i have to change the script?? and compile it or jus addd sound
trogsconvash is offline
Send a message via AIM to trogsconvash Send a message via MSN to trogsconvash Send a message via Yahoo to trogsconvash
-=STN=- MaGe
Veteran Member
Join Date: Apr 2004
Location: Asault World
Old 06-05-2005 , 06:01  
Reply With Quote #3

can you add a screen shot?
__________________



-=STN=- MaGe is offline
Send a message via Yahoo to -=STN=- MaGe
trogsconvash
Junior Member
Join Date: Apr 2005
Location: AZ
Old 06-05-2005 , 06:29   ?
Reply With Quote #4

? plz reply
trogsconvash is offline
Send a message via AIM to trogsconvash Send a message via MSN to trogsconvash Send a message via Yahoo to trogsconvash
Punani
Junior Member
Join Date: Jun 2005
Old 06-05-2005 , 07:59  
Reply With Quote #5

Sorry, somehow i cant login to my other account It says it is inactive

Ok i will post a screenshot, and you have to put the mp3 sounds in:

sound/misc/ folder. And to add a different sound you have to edit the .sma file. That isnt so hard, u only have to change the name of the mp3 and compile it.
Attached Thumbnails
Click image for larger version

Name:	diesound.jpg
Views:	501
Size:	28.7 KB
ID:	3004  
Punani is offline
kid741010
Junior Member
Join Date: Feb 2005
Old 06-05-2005 , 08:27  
Reply With Quote #6

nice work

can get headshot only?
kid741010 is offline
Punani
Junior Member
Join Date: Jun 2005
Old 06-05-2005 , 08:40  
Reply With Quote #7

Quote:
Originally Posted by kid741010
nice work

can get headshot only?
What do u mean?
Punani is offline
trogsconvash
Junior Member
Join Date: Apr 2005
Location: AZ
Old 06-05-2005 , 08:43   how
Reply With Quote #8

how do u compile mp3 i know a lot of stuff but not this
trogsconvash is offline
Send a message via AIM to trogsconvash Send a message via MSN to trogsconvash Send a message via Yahoo to trogsconvash
faluco
Developer
Join Date: Mar 2005
Location: Valencia, Spain
Old 06-05-2005 , 08:54  
Reply With Quote #9

you dont need to compile mp3, just place the mp3 where it is said
faluco is offline
trogsconvash
Junior Member
Join Date: Apr 2005
Location: AZ
Old 06-05-2005 , 17:27   so
Reply With Quote #10

can someone show me wut the sma would look like if i change it
trogsconvash is offline
Send a message via AIM to trogsconvash Send a message via MSN to trogsconvash Send a message via Yahoo to trogsconvash
Reply



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 19:23.


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