View Single Post
Author Message
finishlast
Senior Member
Join Date: Nov 2018
Location: In Reno with the vitamin D.
Old 03-05-2020 , 14:11   [L4D] L4D Tank announce and lock door (v1.1.7, 2022-01-02)
Reply With Quote #1

Description:
This plugin announces tank spawns and locks the safehouse door until the tank is dead.

ATM L4D1 vs only. (For Coop just add the final map names)

Feature:
It makes rushers who try to skip the tank look really dump... when they try to open the safehouse door...

CVAR/Command list:
None

Changelog:
2020-03-05 (v1.0.3)
* Initial release.
2020-03-06 (v1.0.4)
* added l4d_vs_smalltown03_ranchhouse to "is final map" check because churchguy door would open after tank kill...
2020-03-28 (v1.0.7)
* added a workaround for the multiple tanks error, so it only announce the 1st tank and opens the door when all tanks are dead. It will not announce the second tank on final or when they get spawned via other addons
2021-12-18 (v1.1.6)
* added Marttts door checks plus the old one, added message on opening locked end door
2022-01-02 (v1.1.7)
* added Silvers replacement for the cooldown timer

Installation instructions:
Click 'Get Plugin' button, place SMX in the sourcemod plugins folder. Or compile it yourself.

Dependencies:
None

Bugs:
None atm

Plans:
None atm

Credits:
Based on code from:
* [L4D / L4D2] Lockdown System | 1.7 [Final] : Jan. 30, 2019 |
* https://forums.alliedmods.net/showthread.php?t=281305
* Aya Supay for making the code look great again
* MasterMind420 for providing a fix to check for all kinds of ending checkpoint doors
* Silvers for check for "end maps" & replacement for cooldown timer
* Marttt for unethically adding support for l4d2 and timer to check tank and door checks
* ZBzibing for additional testing on door detection problem
Attached Files
File Type: sp Get Plugin or Get Source (l4d_tank_announce_lock_door_v1.1.7.sp - 381 views - 7.9 KB)
__________________

Last edited by finishlast; 01-02-2022 at 10:43.
finishlast is offline