Following on from pta's post:
I used gcfscape to unpack the .vpk (using the vpk.exe in the L4D2 game files won't work), and L4D2 Vscript Editor Beta by Cynick to decompile, modify and recompile the vscript files, which are in .nuc format.
Then I pack the files I modified into a .vpk file using the vpk.exe in the L4D2 game files, following their original directories, and put that into my addon folder.
Enable it in your Addons in-game, then host a server. The modified files work online, other players will be able to join your game. You will not be able to join other people's games unless you disable the Addon.
Using this method, I was able to unlock bosses and boss limits (and common limits) on intro and finale maps:
* Dead Center 1
* The Parish 1
* All the L4D1 intro and finale maps
There are other limits that Valve put in those vscripts which you can remove, such as the 20 Common Limit for L4D1 finale maps (compared to 25 on Dark Carnival finale, or 30 by default on most maps. So if you ever felt like, say, Death Toll's finale hordes are too damn small, now you can remove the limit or set it higher than default).
Thinking of uploading my files onto the Steam Workshop soon. Without any plugins, the files by themselves will:
* Enable tank spawns on all intro maps by removing the vscript that prohibited their spawning in the first place. This DOES NOT guarantee boss spawns, it simply removes the prohibition.
* Enable bigger hordes on finale maps by removing the vscript that limited mob sizes to less than default.
I normally use Multitanks v17 with two Tank spawns during the second Tank wave on finale maps, which works on L4D2 campaigns but not L4D1 due to vscripts. Now, FINALLY, I can have two Tanks at once on the L4D1 finale maps.
You can also modify the mission files as described by pta to remove the boss spawn limits in Versus mode.
UPDATE:
* When I modify and pack the mission files into the .vpk, some of the modified vscripts don't get overridden. Maybe there's a limit on how many files you can put in a .vpk? Not very sure about this. Without the mission files, the original vscripts are overridden by my modified vscripts flawlessly.
* In order to get a guaranteed Tank and multiple Witches on every map, I use Ja-Force's Witches Respawn Control v16 plugin to handle my Witch spawns and Timocop's VScript Director Options Unlocker to disable witch spawning by the Director (DisallowThreatType=7). Since the Director spawns a boss on every map, but is now prevented from spawning a Witch, it will spawn a Tank on every map.
You can probably use Tordecybombo's Auto Infected Spawner to handle Witch spawns too, as well as any other plugin that spawns Witches independently of the Director.
UPDATE 2:
Come to think of it, you can probably just use Timocop's VScript Director Options Unlocker to make all your vscript edits. It fires every 0.5 seconds, so it'll override all default vscripts.
But I'll leave this post here anyway in case people wonder how to act on pta's information.
UPDATE 3:
CONFIRMED: Overriding vscripts can be done with Timocop's plugin without extracting, decompiling, modifying, recompiling the game files etc.
Some of the syntax used is a bit different from those listed on the page he provided:
https://developer.valvesoftware.com/...rector_Scripts
For instance, ProhibitBosses only works if it's "1" or "0" in the plugin's .cfg file, and not "true" or "false" like if you were editing the .nuc file directly. It doesn't return an error if you put "true" or "false", but it won't work.
For DisallowThreatType, "ZOMBIE_TANK" and "ZOMBIE_WITCH" won't work. Instead, scroll down to the bottom of the page where you'll see all the different Special Infected defined by respective numbers (ZOMBIE_WITCH = 7).
Modifying director scripts that use a numerical value should be fairly straightforward. Director scripts that use non-numerical values will probably need some experimenting. Bools are just "1" or "0" instead of "true" or "false".
If you want map-specific changes, you'll have to use a map-specific configs plugin. Personally, I use Chi_Nai's Map-based Configs plugin.
Back to thread topic:
You can enable Tanks on No Mercy 1 and 4 (and all other maps) by using plugins to modify vscripts and mission files. Modifying vscripts alone is enough for co-op, not sure if it's necessary for versus. For versus, you will have to modify mission scripts to adjust versus boss spawn rates.
Vscript:
VScript Director Options Unlocker by Timocop
https://forums.alliedmods.net/showthread.php?p=2535972
List of L4D2 Director Scripts
https://developer.valvesoftware.com/...rector_Scripts
Mission Script:
Mission and Weapons - Info Editor by Silvers
https://forums.alliedmods.net/showthread.php?p=2614626
List of L4D2 Mission Files
https://developer.valvesoftware.com/..._Mission_Files