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

[ANY] Saysounds (Redux)


Post New Thread Reply   
 
Thread Tools Display Modes
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 01-19-2015 , 09:18   Re: [ANY] Saysounds (Redux)
Reply With Quote #11

well aware of this, just appended asterisk for those games.

Posted 1.4, try that and see if it fixes the issue.
Removed print to chat message if the console is doing the messages, but should still trigger sound.
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.
friagram is offline
ClassicGuzzi
Veteran Member
Join Date: Oct 2013
Location: Argentina
Old 02-07-2015 , 22:59   Re: [ANY] Saysounds (Redux)
Reply With Quote #12

Quote:
Originally Posted by friagram View Post
well aware of this, just appended asterisk for those games.

Posted 1.4, try that and see if it fixes the issue.
Removed print to chat message if the console is doing the messages, but should still trigger sound.
Thank you so much for this ^-^

I have one last request, I will love a cvar to just block the messages that are only the triggers.
So if I have, for example a sound we the trigger "hug", the chat won't show if I just write "hug" but it will show it if I write "I'll hug you" (and it both cases, the sound will be played of course).

If you don't have time or you don't want to edit the plugin more for this little thing just tell me and I'll edit it for myself
ClassicGuzzi is offline
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 03-27-2015 , 13:29   Re: [ANY] Saysounds (Redux)
Reply With Quote #13

Looking at this now, its using teamplay round start, which probably doesnt exist in most games,ill change that to round start next time i update this so it works with all games. I think some other people had some suggestions for some other features, so i'll try to put them in. Just post here.

One was to make it so that dead players can't hear sound triggers,
Another was to make it so only living players near the person doing the sound could hear it.
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.
friagram is offline
micazoid
Veteran Member
Join Date: Oct 2010
Location: Munich - Germany
Old 03-27-2015 , 19:34   Re: [ANY] Saysounds (Redux)
Reply With Quote #14

Another Featureidea:

In Day of Defeat Source there is little acceptance for Custom Download Stuff. In fact players are not willing to download sounds and maps at all.

We are trying to avoid disconnecting because of to much DLC by unloading saysoundsplugin in custommaps. So the new player has only to download the custommap. BUT:

Saysounds will not work on custommaps even though all players have downloaded it. So my idea is some kind of downloadblacklist:

You can write mapnames in this blacklist and saysounds will not force players to download them. But saysounds will be hearable for those who have downloaded them already
__________________
micazoid is offline
DeathMaster
AlliedModders Donor
Join Date: Mar 2009
Old 04-03-2015 , 21:10   Re: [ANY] Saysounds (Redux)
Reply With Quote #15

The original plugin had a duration time setting in the cfg file to prevent multiple sounds from playing over one another.

"duration" "12.0" // duration of the sound in seconds (default is 0.0)

Any chance you could re implement this feature?
DeathMaster is offline
gumpum
New Member
Join Date: Oct 2014
Old 05-06-2015 , 02:00   Re: [ANY] Saysounds (Redux)
Reply With Quote #16

Hey friagram, thanks for this Plugin, the only Plugin that work instantly on my Server. But i have 2 Problems. 1) Only admins can activate sounds, i try that but it dont work.
Quote:
{
"file" "sound/xxxxxxxx.mp3"
"admin" "0"
}
What can i do, for everyone can play sounds?
2) I dont know how to use the CVars, to change the limit or something, i cant find where to put there in, i try something but i dont work, i tried selfcompiling with some random changes but doesnt work too(sry about my bad english ;o) Can someone help me?

Last edited by gumpum; 05-06-2015 at 02:02.
gumpum is offline
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 05-08-2015 , 15:54   Re: [ANY] Saysounds (Redux)
Reply With Quote #17

By default everyone can play sounds, override flags are there for admins or donors
saysounds_admin or saysounds_donor, the default levels are chat and reservation.

Admin 1 restricts it to admins, otherwise all can use.
To change the cvars, you need to place them somewhere, such as server.cfg
Use the example config.
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.
friagram is offline
gumpum
New Member
Join Date: Oct 2014
Old 05-11-2015 , 08:16   Re: [ANY] Saysounds (Redux)
Reply With Quote #18

Now it work thanks
But 1 thing dont work, when i limit the sounds per round for NOT admins and set sm_saysounds_round "1", when limit is reached, on new round not admins cant play anymore, when i change map or restart the server, often the sound dont play too for not admind, for admin play all the time, i didnt set there any limits. So the only way to let it workfor not admins all the time, is the the limit to 0 and set a cooldown time (15 sek atm).

Last edited by gumpum; 05-11-2015 at 10:00.
gumpum is offline
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 07-16-2015 , 23:28   Re: [ANY] Saysounds (Redux)
Reply With Quote #19

Here is a test version, which I didn't have time to try:

cvar: sm_saysounds_delay - amount of time to wait between playing sounds (this is global, for everyone).
The plugin should now reply to the player if they have a delay (it will search for a match every time), some people wanted this.

changed teamplay round start, to round start - hopefully that will work with all games
Attached Files
File Type: sp Get Plugin or Get Source (saysounds_1.5.sp - 325 views - 23.6 KB)
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.

Last edited by friagram; 07-16-2015 at 23:36.
friagram is offline
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 07-19-2015 , 01:09   Re: [ANY] Saysounds (Redux)
Reply With Quote #20

Reworked access levels, so that people can now have 3:
The lowest access level will not allow players to use any sounds

Override flags:
saysounds_admin - default is chat
saysounds_donor - default is root, use override to set
saysounds_client - default is root, use override to set

Cvar:
sm_saysounds_delay - if enabled, a global delay will be added between sounds emitted. This should obey the sound duration limits set by the sm_saysounds_xx_delay cvars. If a custom length of sound is set in your config, that will be obeyed.

Fixed a print to chat error when using saysound from the console.
Delay errors will always be printed to clients.
Attached Files
File Type: sp Get Plugin or Get Source (saysounds_1.6.sp - 661 views - 23.3 KB)
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.
friagram 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 10:58.


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