Left 4 Dead 2

Left 4 Dead 2

Not enough ratings
[VScript] Fix tanks die
   
Award
Favorite
Favorited
Unfavorite
Infected: Tank
Game Content: Scripts
File Size
Posted
Updated
133.571 KB
13 Jun @ 11:58pm
14 Jul @ 10:36pm
11 Change Notes ( view )

Subscribe to download
[VScript] Fix tanks die

Description
Automatically kill tanks after 5 sec when they have less than 100 HP to avoid a looping death animation bug.
This can happen when using addons that modify the vanilla HP of the tank (6000HP).
This can be problematic during the finals where the game waits for the tank to die to continue the storyline...

Thanks to @kurochama for his help!!
12 Comments
Charlix  [author] 15 Jul @ 8:39am 
Yes indeed, there were still problems with a mode where I put a lot of tanks to push the game. The bugged tank disappeared well but it continued to block the continuation of the map and the tank music did not stop. I also found some coding errors that I corrected. Now we finally have a v1 that works well.
(^^^) Xeno 15 Jul @ 5:14am 
Why it kept updating? Does the bug keeps appearing?
Pemarces273 28 Jun @ 8:11pm 
@FR Lea. A few runs in, haven't encounter problems with death animations/disappearances. Thanks
Charlix  [author] 28 Jun @ 1:58am 
works great! :steamsunny:
Charlix  [author] 27 Jun @ 10:25am 
My first tests are good. No more problems with death animations or disappearances.:steamthumbsup:
Charlix  [author] 27 Jun @ 9:37am 
Thanks for your feedback. I just updated the code to improve the behavior. The tank will only disappear if the animation is bugged normally (it doesn't happen every time)
Pemarces273 26 Jun @ 9:28pm 
i mean as in after my team and I shot the tank to death, somehow the tank disappears, but the damage is registered on the scoreboard
Pemarces273 26 Jun @ 9:27pm 
is it normal for tanks to disappear?
L_M 15 Jun @ 4:35pm 
@Jakiy its alwayshappen if you encounter many tanks and the have custom health and the tank too fast to die
Jakiy 15 Jun @ 2:13am 
If you could make a video showcasing the bug, that would have been cool. I have been playing with 15000 HP tank and never encountered the thing like you mentioned so just curious how it gonna looks like what everyone else are experiencing. :steamhappy: