Death Sound
3 Attachment(s)
Death Sound
This is my first Plugin. Description: This plugin plays a random sound to specific group of players or play a sound to a specific group of players on a specific map position. The plugin adds the sounds to the DownloadTable and prechaches them. Features: Full control about who can here sounds. Emit on map or play directly to a player. Player on / off option. Force deathsounds. Announcement how to switch on / off. ... Installation:
sm_deathsound_playto: summ up the values of the groups (e.g: All playing players = 12 (4+8)) Groups: +1 :the victim +2 :the attacker +4 :the team of victim +8 :the team of the attacker +16 :all dead players (i think this includes spectators) +32 :all alive players sm_deathsound_emit: 1: Emit a sound on the map at the position where a plaer died 0: Play all sounds diret to the players. ... Changelog: Code:
* V0.5.3 *Admin executes sound on player *The settingsmenu *Translationfile. *Option to disable the standard sound Credits: I used [CSS]RoundSound for help. THX to Black Haze. I'm searching for good sounds. Please help me. |
Re: Death Sound
Missing something eh ?
|
Re: Death Sound
ahh sry i forgot
|
Re: Death Sound
Placed the sounds in cstrike/sounds/bwdeath/death1.wav > death6.wav.
Config line is: sm_deathsound_soundlist "bwdeath/death1.wav;bwdeath/death2.wav;bwdeath/death3.wav;bwdeath/death4.wav;bwdeath/death5.wav;bwdeath/death6.wav" Still, doesn't work. Could you be a tad more precise about where to put the files? Plugin is loaded btw, and the default files are played. Also, do other people hear the deathsounds, or only the dying? (And if so, could you make it so everyone hears the sound, with a cvar or something?) |
Re: Death Sound
Look first post. I think i added all the features and uploaded an example.
Can you test ist? It works fine on my dedicated server, but only with one person :). |
Re: Death Sound
Will not play, again :( Even with the example. Plugin is loaded...
Btw when I looked tru the code it seems as if you just play the sound to every player in the game, no matter where they are on the map. How about spawning an env_sound temporarily on the coords where the player died, and playing sound tru that? |
Death Sound
Hi,
i dont know why, but the soundlist loads at the 2nd reload?!?!. I think i should use key values. maybe this fixes the problem. No, the right player heare the sound , i checked that. |
Re: Death Sound
Yes the players DO hear the sound, but it's played from their perspective.
For instance, if you die, and I'm on the other end of the map, I hear you die like you're next to me, as opposed to what it should be, from a distance. This is because you let each client play the sound, instead of just emitting one sound from the point where the player died. |
Re: Death Sound
* V0.5
* Changed cvar soundlist to keyvaluesoundlist * Added more options for sm_deathsound_playto * Added On/off option for Players * Added announce * +Cvar to control the announce * +Cvar to emit a sound on the map or play a sound direct to a player * +Cvar to disable the player on / off option If you find bugs, tell me ;) |
Re: Death Sound
I add the sounds, but it keeps on saying it cannot find them. Oh, by the way, it might be a good idea to add a CVAR to disable HL2: DM Default death sounds in favor of the ones provided by the plugin.
|
All times are GMT -4. The time now is 16:36. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.