Ubihazard’s Libs

If you liked this item, please rate it up on Steam Workshop page.

Author: Ubihazard

Last revision: 5 Jul, 2024 at 16:16 UTC

File size: 907.64 KB

On Steam Workshop

Description:

VScript libraries mod pack combining VSLib, VSLU, and Left 4 Lib. If you intend to use this pack, make sure to unsubscribe from the original addons first.

The libraries in this mod pack were modified by me to work together without errors. This package is required to make mods like Left 4 Bots and Dynamic Lighting compatible with each other. It is also required by my Skin Randomizer.

How to Use

After subscribing to this pack you should be able to use any VScript addon that depends on VSLib and VSLU unchanged. Left 4 Bots, however, is tightly integrated with Left 4 Lib and required additional modifications to make it compatible. So, if you use Left 4 Bots, you will have to use my fork of it created specifically to solve this incompatibility issue.

Why is this so complicated? Because L4D scripting system is trash for anything complex and different script addon authors decided to use different set of libraries, disregarding compatibility issues. And this cannot be solved unless they all agree on a standard set of support libs to keep their stuff compatible with each other.

Changes
  • Make VSLU, VSLib, and Left 4 Lib compatible with each other.
  • Increase VSLU ‘OnTick’ callback rate to 100 milliseconds to prevent crashes and performance issues.
  • Minor code changes.

August 2022