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

[L4D2] Round All Talk


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Mr. Zero
Veteran Member
Join Date: Jun 2009
Location: Denmark
Plugin ID:
1328
Plugin Version:
1.0a
Plugin Category:
General Purpose
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    6 
    Plugin Description:
    Enables All talk upon round start/end
    Unapprover:
    Reason for Unapproving:
    Replicates existing plugin functionality
    Old 12-12-2009 , 20:53   [L4D2] Round All Talk
    Reply With Quote #1

    Round All Talk

    About:
    This is a simple sv_alltalk changer for L4D2. I like to be able to talk to all upon round end, yet still have a team talk while the game is active.

    Of course it is recommended for friend games and not public games, but hey some people do still enjoy all talk upon round end/start even for public games.

    Inspried from Snarespeak by nolimit, this ripoff just have some expanded options and time delays.
    Description:
    Enables All talk upon round start/end.
    Cvars:
    A configuration file will be automatically created for you upon first run, in /cfg/sourcemod/ called RoundAllTalk.cfg
    Code:
    // Sets whether the plugin is active or not.
    // -
    // Default: "1"
    l4d_rat_enable "1"
    
    // Toggles all talk on upon the end round event or after amount of time after the event.
    // -
    // Default: "1"
    l4d_rat_endalltalk "1"
    
    // Message to print to chat upon all talk ends.
    // -
    // Default: "All Talk Disabled!"
    l4d_rat_endalltalk_msg "All Talk Disabled!"
    
    // Sound file to play upon all talk ends, relative to the sound folder.
    // -
    // Default: "ui/pickup_misc42.wav"
    l4d_rat_endalltalk_sound "ui/pickup_misc42.wav"
    
    // Toggles all talk on after this amount of time upon the end round event (does nothing if endalltalk is false).
    // -
    // Default: "1.5"
    l4d_rat_endalltalk_time "1.5"
    
    // If an admin enables the all talk cvar (or another plugin), this plugin will not change the value unless permissions to override is given or value is changed back to false again.
    // -
    // Default: "0"
    l4d_rat_override "0"
    
    // Toggles all talk on for the beginning of the round until the safe room door is opened or amount of time is specified.
    // -
    // Default: "1"
    l4d_rat_startalltalk "1"
    
    // Message to print to chat upon all talk starts.
    // -
    // Default: "All Talk Enabled!"
    l4d_rat_startalltalk_msg "All Talk Enabled!"
    
    // Sound file to play upon all talk starts, relative to the sound folder.
    // -
    // Default: "ui/menu_enter05.wav"
    l4d_rat_startalltalk_sound "ui/menu_enter05.wav"
    
    // Toggles all talk off after this amount of time upon the round start event (does nothing if startalltalk is false).
    // -
    // Default: "4.0"
    l4d_rat_startalltalk_time "4.0"
    
    // Sets whether the plugin is using sounds or not (sounds are defined in the script).
    // -
    // Default: "1"
    l4d_rat_usesounds "1"
    Changelog:
    Code:
    Version 1.1
    + Added cvars to allow change of message and sounds without editing source file
    
    Version 1.0a
    ~ Fixed timers and invalid handlers
    
    Version 1.0
    + Added sounds
    + Added enable cvar
    
    Version 0.90
    Initial release
    Attached Files
    File Type: sp Get Plugin or Get Source (RoundAllTalk 1.0a.sp - 1649 views - 5.6 KB)
    File Type: sp Get Plugin or Get Source (RoundAllTalk 1.1.sp - 2713 views - 6.7 KB)

    Last edited by Mr. Zero; 12-19-2009 at 07:24.
    Mr. Zero is offline
    Downtown1
    Veteran Member
    Join Date: Mar 2004
    Old 12-13-2009 , 00:57   Re: [L4D2] Round All Talk
    Reply With Quote #2

    What makes this L4D-specific? Code looks like it would work for any mod.
    Downtown1 is offline
    loraliromance
    Senior Member
    Join Date: Apr 2009
    Old 12-13-2009 , 02:12   Re: [L4D2] Round All Talk
    Reply With Quote #3

    I actually use snare speak and the option to have alltalk at round end (and of course when pounced, smoked, boomed, etc).
    I find it very enjoyable during clan games and such at round end.

    However our clan has a almost vanilla server and can't use snare speak because of that. so thank you Mr. Zero for this lovely plugin that they will be very thankful for
    loraliromance is offline
    Mr. Zero
    Veteran Member
    Join Date: Jun 2009
    Location: Denmark
    Old 12-13-2009 , 02:51   Re: [L4D2] Round All Talk
    Reply With Quote #4

    Quote:
    Originally Posted by Downtown1 View Post
    What makes this L4D-specific? Code looks like it would work for any mod.
    It does hook the player_leave_start_area event. However without that event, yeah it could be used on any mod I guess.
    Mr. Zero is offline
    Mr. Zero
    Veteran Member
    Join Date: Jun 2009
    Location: Denmark
    Old 12-15-2009 , 11:24   Re: [L4D2] Round All Talk
    Reply With Quote #5

    New version.

    Code:
    Version 1.0a
    ~ Fixed timers and invalid handlers
    Mr. Zero is offline
    untalented893
    Senior Member
    Join Date: Oct 2009
    Old 12-15-2009 , 17:43   Re: [L4D2] Round All Talk
    Reply With Quote #6

    Will there be a notification to players about this plugin?
    untalented893 is offline
    Necrothug
    Member
    Join Date: Aug 2008
    Old 12-15-2009 , 20:40   Re: [L4D2] Round All Talk
    Reply With Quote #7

    It currently prints onscreen when Alltalk is enabled and disabled.
    Necrothug is offline
    Mr. Zero
    Veteran Member
    Join Date: Jun 2009
    Location: Denmark
    Old 12-16-2009 , 03:10   Re: [L4D2] Round All Talk
    Reply With Quote #8

    Quote:
    Originally Posted by untalented893 View Post
    Will there be a notification to players about this plugin?
    It prints out "[SM] All Talk Enabled!" upon round end or when ever you enables all talk.
    Besides that it also uses sounds.

    If you wish to change the text or the sound you will have to open the script file and change the following lines: (line 7 to 11)
    Code:
    #define ALLTALKMSG_TAG			"\x04[SM]\x01"
    #define ALLTALKMSG_ENABLE 		"All Talk Enabled!"
    #define ALLTALKMSG_DISABLE 		"All Talk Disabled!"
    #define ALLTALKSND_ENABLE		"ui/menu_enter05.wav"
    #define ALLTALKSND_DISABLE		"ui/pickup_misc42.wav"
    Mr. Zero is offline
    Necrothug
    Member
    Join Date: Aug 2008
    Old 12-16-2009 , 17:19   Re: [L4D2] Round All Talk
    Reply With Quote #9

    Why was this unapproved?
    Necrothug is offline
    psychonic

    BAFFLED
    Join Date: May 2008
    Old 12-16-2009 , 17:32   Re: [L4D2] Round All Talk
    Reply With Quote #10

    Quote:
    Originally Posted by Necrothug View Post
    Why was this unapproved?
    It states in the header of the first post.
    Quote:
    Reason for Unapproving: replicates existing plugins
    psychonic 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:22.


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