Raised This Month: $ Target: $400
 0% 

Say Sounds (including Hybrid Edition) (4.0.8)


Post New Thread Reply   
 
Thread Tools Display Modes
S_W_A_T
Senior Member
Join Date: Dec 2007
Old 05-19-2011 , 19:39   Re: Say Sounds (including Hybrid Edition) (3.2.6)
Reply With Quote #591

Quote:
Originally Posted by gH0sTy View Post
You've read the bold red text in the OP regarding pure servers?
Check you client console for error outputs, if it's something like "file missing from disk/repository" you're runnign a pure server and need to configure the whitelist.
Could also be an invalid bitrate of your soundfile which will also be printed to your client console.
My server is set to sv_pure 0.
And no, there isn't any "file missing from disk/repo" error. The mp3 file did successfully download from my sv_downloadURL for my clients. And there isn't any invalid bitrate error as well.

// Edited
Ooops, i try to use the song file into a say sound text and i got the "*** Invalid sample rate (48000)" error. Will fix it and will post the outcome.

Last edited by S_W_A_T; 05-19-2011 at 19:49.
S_W_A_T is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 05-20-2011 , 10:33   Re: Say Sounds (including Hybrid Edition) (3.2.6)
Reply With Quote #592

Quote:
Originally Posted by S_W_A_T View Post
// Edited
Ooops, i try to use the song file into a say sound text and i got the "*** Invalid sample rate (48000)" error. Will fix it and will post the outcome.
Yes, either Source or SourceMod doesn't support 48kHz sound files.

Strangely, TF2 ships with four 48kHz files... which don't work when one tries to play them from SourceMod.

Sadly, I've never played in a tournament (these are "tournament start" announcer voice clips), so I don't know if they work in the game itself or not.
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
S_W_A_T
Senior Member
Join Date: Dec 2007
Old 05-20-2011 , 11:01   Re: Say Sounds (including Hybrid Edition) (3.2.6)
Reply With Quote #593

Ok, finally, i manage to get my songs to work, its a pain in the @ss converting .mp3 into 44khz bitrate, it keeps failing, but when i use .wav instead, they played perfectly.
S_W_A_T is offline
Ade
I love purple
Join Date: May 2010
Old 05-27-2011 , 09:20   Re: Say Sounds (including Hybrid Edition) (3.2.6)
Reply With Quote #594

Hi,
it appears my sm_saysoundhe_sound_limit doesn't work, nor the warn cvar

here's the full list:
Quote:
// Announce played adult sounds? | 0 = off 1 = on
// -
// Default: "0"
sm_saysoundhe_adult_announce "0"

// If set, block the sound trigger to be displayed in the chat window
// -
// Default: "0"
sm_saysoundhe_block_trigger "0"

// Number of sounds to download per map start (-1=unlimited).
// -
// Default: "-1"
sm_saysoundhe_download_threshold "-1"

// Turns Sounds On/Off
// -
// Default: "1"
sm_saysoundhe_enable "1"

// If set, don't allow to play a sound that was recently played
// -
// Default: "0"
sm_saysoundhe_excl_last_sound "0"

// Play sounds when someone joins or exits the game
// -
// Default: "0"
sm_saysoundhe_join_exit "1"

// Wait until the player spawns before playing the join sound
// -
// Default: "1"
sm_saysoundhe_join_spawn "1"

// Delay before playing a Karaoke song
// -
// Default: "15.0"
sm_saysoundhe_karaoke_delay "15.0"

// If set, sm_saysoundhe_sound_limit is the limit per round instead of per map
// -
// Default: "0"
sm_saysoundhe_limit_sound_per_round "0"

// When set, allows clients that have turned their sounds off to trigger sounds (0=off | 1=on)
// -
// Default: "0"
sm_saysoundhe_play_cl_snd_off "1"

// Volume setting for Say Sounds (0.0 <= x <= 1.0)
// -
// Default: "1.0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_saysoundhe_saysounds_volume "1.0"

// 1 To show menu to users, 0 to hide menu from users (admins excluded)
// -
// Default: "1"
sm_saysoundhe_showmenu "1"

// Maximum sounds per admin (0 for unlimited)
// -
// Default: "0"
sm_saysoundhe_sound_admin_limit "0"

// Number of sounds to warn admin at (0 for no warnings)
// -
// Default: "0"
sm_saysoundhe_sound_admin_warn "0"

// Turns on announcements when a sound is played
// -
// Default: "0"
sm_saysoundhe_sound_announce "1"

// Maximum sounds per person (0 for unlimited)
// -
// Default: "5"
sm_saysoundhe_sound_limit "5"

// When set, will log sounds that are played
// -
// Default: "1"
sm_saysoundhe_sound_logging "0"

// When set, will trigger sounds if keyword is embedded in a sentence
// -
// Default: "0"
sm_saysoundhe_sound_sentence "0"

// Number of sounds to warn person at (0 for no warnings)
// -
// Default: "3"
sm_saysoundhe_sound_warn "1"

// Play sounds when specific steam ID joins or exits the game
// -
// Default: "1"
sm_saysoundhe_specific_join_exit "1"

// Time between each admin sound trigger, 0.0 to disable checking
// -
// Default: "4.5"
sm_saysoundhe_time_between_admin_sounds "0.0"

// Time between each sound trigger, 0.0 to disable checking
// -
// Default: "4.5"
sm_saysoundhe_time_between_sounds "4.5"
The only limit I have now is between sounds, but I want a number limit also
Help pls
Ade is offline
StrikerMan780
AlliedModders Donor
Join Date: Jul 2009
Location: Canada
Old 05-27-2011 , 12:58   Re: Say Sounds (including Hybrid Edition) (3.2.6)
Reply With Quote #595

The text that comes from the "Text" parameter, seems to be blocked by this plugin (Tidy Chat) no matter the settings. I'm using it to block (Voice) text in TF2, while letting any other kind of message through.
StrikerMan780 is offline
gH0sTy
SourceMod Donor
Join Date: Jul 2008
Location: DE
Old 05-27-2011 , 13:35   Re: Say Sounds (including Hybrid Edition) (3.2.6)
Reply With Quote #596

Quote:
Originally Posted by Ade View Post
Hi,
it appears my sm_saysoundhe_sound_limit doesn't work, nor the warn cvar

here's the full list:

The only limit I have now is between sounds, but I want a number limit also
Help pls
Maybe because you're an admin and haven't set sm_saysoundhe_sound_admin_limit and
sm_saysoundhe_sound_admin_warn ?

It works fine for me, with and without admin rights.

Quote:
Originally Posted by StrikerMan780 View Post
The text that comes from the "Text" parameter, seems to be blocked by this plugin (Tidy Chat) no matter the settings. I'm using it to block (Voice) text in TF2, while letting any other kind of message through.
Works fine for me with the default settings of this plugin.
gH0sTy is offline
StrikerMan780
AlliedModders Donor
Join Date: Jul 2009
Location: Canada
Old 05-27-2011 , 13:42   Re: Say Sounds (including Hybrid Edition) (3.2.6)
Reply With Quote #597

Odd, does a certain CVAR for this need to be enabled? (To see the text) I don't want to enable normal announcements though.

Last edited by StrikerMan780; 05-27-2011 at 13:44.
StrikerMan780 is offline
gH0sTy
SourceMod Donor
Join Date: Jul 2008
Location: DE
Old 05-27-2011 , 13:46   Re: Say Sounds (including Hybrid Edition) (3.2.6)
Reply With Quote #598

I haven't changed any cvar but...
Quote:
There's a special cvar: sm_tidychat_alltext that is off by default. Turning it on will block most text from third-party plugins.
so make sure you haven't enabled it.
gH0sTy is offline
StrikerMan780
AlliedModders Donor
Join Date: Jul 2009
Location: Canada
Old 05-27-2011 , 14:17   Re: Say Sounds (including Hybrid Edition) (3.2.6)
Reply With Quote #599

It's off.
StrikerMan780 is offline
Ade
I love purple
Join Date: May 2010
Old 05-27-2011 , 16:02   Re: Say Sounds (including Hybrid Edition) (3.2.6)
Reply With Quote #600

Quote:
Originally Posted by gH0sTy View Post
Maybe because you're an admin and haven't set sm_saysoundhe_sound_admin_limit and
sm_saysoundhe_sound_admin_warn ?
DOH
ty
Ade 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 05:02.


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