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

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


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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, 39 views)
    File Type: sp Get Plugin or Get Source (l4d_c1m3_alarm_announce.sp - 56 views - 24.8 KB)
    __________________

    Last edited by Marttt; 07-15-2024 at 09:02.
    Marttt is offline
     


    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 11:27.


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