Flesh'n'Scream v1.1c
2 Attachment(s)
Description:
Plays scream and blood spurt / flesh hit sounds on player hurt/death Code:
ConVars: The sounds are licensed under a Creative Commons Sampling Plus 1.0 License. |
Re: Flesh'n'Scream (WIP)
0.2
hooked cvarEnable changed and acting accordingly bugfix for: plugin ignoring the randompitch and volume settings sounds being skipped when there should play multiple at once Plugin updated in the first posting ~ It still seems to skip sounds sometimes, when you shoot teammate bots |
Re: Flesh'n'Scream (WIP)
Use SNDCHAN_STATIC instead of SNDCHAN_AUTO.
By this I mean changing line 216 from: EmitSoundToClient(i, TheSound, client, _, 150, _, fns_volume, PitchR); To: EmitSoundToClient(i, TheSound, client, SNDCHAN_STATIC, 150, _, fns_volume, PitchR); Using this channel (6), multiple sounds can be overlapped. Hope this helps |
Re: Flesh'n'Scream v1.0
added possibility for clients to turn this sounds off for themselves
(with quake sounds plugin as reference) chatcommand: !fleshscream players who have this setting turned ON still hear these players, who have their fleshscream sounds off, scream. the announcement is overlooked easily. let your users know via advertisements plugin New cvars: sm_fleshscream_announce - Chatmessage to tell new users how to deactivate the sounds for themselves (just like the quakesounds chat announcement) - Default: 1 sm_fleshscream_announce_delay - Time in seconds after client connect when the message is shown in chat. - Default: 40.0 The new cvars are not automatically added to an existing cfg file. chatcommand: !fleshscream |
Re: Flesh'n'Scream v1.1
1.1
added convar "sm_fleshscream_override" forces sounds to be played for players that have their fleshscream setting turned off added conditional skip of code on plugin disabled (forgot that, in functions player_hurt and player_death) |
Re: Flesh'n'Scream v1.1
The sounds I used were from my personal sound archive, and I forgot where many of these came from. So now I replaced the whole soundpackage with stuff from freesound.org.
The sounds are licensed under a Creative Commons Sampling Plus 1.0 License. This is a list of sounds from the site I used: Code:
16806__harri__hhh15.mp3 |
Re: Flesh'n'Scream v1.1b
1.1b
changed sendsound channel to "SNDCHAN_STATIC" as suggested by TESLA-X4 on alliedmods.net added sending the sounds to sourcetv on demand (cvar: sm_fleshscream_recordsounds 1/0) |
Re: Flesh'n'Scream v1.1c
Just tried this in l4d using sounds built into l4d and it worked, but it plays when temp health drops, or when survivors get hurt. Is there a way to make it so sounds only play for the attacker? I'm trying to get hitsounds working, and this is the closest I've come.
Nevermind, after searching for hours, I come across http://forums.alliedmods.net/showthread.php?t=99552 20 mins after posting this. |
All times are GMT -4. The time now is 03:05. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.