Difference between revisions of "VScript"

From Valve Developer Community
Jump to: navigation, search
m
m (Mapbase's VScript isn't fully released. It doesn't need to be here yet)
Line 15: Line 15:
  
 
===[[Squirrel]]===
 
===[[Squirrel]]===
:{{game link|Mapbase}}
 
:[[List of Mapbase Script Functions|List of Script Functions]]
 
 
 
;{{game link|Left 4 Dead 2}}
 
;{{game link|Left 4 Dead 2}}
 
:[[L4D2 Vscripts|Scripting]]
 
:[[L4D2 Vscripts|Scripting]]

Revision as of 14:38, 23 May 2020

Русский 简体中文

VScript, introduced in <Left 4 Dead 2> Left 4 Dead 2, is a virtual machine for scripting that acts as an abstract binding layer between the Source engine and external scripts. According to the <Alien Swarm> Alien Swarm SDK, the following scripting languages are, or could be supported in the near future:

Script files are read from /scripts/vscripts/ inside the game directory.

Implementations

Squirrel

<Left 4 Dead 2> Left 4 Dead 2
Scripting
Director Scripts
Script Examples
List of Script Functions
<Alien Swarm> Alien Swarm
[Portal 2] Portal 2
List of Script Functions
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
List of Script Functions
Listening to game events
Script Examples
<Contagion> Contagion
List of Script Functions
<Nuclear Dawn> Nuclear Dawn
List of Script Functions
<Titanfall> Titanfall
<Alien Swarm: Reactive Drop> Alien Swarm: Reactive Drop
List of Script Functions

Lua

[Portal 2] Portal 2 (Client/UI only)
<Dota 2> Dota 2
Scripting
Scripting API
<SteamVR Home> SteamVR Home
Scripting
Scripting API
Scripted Tool Creation
Scripted Flashlight Tool Tutorial
<Half-Life: Alyx> Half-Life: Alyx
Scripting API
General Source 2
Source 2 Animation System VScript API

Python

Source Filmmaker Source Filmmaker
Scripting/Rigging

Scripting Fundamentals

Main article Vscript Fundamentals

See also