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

Death Sound


Post New Thread Reply   
 
Thread Tools Display Modes
Keksmampfer
Junior Member
Join Date: Apr 2009
Old 10-19-2009 , 08:36   Re: Death Sound
Reply With Quote #11

Are the soundfiles in the correct folder on the server? I'll think about disabling the standard deathsound, but i can't promise anything.
__________________
My Plugins: Death Sound
Keksmampfer is offline
Keksmampfer
Junior Member
Join Date: Apr 2009
Old 10-19-2009 , 11:08   Re: Death Sound
Reply With Quote #12

Update:
Fixed bug with on / off option.
__________________
My Plugins: Death Sound
Keksmampfer is offline
StrikerMan780
AlliedModders Donor
Join Date: Jul 2009
Location: Canada
Old 10-19-2009 , 14:19   Re: Death Sound
Reply With Quote #13

Yeah, soundfiles were in the correct location. /sounds/misc. I could get it to work if I copied the files to that folder, but if I copied them to the Dedicated Server with an sv_downloadurl, even if the sounds were on both, it would refuse to transfer the files to connecting players, and for some reason, despite being in all the right locations, the Download Table kept saying they were missing. Kinda strange. Sound not being set up for precaching/download correctly?

In light of all that though, it is a good plugin. Keep up the good work.

Last edited by StrikerMan780; 10-19-2009 at 14:21.
StrikerMan780 is offline
Black Haze
BANNED
Join Date: Sep 2008
Location: Hamsterdam
Old 10-20-2009 , 17:57   Re: Death Sound
Reply With Quote #14

Looks awesome, gonna test that first thing tomorrow!
Black Haze is offline
Black Haze
BANNED
Join Date: Sep 2008
Location: Hamsterdam
Old 10-21-2009 , 03:31   Re: Death Sound
Reply With Quote #15

Just to give you some ideas if you're thinking bout expanding this:
Try making conditions for played sounds, for instance different sounds for headshots, when someone falls to death, when someone has done more then a set amount of damage to kill someone, or even depending on with what weapon you kill em.
Black Haze is offline
Keksmampfer
Junior Member
Join Date: Apr 2009
Old 10-21-2009 , 10:35   Re: Death Sound
Reply With Quote #16

Thx, mhn, I already have plans in this direction.




//update: fixed bug with the spamming announce
__________________
My Plugins: Death Sound
Keksmampfer is offline
Black Haze
BANNED
Join Date: Sep 2008
Location: Hamsterdam
Old 10-21-2009 , 18:19   Re: Death Sound
Reply With Quote #17

Doesn't play
It does download the sounds, still never plays em.

Config:
Quote:
// This file was auto-generated by SourceMod (v1.2.3)
// ConVars for plugin "deathsound.smx"


// 1 - Allows the player to turn off his / her deathsounds
// 0 - Doesn't allows the player to turn off his / her deathsounds
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_deathsound_allow_disable "0"

// 0 - No Announce
// 1 - 1 Every 45 seconds the announce: Use /deathsound or !deathsound to turn on / off the deathsound.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_deathsound_announce "0"

// 1 - Emits a sound at the position of the daed player
// 0 - Plays the sound directly to the players
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_deathsound_emit "1"

// 1 - Turn the plugin On
// 0 - Turn the plugin OFF
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_deathsound_enable "1"

// Play a sound to:
// +1 :the dieing player
// +2 :the attacker
// +4 :the team of the dieing player
// +8 :the team of the attacker
// +16 :all dead players
// +32 :all living players
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "63.000000"
sm_deathsound_playto "63"

// 1 - Everyone hears the same sound
// 0 - Everyone hears a different sound
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_deathsound_samesound "1"

// 1 - Stops the sound bevore
// 0 - don't stop
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_deathsound_stoplastsound "0"
No errors in both client and server console.
Black Haze is offline
Keksmampfer
Junior Member
Join Date: Apr 2009
Old 10-22-2009 , 02:34   Re: Death Sound
Reply With Quote #18

If a bot has the clientid 1 and sm_deathsound_samesound is on, the plugin will play no sound. I fixed it, it was a logic mistake.

//Update:
* Fixed logic bug -.--.-.-.-.-.-.-.-.-.-.-.-.-
* Code optimization
__________________
My Plugins: Death Sound
Keksmampfer is offline
Black Haze
BANNED
Join Date: Sep 2008
Location: Hamsterdam
Old 10-22-2009 , 06:15   Re: Death Sound
Reply With Quote #19

This now works, and can only be described as brilliant
Click to connect to my server it runs on
Got one more request, although I'm not too sure it's possible:
When people die their death sound is played in the place they died, as requested. Would it be possible to move the sound with the flying body? (the bodies on our server fly all over the place when dead).

Thanks for a brilliant plugin!
Black Haze is offline
rezonans
New Member
Join Date: Oct 2009
Old 10-30-2009 , 18:59   Re: Death Sound
Reply With Quote #20

will tell me what could be a problem: on the server Windows everything works fine, on linux, when loading a plugin gives an error. deathsound.smx failed to load: Unable to open file ????

Last edited by rezonans; 10-30-2009 at 20:58.
rezonans is offline
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 16:29.


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