Raised This Month: $28 Target: $400
 7% 

[L4D1 & L4D2] Dead Center Mall - Alarm Announce [v1.0.1 | 15-July-2024]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Plugin ID:
8724
Plugin Version:
1.0.1
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    1 
    Plugin Description:
    Outputs to the chat who triggered/deactivated the alarm at Dead Center Mall (c1m3_mall)
    Old 07-13-2024 , 10:36   [L4D1 & L4D2] Dead Center Mall - Alarm Announce [v1.0.1 | 15-July-2024]
    Reply With Quote #1

    Description

    This plugin outputs to the chat every time someone triggers/deactivates the alarm at Dead Center Mall (c1m3).

    Features
    • Output the name of who triggered/deactivated the alarm to the chat.
    • Allow selecting which situations should output to the chat (glass break, door opened, alarm deactivated).
    • Allow selecting which teams should see the message.
    • Allow selecting which teams should trigger the message.

    Chat message examples
    • Mart broke the glass and triggered the alarm
    • Mart opened the emergency door and triggered the alarm
    • Mart deactivated the alarm

    Cvars

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

    PHP Code:
    // Announce when the alarm is deactivated.
    // 0 = No, 1 = Yes.
    // -
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    l4d_c1m3_alarm_announce_deactivation "1"

    // Announce when the alarm door opens.
    // 0 = No, 1 = Yes.
    // -
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    l4d_c1m3_alarm_announce_door_open "1"

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

    // Announce when the alarm glass breaks.
    // 0 = No, 1 = Yes.
    // -
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    l4d_c1m3_alarm_announce_glass_break "1"

    // Which teams should read the message.
    // 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: "7"
    // Minimum: "0.000000"
    // Maximum: "15.000000"
    l4d_c1m3_alarm_announce_team_read "7"

    // Which teams should trigger the message.
    // 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: "3"
    // Minimum: "0.000000"
    // Maximum: "15.000000"
    l4d_c1m3_alarm_announce_team_trigger "3" 
    Admin Commands
    • sm_print_cvars_l4d_c1m3_alarm_announce => Print the plugin related cvars and their respective values to the console. (z flag required)

    Change Log

    Spoiler


    Current Translations
    • en - English
    • es - Spanish
    • pt - Brazilian Portuguese
    • pt_p - Portuguese
    • zho - Traditional Chinese

    Thank you!
    • yabi - 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_c1m3_alarm_announce.phrases.txt" file in your "\addons\sourcemod\translations\" folder.
    • Put the "l4d_c1m3_alarm_announce.smx" file (click Get Plugin) in your "\addons\sourcemod\plugins\" folder.
    Attached Files
    File Type: txt l4d_c1m3_alarm_announce.phrases.txt (2.5 KB, 40 views)
    File Type: sp Get Plugin or Get Source (l4d_c1m3_alarm_announce.sp - 59 views - 24.8 KB)
    __________________

    Last edited by Marttt; 07-15-2024 at 09:02.
    Marttt is offline
    replay_84
    Senior Member
    Join Date: Jun 2021
    Old 07-13-2024 , 13:25   Re: [L4D1 & L4D2] Dead Center Mall - Alarm Announce [v1.0.0 | 13-July-2024]
    Reply With Quote #2

    cool. thnx


    and nice that it supports l4d1 versions.

    Last edited by replay_84; 07-13-2024 at 13:28.
    replay_84 is offline
    yabi
    Senior Member
    Join Date: Jun 2021
    Location: Taiwan
    Old 07-14-2024 , 22:54   Re: [L4D1 & L4D2] Dead Center Mall - Alarm Announce [v1.0.0 | 13-July-2024]
    Reply With Quote #3

    I added Traditional Chinese, which is needed for Taiwanese players~!
    My English is not good. If you have any questions, please correct them directly. Thank you.
    Attached Files
    File Type: txt l4d_c1m3_alarm_announce.phrases.txt (2.5 KB, 10 views)
    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 09:19.


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