lockdown_system-l4d2
Folders and files
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||
Locks Saferoom Door Until Someone Opens It. -Changelog- v4.4 -Remake Code -ProdigySim's method for indirectly getting signatures added, created the whole code for indirectly getting signatures so the plugin can now withstand most updates to L4D2! (Thanks to Shadowysn: https://forums.alliedmods.net/showthread.php?t=320849 and ProdigySim: https://github.com/ProdigySim/DirectInfectedSpawn) -Add more covars -Update L4D2 "The Last Stand" gamedata -improve code -translation support -Fixed "lockdown_system-l4d2_spam_bot_disable" not working -Fixed not workng in L4D2 "The Last Stand" Map -Fixed plugin not working in versus v1.7 -Original Post: https://forums.alliedmods.net/showthread.php?t=281305 -Require- 1. sourcemod 1.10 or above 2. left4dhooks: https://forums.alliedmods.net/showthread.php?p=2684862 3. [INC] Multi Colors: https://forums.alliedmods.net/showthread.php?t=247770 -Convars- // If 1, all survivors must assemble near the saferoom door before open. lockdown_system-l4d2_all_survivors_near_saferoom "1" // If 1, Enable saferoom door status Announcements lockdown_system-l4d2_announce "1" // Duration Of Anti-Farm lockdown_system-l4d2_anti-farm_duration "50" // Duration Of Lockdown lockdown_system-l4d2_duration "100" // The default value for saferoom door glow range. lockdown_system-l4d2_glow_range "550" // The default glow color for saferoom door when lock. Three values between 0-255 separated by spaces. RGB Color255 - Red Green Blue. lockdown_system-l4d2_lock_glow_color "255 0 0" // Turn off the plugin in these maps, separate by commas (no spaces). (0=All maps, Empty = none). lockdown_system-l4d2_map_off "c10m3_ranchhouse,l4d_reverse_hos03_sewers,l4d2_stadium4_city2,l4d_fairview10_church,l4d2_wanli01" // Number Of Mobs To Spawn lockdown_system-l4d2_mobs "5" // Time Interval to spawn a tank when door is opening (0=off) lockdown_system-l4d2_opening_tank_interval "50" // Two tanks during opening door in these maps, separate by commas (no spaces). (0=All maps, Empty = none). lockdown_system-l4d2_map_two_Tank "c1m3_mall" // After saferoom door is opened, slay players who are not inside saferoom in seconds. (0=off) lockdown_system-l4d2_outside_slay_duration "60" // How many seconds to lock after opening and closing the saferoom door. lockdown_system-l4d2_prevent_spam_duration "3.0" // If 1, prevent AI survivor from opening and closing the door. lockdown_system-l4d2_spam_bot_disable "1" // 0=Off. 1=Display a message showing who opened or closed the saferoom door. lockdown_system-l4d2_spam_hint "1" // If 1, Enable Tank Demolition, server will spawn tank after door open lockdown_system-l4d2_tank_demolition_after "1" // If 1, Enable Tank Demolition, server will spawn tank before door open lockdown_system-l4d2_tank_demolition_before "1" // 0=Off. 1=Teleport common, special infected, and witch if they touch the door inside saferoom when door is opening. (prevent spawning and be stuck inside the saferoom, only works if Lockdown Type is 2) lockdown_system-l4d2_teleport "1" // Lockdown Type: 0=Random, 1=Improved (opening slowly), 2=Default lockdown_system-l4d2_type "0" // The default glow color for saferoom door when unlock. Three values between 0-255 separated by spaces. RGB Color255 - Red Green Blue. lockdown_system-l4d2_unlock_glow_color "200 200 200" -Command- None -Natives & Forwards API- /** * @brief Called when saferoom door is completely opened * * @param sKeyMan who opened the saferoom door. * * @noreturn */ forward void L4D2_OnLockDownOpenDoorFinish(const char[] sKeyMan);