Left 4 Dead 2
Left 4 Dead 2 is a single-player and multiplayer co-operative survival horror FPS game.
VSLib Developer Guide - Installation
5,284
A simple, powerful VScript library for L4D2. This library will make your modding so much easier. Create superior mutations, interactive maps, and much more.
Installing
Download the library and just extract the contents to the following folder:

C:\Program Files (x86)\Steam\SteamApps\common\Left 4 Dead 2\left4dead2\scripts\vscripts

That's it. Double check that your vscripts folder has a VSLib folder inside. When you distribute your map, mutation, or mod, make sure that you package the VSLib folder with your scripts. The end user / gamer does not need to download or install anything-- everything will be in the VPK.

Next, read about some helpful addons that you can use while working with VSLib.
Documentation
For API documentation (e.g. Doxygen), see here: http://l4d2scripters.github.io/vslib/docs/
Examples of plugins using VSLib
The following are some mods that use VSLib. You can download these mods and view their source code for examples.

Stranded: Intense survival experience. http://www.gamemaps.com/details/10253

Rayman1103's Admin System: Epic admin system mod. http://www.gamemaps.com/details/9406

Shotgunefx's Path Recorder: A really nice helper utility to record camera and vehicle paths. http://www.gamemaps.com/details/15514

Boomer Peril: Tank Rush with a twist. http://www.gamemaps.com/details/15515

Vicious Infected: Inspired by the SM plugin, this plugin takes infected to new heights. http://www.gamemaps.com/details/15516
I found this article helpful
I did not find this article helpful
What people are saying...
You must be logged in to post a comment.
brouo January 2018
hey guy i really need your help im braziliam im not know how program objects but im really trying i need some code to transform explosion in grenade laucher in fireworks thats possible? i need use vslib or just edit weapon_grenade_launcher at script paste? thanks if u can help me
sharktemplar November 2015
Rayman, I am legitimately curious... how is someone to contact you if the only means of doing this is a private message, but their gamemaps account has not existed for 30 days yet? It's literally the most ridiculous thing I've ever seen for a community-based website. What do you recommend?
1