This is a VScript that locks doors and buttons in Versus when the Tank has spawned and unlocks them after the Tank has been killed (or removed from the game). It was intended for scripted Director events so that survivors couldn't bypass them before the Tank was gone.
- Drag and drop the
scripts
folder in yourleft4dead2
folder
If you're running a SourceMod server, you'll need to download Stripper: Source.
The following code will prevent survivors from using the generator to start the finale on Crash Course (c9m2_lots.cfg)
when the Tank spawns:
modify:
{
match:
{
"targetname" "finaleswitch_initial"
}
insert:
{
"vscripts" "entity_lock_until_tank_is_dead"
}
}