Raised This Month: $32 Target: $400
 8% 

[L4D1 & L4D2] Throwable Announcer [v1.0.8 | 05-September-2021]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Plugin ID:
7309
Plugin Version:
1.0.8
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    1317 
    Plugin Description:
    Outputs to the chat who threw a throwable
    Old 09-29-2020 , 13:19   [L4D1 & L4D2] Throwable Announcer [v1.0.8 | 05-September-2021]
    Reply With Quote #1

    Description

    This plugin outputs to the chat every time someone throws a throwable:
    • Molotov
    • Pipe Bomb
    • Vomit Jar

    There are some plugins in the forum that already does that for the molotov, because of the molotov_thrown event,
    But since we don't have specific events for pipe bomb or vomit jar, some people requested me to the same for both, mostly for the vomit jar because of the [L4D2] Bile the World plugin.

    Features
    • Output the name of who threw a throwable to the chat.
    • Allow selecting which throwables should output to the chat.
    • Allow selecting which teams should see the message.

    Preview



    Chat message examples
    • Mart has thrown a molotov!
    • Mart has thrown a pipe bomb!
    • Mart has thrown a vomit jar!

    Cvars

    A configuration file named "l4d_throwable_announcer.cfg" will automatically be created for you upon the first run in the "\cfg\sourcemod\" folder.

    PHP Code:
    // Enable/Disable the plugin.
    // 0 = Disable, 1 = Enable.
    // -
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    l4d_throwable_announcer_enable "1"

    // How many seconds should the plugin wait to detect if it was a fake throw.
    // 0 = OFF, 1 = ON.
    // -
    // Default: "0.3"
    // Minimum: "0.000000"
    l4d_throwable_announcer_fake_throw "0.3"

    // Output to the chat every time someone throws a molotov.
    // 0 = OFF, 1 = ON.
    // -
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    l4d_throwable_announcer_molotov "1"

    // Output to the chat every time someone throws a pipe bomb.
    // 0 = OFF, 1 = ON.
    // -
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    l4d_throwable_announcer_pipebomb "1"

    // Should the message be transmitted to those who throw it.
    // 0 = OFF, 1 = ON.
    // -
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    l4d_throwable_announcer_self "1"

    // Which teams should the message be transmitted to.
    // 0 = NONE, 1 = SURVIVOR, 2 = INFECTED, 4 = SPECTATOR, 8 = HOLDOUT.
    // Add numbers greater than 0 for multiple options.
    // Example: "3", enables for SURVIVOR and INFECTED.
    // -
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "15.000000"
    l4d_throwable_announcer_team "1"

    // Output to the chat every time someone throws a vomit jar.
    // L4D2 only.
    // 0 = OFF, 1 = ON.
    // -
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    l4d_throwable_announcer_vomitjar "1" 
    Admin Commands
    • sm_print_cvars_l4d_throwable_announcer => Print the plugin related cvars and their respective values to the console. (z flag required)

    Change Log

    Spoiler


    Current Translations
    • en - English
    • es - Spanish
    • hu - Hungarian
    • pt - Brazilian Portuguese
    • pt_p - Portuguese
    • ru - Russian
    • zho - Traditional Chinese

    Notes
    • The vomit jar message only outputs to the L4D2 game, since L4D1 don't have vomit jars.

    To Do
    • Add instructor hints markers to the throwers. (L4D2 only)

    Thank you!
    • znation - for the request.
    • emsit - for the ThrowingAntiSpam plugin, which was some base for this one.
    • KadabraZz - for reporting how-to fake announces.
    • KasperH - for the Hungarian (hu) translation.
    • Zheldorg - for the Russian (ru) translation.
    • in2002 - for the Traditional Chinese (zho) translation.

    Related Plugins

    Post Reply
    • Any feedback, bug reports, fixes, improvements, translations or suggestions for the plugin are welcome.

    Installation
    • Put the "l4d_throwable_announcer.phrases.txt" file in your "\addons\sourcemod\translations\" folder.
    • Put the "l4d_throwable_announcer.smx" file (click Get Plugin) in your "\addons\sourcemod\plugins\" folder.
    Attached Files
    File Type: txt l4d_throwable_announcer.phrases.txt (2.4 KB, 581 views)
    File Type: sp Get Plugin or Get Source (l4d_throwable_announcer.sp - 616 views - 21.2 KB)
    __________________

    Last edited by Marttt; 01-25-2023 at 11:56.
    Marttt is offline
    KasperH
    Senior Member
    Join Date: Apr 2016
    Location: Hungary
    Old 09-29-2020 , 13:56   Re: [L4D1 & L4D2] Throwable Announcer
    Reply With Quote #2

    Added Hungarian.
    Attached Files
    File Type: txt l4d_throwable_announcer.phrases.txt (1.5 KB, 288 views)
    __________________

    "I've Got You In My Sights!"
    KasperH is offline
    Kai0205
    Member
    Join Date: Sep 2017
    Old 09-30-2020 , 09:02   Re: [L4D1 & L4D2] Throwable Announcer [v1.0.3 | 30-September-2020]
    Reply With Quote #3

    Thanks, I really need this plugin: D
    Kai0205 is offline
    strikeraot
    Senior Member
    Join Date: Dec 2018
    Location: Viet Nam
    Old 11-20-2020 , 01:42   Re: [L4D1 & L4D2] Throwable Announcer [v1.0.5 | 16-October-2020]
    Reply With Quote #4

    simple but useful
    strikeraot is offline
    Zheldorg
    Junior Member
    Join Date: Aug 2020
    Old 04-10-2021 , 09:10   Re: [L4D1 & L4D2] Throwable Announcer [v1.0.6 | 06-March-2021]
    Reply With Quote #5

    Russian language
    Attached Files
    File Type: txt l4d_throwable_announcer.phrases.txt (2.5 KB, 152 views)
    Zheldorg is offline
    yabi
    Senior Member
    Join Date: Jun 2021
    Location: Taiwan
    Old 09-04-2021 , 08:17   Re: [L4D1 & L4D2] Throwable Announcer [v1.0.7 | 11-April-2021]
    Reply With Quote #6

    請問有繁體字嗎��

    Need to increase, traditional characters
    yabi is offline
    HarryPotter
    Veteran Member
    Join Date: Sep 2017
    Location: Taiwan, Asia
    Old 09-04-2021 , 10:17   Re: [L4D1 & L4D2] Throwable Announcer [v1.0.7 | 11-April-2021]
    Reply With Quote #7

    Quote:
    Originally Posted by yabi View Post
    請問有繁體字嗎******************

    Need to increase, traditional characters
    可以自己翻譯
    You can translate by yourself
    __________________
    HarryPotter is offline
    in2002
    Member
    Join Date: Apr 2021
    Location: Taiwan
    Old 09-04-2021 , 10:35   Re: [L4D1 & L4D2] Throwable Announcer [v1.0.7 | 11-April-2021]
    Reply With Quote #8

    Added Traditional Chinese (Taiwan)
    Attached Files
    File Type: txt l4d_throwable_announcer.phrases.txt (2.7 KB, 228 views)
    in2002 is offline
    yabi
    Senior Member
    Join Date: Jun 2021
    Location: Taiwan
    Old 09-08-2021 , 21:02   Re: [L4D1 & L4D2] Throwable Announcer [v1.0.7 | 11-April-2021]
    Reply With Quote #9

    Quote:
    Originally Posted by in2002 View Post
    Added Traditional Chinese (Taiwan)

    Intimate 2002 Thank you very much
    yabi 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 13:54.


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