List of Script Libraries

From Valve Developer Community
Jump to navigation Jump to search
English (en)Translate (Translate)
English (en)Translate (Translate)

This page contains a list of community-made VScript libraries.

Tip.pngTip:Libraries intended for a specific game still be useful as a reference or to extract specific helper functions, e.g. Left 4 Dead 2 libraries can also be useful in Team Fortress 2 due to similarities in their scripting functionality.
Todo: Expand this list, there is definitely more libraries out in the wild
Name Description Compatible Games Link
csgo-vscripts Collection of small utility scripts such as chat commands, event handling and timers (and autochess!) https://github.com/birjj/csgo-vscripts
csQuery jQuery-like library in Squirrel. https://github.com/VulcanShot/csQuery
give_tf_weapon Provides convenient access for handling weapons and creating custom weapons. https://tf2maps.net/downloads/vscript-give_tf_weapon.14897/
Library-of-Utils Multifunctional library. Provides features such as: non-conflicting script plugin interface, registering chat commands, and lightweight math library featuring Matrix3x4, Vector, QAngles and Quaternion methods. https://github.com/sw1ft747/Library-of-Utils
keyframes Fully fledged creation of smooth camera animations using splines and an interactive editor. https://github.com/samisalreadytaken/keyframes
riscv-vscript Port of mini-rv32ima to Squirrel. Allows running Linux inside the game! https://github.com/Joshua-Ashton/riscv-vscript
vscript_gamemovement Implements a replica of Source gamemovement in VScript (mainly intended for use with custom bots) https://github.com/ficool2/vscript_gamemovement
vscript_keyvalues Basic KeyValues writing support. Reading support is not implemented yet https://github.com/ficool2/vscript_keyvalues
vscript_trace_filter Extended trace API with support for filtering or gathering entities https://github.com/ficool2/vscript_trace_filter
PopExtensionsPlus Expanded fork of the original Popfile Extensions library, makes embedding VScripts into MvM population files easier, as well as some general-purpose utilities that can be used outside of MvM. https://github.com/potato-tf/PopExtensionsPlus
vscript_timer Simple, cheap timer that does not rely on entities. Also provides conversions from float time to other formats such as hours or milliseconds. https://github.com/Squinkz/vscript_timer
TweenVS-source1 A simple library for tweening and animating entities and variables. https://github.com/Angel-foxxo/TweenVS-source1
vs_library High-performance library. Provides a math library based on the Source SDK, which includes vector, quaternion and matrix functionality. https://github.com/samisalreadytaken/vs_library
VSLib Utility library. Provides timers, file IO operations and extended entity functions. http://l4d2scripters.github.io/vslib/
portal2-BBoxCast The VScripts library for TraceLine with entity support in Portal 2 enables the ray to hit entities by using their bbox. This is in contrast to the regular traceline() function which ignores entities and only hits world geometry. https://github.com/IaVashik/portal2-BBoxCast