Raised This Month: $99 Target: $400
 24% 

Voice Adverts


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Cep}|{
Member
Join Date: Nov 2009
Plugin ID:
1877
Plugin Version:
1.0
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    27 
    Plugin Description:
    Playing voice adverts\messages to all players.
    Old 08-13-2010 , 17:02   Voice Adverts
    Reply With Quote #1

    Voice Adverts

    Description:

    Playing voice adverts\messages to all players.

    Cvars:

    sm_voiceadverts_version - Plugin version
    sm_voiceadverts - Enable\Disable this plugin. Default: "1"
    sm_voiceadverts_time - Duration between voice adverts (in seconds). Default: "300"

    Installation:

    1. Place your sound files in the 'sound/voiceadverts/' folder on server.
    2. Create config file "va_sound_list.cfg" in the 'addons/sourcemod/configs/', example:
    Code:
    voiceadverts/c1.mp3
    voiceadverts/c2.mp3
    voiceadverts/c3.mp3
    voiceadverts/c4.mp3
    voiceadverts/c5.mp3
    voiceadverts/c6.mp3
    voiceadverts/c7.mp3
    voiceadverts/c8.mp3
    voiceadverts/c9.mp3
    3. Upload the plugin in the 'addons/sourcemod/plugins/' folder and change map or restart server.
    Attached Files
    File Type: sp Get Plugin or Get Source (voiceadverts.sp - 1517 views - 3.2 KB)
    __________________

    Last edited by Matthias Vance; 08-20-2010 at 11:58. Reason: Added public CVAR.
    Cep}|{ is offline
    delirium_trigger
    SourceMod Donor
    Join Date: Apr 2009
    Location: Washington
    Old 08-13-2010 , 17:12   Re: Voice Adverts
    Reply With Quote #2

    Are players required to download any mp3 that you place in? If they do not need to download the files will this work in L4D and L4D2?

    How does it play the sound? Does it play as if it was a client talking through microphone? (Example HLSS Half Life Sound Selector)
    delirium_trigger is offline
    Cep}|{
    Member
    Join Date: Nov 2009
    Old 08-13-2010 , 17:35   Re: Voice Adverts
    Reply With Quote #3

    Quote:
    Are players required to download any mp3 that you place in? If they do not need to download the files will this work in L4D and L4D2?
    Yes, all players needed download sound files.
    Quote:
    How does it play the sound? Does it play as if it was a client talking through microphone? (Example HLSS Half Life Sound Selector)
    No, sound played from client-local files.
    __________________
    Cep}|{ is offline
    sinblaster
    Grim Reaper
    Join Date: Feb 2010
    Location: Australia
    Old 08-13-2010 , 19:04   Re: Voice Adverts
    Reply With Quote #4

    Awesome, Ive been looking fot a way to tell my players that my wife is a big lame arse party pooper without actually saying it out load.

    Cheers I'll check it out
    __________________
    Happy Happy Joy Joy

    sinblaster is offline
    delirium_trigger
    SourceMod Donor
    Join Date: Apr 2009
    Location: Washington
    Old 08-14-2010 , 15:18   Re: Voice Adverts
    Reply With Quote #5

    Is there a way to make it function similar to HLSS?

    For example if you are not inside your server, and you type from your L4D2 Srcds Console (sm_say) it says your name is Admin to all the players in that server.

    Is there a way to have the advertisement come as a selected sound played through microphone so that no downloading is required.

    If this is possible the downloading would be unnecessary and long loading times would be eliminated. This could even work to be hooked with events to play sounds such as headshots, suicides, team kills, etc. Since this is sound only and not a visual mod, in theory, it should be able to work like HLSS.
    delirium_trigger is offline
    NoS
    Senior Member
    Join Date: Nov 2006
    Old 08-16-2010 , 05:05   Re: Voice Adverts
    Reply With Quote #6

    Quote:
    Originally Posted by delirium_trigger View Post
    Is there a way to make it function similar to HLSS?

    For example if you are not inside your server, and you type from your L4D2 Srcds Console (sm_say) it says your name is Admin to all the players in that server.

    Is there a way to have the advertisement come as a selected sound played through microphone so that no downloading is required.

    If this is possible the downloading would be unnecessary and long loading times would be eliminated. This could even work to be hooked with events to play sounds such as headshots, suicides, team kills, etc. Since this is sound only and not a visual mod, in theory, it should be able to work like HLSS.
    There is no way to do that, servers don't have a microphone button. HLSS also works with clients and not servers.
    NoS is offline
    delirium_trigger
    SourceMod Donor
    Join Date: Apr 2009
    Location: Washington
    Old 08-16-2010 , 23:57   Re: Voice Adverts
    Reply With Quote #7

    Quote:
    Originally Posted by NoS View Post
    There is no way to do that, servers don't have a microphone button. HLSS also works with clients and not servers.
    Darn, I thought that was possible because I think I saw it done in a HLDM modded server. I'm not sure because it was a long time ago and I don't have HLDM anymore. Thanks for the input.
    delirium_trigger is offline
    J-Factor
    Junior Member
    Join Date: Jul 2009
    Old 08-17-2010 , 00:23   Re: Voice Adverts
    Reply With Quote #8

    Quote:
    Originally Posted by NoS View Post
    There is no way to do that, servers don't have a microphone button. HLSS also works with clients and not servers.
    It is possible but it would require a Metamod plugin. See here.
    J-Factor is offline
    lionheart1066
    Senior Member
    Join Date: Aug 2009
    Old 08-20-2010 , 08:24   Re: Voice Adverts
    Reply With Quote #9

    Extremely interesting and very handful. Thanks
    lionheart1066 is offline
    Cep}|{
    Member
    Join Date: Nov 2009
    Old 08-25-2010 , 15:02   Re: Voice Adverts
    Reply With Quote #10

    __________________

    Last edited by Cep}|{; 08-26-2010 at 06:34.
    Cep}|{ is offline
    Reply


    Thread Tools
    Display Modes

    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 22:47.


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