Left 4 Dead 2

Left 4 Dead 2

118 ratings
[VScript] Infected Rescue Closet
2
   
Award
Favorite
Favorited
Unfavorite
Infected: Special Infected
Game Content: Scripts
File Size
Posted
Updated
13.386 KB
21 Aug @ 4:51pm
25 Aug @ 10:53pm
5 Change Notes ( view )

Subscribe to download
[VScript] Infected Rescue Closet

Description
Idea and description by kouga:

Have you ever thought that rescue closets seem a little too convenient? Do you wish it was more than just a glorified way to respawn survivors and include a risk factor to it?

This script can randomly spawn special infected by chance when trying to rescue teammates from the closet, as well as optionally rekill/hurt them to make it seem like you were too late and they were attacked inside.

That way, you would need to think twice on whether or not it would be worth it to open that person calling to be let out. Because in a dire situation, that might just be what can end your run! But for those who like to take chances, you could be rewarded with an extra pair of hands to brave the apocalypse with.

Pairs well with mods that augment the rescue closet even further. Including:

CST Rescue Closet Takeover
Survivor Rescue 0 Sec
Locked Rescue Closet
Survivors Stagger out of Rescue Closets

The settings are located in:
/Left 4 Dead 2/left4dead2/ems/infected_rescue_closet/settings.cfg

There is an option for all the percent chances for each special infected to spawn. (The spawn percentages stack with each other)
And an option for the percent chance to kill/hurt the rescued survivors.
You can also limit the amount of special infected that can spawn if you want.

Credits:
kouga - playtest
devlos & chatgpt - ParseSettings code
34 Comments
Ammar Kun 18 Sep @ 4:57pm 
Glubtastic campaign in a nutshell
PEACEandLOVE 28 Aug @ 7:25pm 
Witch chance of 33-50% might be more reasonable lol I think I like difficulty too much
PEACEandLOVE 28 Aug @ 7:20pm 
I've found some fun results by setting all SI to zero except tank and witch. Witch ~50-66%, Tank 1%, 50 damage to survivor, and 33% chance survivor is damaged. This produces a nice variety of scenarios that balance risk and reward, and leave you second guessing your plans when you come across a rescue closet.

If you have 1 survivor to rescue, you're not gaining that much reward from opening the closet... BUT it is unlikely (33%) he will spawn downed, so IF (50-66%) a witch is in there, he will be able to quickly extricate himself before the witch is angered. With 3 survivors to rescue, you're getting the most reward, but at 33% chance for each one of them to be downed, IF (50-66%) a witch spawns and IF (50%) it is a sitting witch, it will almost certainly be triggered.

And on top of all that, you always have a 1% chance of a tank spawning in there lol, even if it is infinitesimally small.
PEACEandLOVE 28 Aug @ 7:19pm 
@kouga thanks for the help man! The 'relentless witch' mod by Interneted really helps turn the witch into a team wiping threat like the tank. And the 'witch state randomizer' by Rise plus the 'witch gets angered by flashlights' mod by Geebanger0 allow this threat to come into play in more interesting ways, as the sitting witch is harder to run into but much easier to accidentally trigger, balancing the two witch states' risks to the survivors.
bomboclat 24 Aug @ 6:34am 
PERFECT FOR NIGHTMARE MOD
kouga  [author] 23 Aug @ 8:41am 
@PEACEandLOVE, go to this directory:
/Left 4 Dead 2/left4dead2/ems/infected_rescue_closet/settings.cfg

you will find the settings there
PEACEandLOVE 23 Aug @ 8:17am 
@ChapCanai Can you please explain how we change the settings? I've been trying to by
(1) extracting the mod in vpkedit
(2) opening the .nut file 'yeoh_infected_rescue_closet'
(3) I tried changing the values to other numbers between 0-100, and save.
(4) I dragged the extracted vpk folder over 'vpk.exe' to re-pack it.
(5) I placed the newly edited version in my 'l4d2/addons' folder.
(6) Test run, it never works.
ChapCanai  [author] 22 Aug @ 8:37pm 
Its in the settings
Cursed Hawkins 22 Aug @ 8:33pm 
Probably should exclude the Witch and Tank from being options to be spawned or at least made so they're the only thing that does spawn since these two are classified as bosses in both games in my opinion.
PEACEandLOVE 22 Aug @ 5:31pm 
All this could be addressed by complimentary standalone mods rather than changes to this one, giving non-modding workshop users more flexibility. Except the door-witch-trigger, that would have to be a direct variation of this mod, and I have no clue how that would be done. Maybe add a percentage likelihood for the witch to receive a small amount of damage from the survivor that opens the door? Geebanger0 was working on a similar mod to this last year and tried that approach.

I'm trying to experiment with the percentages and see if I can find a right balance where it's still worth it for survivors to open these rescue closets, but only under the right circumstances and with some planning. Kind of like very miniature panic events themselves - especially with witch and tank a distinct possibility.