Left 4 Dead 2

Left 4 Dead 2

193 ratings
[V-Script] ShouldAllowSpecialsWithTank Fix
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
2.449 MB
3 Nov, 2024 @ 2:00pm
17 Apr @ 5:22am
6 Change Notes ( view )

Subscribe to download
[V-Script] ShouldAllowSpecialsWithTank Fix

Description
What does it do?
This script is a loophole of the ShouldAllowSpecialsWithTank variable. Enabling ShouldAllowSpecialsWithTank makes the Director completely ignore Tempo (BUILDUP, PEAK, RELAX) for Specials and make them respawn based on their timer instead. This means Specials attack you out of nowhere during RELAX stage which actually sucks. So, the script only enables the variable when Tank(s) spawn and disables once it dies.

Common Infected Update
Common Infected will now assist the Tank in future fights. This occurs during mob spawns. This does not affect the tempo in any way. So mob spawns are still disabled during RELAX. There's an option to turn off the commons assisting the Tank in the cfg.

Something to note
The script has an option to enable or disable the script during Finales. Check in ems/ShouldAllowWithTank Fix. I believe it works fine even in finale scripts that has ShouldAllowSpecials on. If it conflicts, you have the option to turn the script off.

ONLY HOST NEEDS THIS, THIS IS A SERVER-SIDED SCRIPT - LOCAL SERVER/DEDICATED ONLY
IF YOU GET CHINESE LETTERS IN CFG, USE NOTEPAD+, THIS IS A MICROSOFT PROBLEM NOT A MOD PROBLEM

Credits
Me - Making the Script.
Satanic Spirit - For helping me with my bad coding.
Sisyphean - For helping me with my bad coding.
KeithGDR - For helping me with my bad coding and helping me create a cfg file.
36 Comments
Phoenix Nebula 15 Jul @ 8:09pm 
Genuinely despised the difficulty this addon brought to my L4D2 playthroughs, would never use it again....IN A GOOD WAY OF COURSE >:3

This mod pack called terror strike zero had this as part of their addons and (with a certain weapon NERF mod), made it an actual challenge to take down a tank while also dodging spitter goo and hunters pouncing a gazillion feet in the air. Although I would not use this ever again to avoid smashing my own keyboard, I actually enjoyed the challenge this addon brought. Thank you!
gloom  [author] 29 May @ 9:22am 
@SleepyNotDead My script enables a setting that's in the game that allows specials to spawn when a Tank is in play as in alive. However, if you enable this setting as is, the specials will spawn based on their respawn timer rather the Director's tempo. The tempo matters as it gives you that downtime of nothing happening after a big fight.

So, I've made a loophole that the setting only turns on when a Tank spawns and it will disable when all Tanks are dead so you don't get specials harassing you during that downtime. I've also made so commons can help out the Tank as well but there's a cfg in the ems folder if you want that off.
SleepyNotDead 29 May @ 2:18am 
Im very confused by what this does.
gloom  [author] 17 Apr @ 5:26am 
@Pluvillion I put out a quick hotfix. It should actually work now.
gloom  [author] 17 Apr @ 4:42am 
@Pluvillion okay, it's probably Vslib being cringe again. ill do a hot-fix today
Pluvillion 17 Apr @ 3:10am 
I just tried playing a campaign and the mod isn't making any folder in the ems folder. I deleted the cfg file first because I know the mod will make a new one with the added param, then deleted the folder second (did it without reading the patch notes, my bad), but so far nothing's popped up.
Pluvillion 16 Apr @ 7:59am 
Bless you!
gloom  [author] 14 Apr @ 8:44am 
Alright. I added the option, let me know if it works out for ya.
Pluvillion 12 Apr @ 4:32am 
You did tell us to let you know if you want us to have the option to turn it off. It's been a while since I last played a custom campaign anyways. It's nice to have a little bit of something new but it gets overbearing sometimes haha. Will be waiting patiently for that patch.
gloom  [author] 11 Apr @ 8:25am 
@Pluvillion Alright, I think maybe a option that I could do to fix that is have an option for you to disable horde spawning *with Tank so you can get through custom campaigns. I probably should've seen this coming but I tested this mod for official ones. I'll see I can release a quick patch on Saturday or Sunday.