View Single Post
gH0sTy
SourceMod Donor
Join Date: Jul 2008
Location: DE
Old 10-27-2012 , 00:51   Re: Say Sounds (including Hybrid Edition) (4.0.6)
Reply With Quote #857

Version 4.0.6 released

Changelog:
Code:
4.0.6 October 07, 2012
        * Modified by gH0sTy
        * Changed: using tf2stocks for TF2 custom kills
        * Changed: moved a few functions into seperate files
        * Updated: translations
        * Added: Support for CS:GO
        * Added: Support for client flags
            * param "flags" can be added to a sound so only clients with this flag will have access to this sound
            * new cvars
                - sm_saysoundhe_sound_flags //User flags that will result in unlimited sounds
                - sm_saysoundhe_time_between_flags //User flags to bypass the Time between sounds check
                - sm_saysoundhe_flags //Flag(s) that will have a seperate sound limit
                - sm_saysoundhe_flags_limit //Maximum sounds per person with the corresponding flag (0 for unlimited)
                - sm_saysoundhe_stop_flags //User flags that are allowed to stop a sound
                - sm_saysoundhe_confmenu_flags //User flags that are allowed to access the configuration menu
You can now define flags for a sound so only users with that flag can play that sound.
Example:
Code:
"Sound Combinations"
{
    "doh"
    {
        "file"    "misc/saysound/doh.mp3"
        "flags" "ao"
        
    }
}
In the above example only clients with at least the "a" or the "o" flag will be able to play that sound.
Don't forget to update the translations as well.

Quote:
Originally Posted by nanakisan View Post
Hey there. Recently i've become the audio specialist for my clan who uses this plugin on our TF2 Servers. I'd like to ask you if you know what .mp3 encoding methods are the best to ensure that they will work despite the somewhat iffy support the plugin has for them. We've been using lots of wav files but the folder is starting to get clogged and if we started using mp3's our overall footprint on someones hard drive would be reduced immensely.
Don't use a sample rate above 44100 Hz.
Using a constant Bit Rate and a Sample Size of either 8 or 16 bit will work.
It's the game engine that sets the limitations, not the plugin.

Last edited by gH0sTy; 10-27-2012 at 01:05.
gH0sTy is offline