Difference between revisions of "VScript"

From Valve Developer Community
Jump to: navigation, search
m (Removed excess spaces, added that VScript was introduced in Left 4 Dead 2)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
 
 
{{otherlang2
 
{{otherlang2
 
|zh-cn=VScript:zh-cn
 
|zh-cn=VScript:zh-cn
 
|ru=VScript:ru
 
|ru=VScript:ru
 
}}
 
}}
'''VScript''' 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 SDK]], the following scripting languages are, or could be supported in the near future:
+
'''VScript''', introduced in {{Game link|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 {{Game link|Alien Swarm SDK}}, the following scripting languages are, or could be supported in the near future:
  
 
* [[Squirrel]]
 
* [[Squirrel]]
Line 49: Line 47:
 
:[[Dota_2_Workshop_Tools/Scripting/API|Scripting API]]
 
:[[Dota_2_Workshop_Tools/Scripting/API|Scripting API]]
  
;[[Destinations]]
+
;[[SteamVR/Environments|SteamVR Home]]
:[[Destinations/Scripting|Scripting]]
+
:[[SteamVR/Environments/Scripting|Scripting]]
:[[Destinations/Scripting/API|Scripting API]]
+
:[[SteamVR/Environments/Scripting/API|Scripting API]]
 +
:[[SteamVR/Environments/Scripting/Custom Tool Creation|Scripted Tool Creation]]
 +
:[[SteamVR/Environments/Scripting/Flashlight Tool Tutorial|Scripted Flashlight Tool Tutorial]]
  
;General Source 2
+
;General [[Source 2]]
 
:[[Source 2 Animation System VScript API]]
 
:[[Source 2 Animation System VScript API]]
  
Line 61: Line 61:
  
 
==Scripting Fundamentals==
 
==Scripting Fundamentals==
''Main article [[Vscript_Fundamentals| Vscript Fundamentals]]''
+
''Main article [[Vscript_Fundamentals|Vscript Fundamentals]]''
 
 
  
 
==See also==
 
==See also==

Latest revision as of 22:06, 28 December 2019

Русский 简体中文

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 placed and executed in scripts/vscripts/ inside the game folder.

Implementations

Squirrel

<Left 4 Dead 2> Left 4 Dead 2
Scripting
Director Scripts
Script Examples
List of Script Functions
<Nuclear Dawn> Nuclear Dawn
List of Script Functions
<Alien Swarm> Alien Swarm
[Portal 2] Portal 2
List of Script Functions
<Counter-Strike: Global Offensive> Counter-Strike: Global Offensive
List of Script Functions
Script Examples
<Contagion> Contagion
List of Script Functions
Alien Swarm: Reactive Drop
List of Script Functions
<Titanfall> Titanfall

Lua

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

Python

Source Filmmaker Source Filmmaker
Scripting/Rigging

Scripting Fundamentals

Main article Vscript Fundamentals

See also