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
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.