VScript
VScript, introduced since Left 4 Dead 2 Left 4 Dead 2 and later backported to Team Fortress 2 Team Fortress 2 (and other games on its branch), is a virtual machine for scripting that acts as an abstract binding layer between the Source Source and Source 2 Source 2 engine and external scripts. According to the Alien Swarm - SDK Alien Swarm - SDK , the following scripting languages are supported or could be in the near future:
Implementations
Squirrel Squirrel
Source SDK Base 2013 - Multiplayer SDK Base 2013 - MP (2025) (Team Fortress 2 Counter-Strike: Source Day of Defeat: Source Half-Life 2: Deathmatch Half-Life Deathmatch: Source ) / Team Fortress 2 branch
- All of these games runs on same branch as Team Fortress 2 . Any non-game specific functionality is inherited, but no additional game-specific functionality is added.
- Script Examples
- Game Events
- Portal 2: Community Edition Portal 2: Community Edition
- VScript documentation is covered on its wiki: VScript API Reference
Source Filmmaker Source Filmmaker
- Team Fortress 2 Only exists on the SFM build of TF2. No TF2 or SFM-specific API. Unused.
Counter-Strike: Global Offensive Counter-Strike: Global Offensive
Alien Swarm: Reactive Drop Alien Swarm: Reactive Drop
Mapbase Mapbase (Custom implementation)
Jabroni Brawl: Episode 3 Jabroni Brawl: Episode 3
Revelations 2012 Revelations 2012
Lua Lua
Half-Life: Alyx Half-Life: Alyx
Jabroni Brawl: Episode 3 Jabroni Brawl: Episode 3
Python Python
See also
- VScript Fundamentals
- List of Script Libraries
- Entity Scripts
- logic_script (entity)
- script , script_execute (console command)