Left 4 Dead 2 Guide

VSLib Developer Guide - Installation

Sharing is temporarily disabled

Left 4 Dead 2 Guide

A simple, powerful VScript library for L4D2. This library will make your modding so much easier. Create superior mutations, interactive maps, and much more.


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.


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


Community Tags

  • VSLib

Guide Credits

You may like

  • Mod
    Anti-Trolls System

    This mod made to prevent those team killers(aka Trolls) from killing all teammates and abuse vote system >>This mod is using vscripts. so it can not be used together with any other mods of mine or Vscripts driven mods. Such as Admin Syst...

  • Mod
    Guns+ and SI+

    it's a vscripts mod. so, can't be used together with mods that alternate gameplay directly(such as Admin System) but works fine with Weapon Script mods since i didn't use weapon script files Works only on Local Host and Singleplay. Does...

  • Mod
    Augmented Bots

    This mod makes bots pretty stronger than vanilla bots Can not use together with other vscripts mods such as Rectus' Custom weapons, Admin System or any other mods of mine Mod Features - Cs weapons are unlocked - Bots have 150 shield po...

  • Mod
    Brutal Apocalypse

    THIS MOD IS USING A VSLIBs scripts. So it might be collided some Vslibs/Vscripts mods THIS MOD DOES NOT WORK ON CUSTOM CAMPAIGNS. ⋙WARNING!!!!⋘ This mod makes the game much more difficult. if you're easy to upset or play serious, you mig...

  • Mod
    Insanity Worlds

    This is a vscripts driven mod Note that this mod doesn't work on any Custom Maps or Official Servers This mod is not mutation. it can runs on every game mode _____________________________________________________________________________...