[L4D/2] TankDoorFix
1 Attachment(s)
This is a quickfix which will hopefully prevent doors from ever surviving a tank punch again.
This uses sdkhooks. In case the door doesn't want to break when the tank punches right at it, this will destroy the door manually. Only bug I've encountered is that the door doesn't get blasted away, it just falls into pieces. If this plugin circumvents the door bug, a message is shown to the tank, which is also written to the logfile. In that case it would be nice of you to notify me because it is kind of impossible to reproduce. Changes in 1.4: -Added version cvar Changes in 1.3: -Fixed http://forums.alliedmods.net/showpos...0&postcount=15 Changes in 1.2: -Fixed foolishly missing verification in timer tick Changes in 1.1: -Fixed L4D support -Added check for compatibility -Adjusted TakeDamage call to match the damage amount and the damage type of the usual tank punch against the door |
Re: [L4D/2] TankDoorFix
Hi there. Nice plugin. Some players asked me write this fix few days ago but you are ahead of me :). Here is my request. Could you add l4d support? people in need!
EDIT: Oooops! What about safe room doors? change this code PHP Code:
PHP Code:
|
Re: [L4D/2] TankDoorFix
Quote:
Quote:
|
Re: [L4D/2] TankDoorFix
There is one reason why it shouldn't work. m_zombieClass prop returns 5 for tank in l4d not 8.
Your plugin checks only ordinary hinged doors (prop_door_rotating) safe room use special variant of prop_door_rotating (prop_door_rotating_checkpoint) so players still can blocks tank in start/end safe areas. If you make my changes plugin will be checks both type of doors and support l4d. You can use following code to check l4d/l4d2 tank if you want. PHP Code:
|
Re: [L4D/2] TankDoorFix
Quote:
I will fix the l4d issue though. |
Re: [L4D/2] TankDoorFix
Then you should make a note PLUGIN SUPPORT ONLY VERSUS or make gamemode check because in Co-Op you can close the safe room door. That's what I'm talking about.
|
Re: [L4D/2] TankDoorFix
Still, it is intended to be able to lock the tank inside. Actually locking the ai tank in there is much more difficult because if the ai chases you and decides to not throw a rock it will ALWAYS use the shortest way. Since you'd have to go around the tank in that case there would be always losses.
So whoever decides to go back to the saferoom to lock an ai tank inside is obviously using one of the worst ways possible to kill a tank. Whether this plugin is a bugfix only or not is not up for discussion. oO I'm actually against gameplay modifiers in general because it is random to the people that join and you do not know completely what modifications have been made, let alone keep them all in mind if in the rarest case there is some information upon joining the server. It is like you'd insist the ghost fly plugin developer to let SI fly even after they've spawned. |
Re: [L4D/2] TankDoorFix
Left 4 Dead: Blocking Safe Room Door
I can stop the discussion and attach Co-Op version, I was just hoping that you pay attention on players request that I got. |
Re: [L4D/2] TankDoorFix
You could have told me right away that this particular "workaround" for ai tanks exists.
I'd actually go ahead and try a different approach: Check for the ai tank, the abusive player and the saferoom door. Then either make the door disappear or teleport that person. However I would not do that in a non-competitive mode because in coop it is up to the players to decide when to use exploits or not. At this point they might as well use cheats to kill the tank or prevent it from spawning. So fixing this doesn't fix the actual issue at hand. What I could add to the plugin is to optionally prevent the saferoom door at the start from closing again as it works in versus. But honestly this should be part of a different plugin. But wth I'll do it anyway. Come by tomorrow I'll post the new plugin. |
Re: [L4D/2] TankDoorFix
Perhaps my poor English forced us to spend time on this discussing. Anyway thanks.
p.s you forgot change plugin version to "1.1" :) |
| All times are GMT -4. The time now is 23:17. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.