[L4D] L4D Tank announce and lock door (v1.1.7, 2022-01-02)
1 Attachment(s)
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 |
Re: [L4D] L4D Tank announce and lock door (v1.0.7, 2020-03-28)
Really usefull, Would love to see L4D2 support! So i can give it a try.
|
Re: [L4D] L4D Tank announce and lock door (v1.0.7, 2020-03-28)
Hello,
such errors appeared Quote:
|
Re: [L4D] L4D Tank announce and lock door (v1.0.7, 2020-03-28)
Great, always looking for this feature!
Is it possible to set the birthplace of tanks and witches |
Re: [L4D] L4D Tank announce and lock door (v1.0.7, 2020-03-28)
Quote:
Is this happening on stock or custom campaigns? Or a particular map!? |
Re: [L4D] L4D Tank announce and lock door (v1.0.7, 2020-03-28)
Quote:
There are a other plugins messing with tanks and witches. MB you can request a plugin where you can put individual spawn points and amounts an a per map cfg basis. That would be indeed cool to spawn tanks and witches on some unusual places. |
Re: [L4D] L4D Tank announce and lock door (v1.0.7, 2020-03-28)
Quote:
My English is not good, I don't know how to ask |
Re: [L4D] L4D Tank announce and lock door (v1.0.7, 2020-03-28)
Can you add a hint?
When the tank appeared, the security door was locked. When the player tried to open the security door, a prompt message appeared |
Re: [L4D] L4D Tank announce and lock door (v1.0.7, 2020-03-28)
Haven't tested it, mabye replace the Event_PlayerDeath Event_PlayerSpawn and then hook the opendoor event.
And then make a message. Not sure if this works, haven't tested it. PHP Code:
|
Re: [L4D] L4D Tank announce and lock door (v1.0.7, 2020-03-28)
"IsClientConnected(i) && IsClientInGame(i)" - There's no need to check "IsClientConnected" because "IsClientInGame" already does that.
If you want to support L4D2, the "m_zombieClass" for tank is 8 in L4D2 and 5 in L4D1. Suggest something like "g_iClassTank = g_bLeft4Dead2 ? 8 : 5;" in plugin start, then checking against that var. |
All times are GMT -4. The time now is 06:13. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.