Left 4 Dead 2

Left 4 Dead 2

207 ratings
[V-Script] ShouldAllowSpecialsWithTank Fix
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
3.353 KB
3 Nov, 2024 @ 2:00pm
20 Jul @ 10:58am
7 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.
41 Comments
gloom  [author] 22 Aug @ 8:08am 
@AZR キエット waynuh.vibez this is meant for any PvE modes, it could work in scavenge or other modes but i haven't tried. i tested and designed this for campaign only. versus already has this feature by default.
Is dis only works in campaign?
kouga 7 Aug @ 5:35am 
OH WHOOPS! turns out i didnt have this mod updated... xP sorry for the trouble! but also thank you!!!
gloom  [author] 7 Aug @ 5:30am 
@kouga the latest update i made to this addon is removing vslib. the only thing in this addon is just the script.
kouga 7 Aug @ 5:23am 
could you perhaps make a version without vslib so it doesnt conflict?
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