Difference between revisions of "VScript:zh-cn"

From Valve Developer Community
Jump to: navigation, search
(Created page with "{{otherlang2 |title=VScripts |noborder=true |en=VScript |ru=VScript:ru }}")
 
Line 1: Line 1:
 
{{otherlang2
 
{{otherlang2
|title=VScripts
+
|title=VScript
 
|noborder=true
 
|noborder=true
 
|en=VScript
 
|en=VScript
 
|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:
 +
 +
* [[Squirrel]]
 +
* [http://en.wikipedia.org/wiki/Lua_%28programming_language%29 Lua]
 +
* [http://en.wikipedia.org/wiki/GameMonkey_Script Gamemonkey]
 +
* [http://en.wikipedia.org/wiki/Python_%28programming_language%29 Python]
 +
 +
Script files are placed and executed in <code>scripts/vscripts/</code> inside the game folder.
 +
 +
==Implementations==
 +
 +
===[[Squirrel]]===
 +
;{{game link|Left 4 Dead 2}}
 +
:[[L4D2 Vscripts|Scripting]]
 +
:[[L4D2_Director_Scripts|Director Scripts]]
 +
:[[L4D2 Vscript Examples|Script Examples]]
 +
:[[List of L4D2 Script Functions|List of Script Functions]]
 +
 +
;{{game link|Nuclear Dawn}}
 +
:[[List of ND Script Functions|List of Script Functions]]
 +
;{{game link|Alien Swarm}}
 +
 +
;{{game link|Portal 2}}
 +
:[[List of Portal 2 Script Functions|List of Script Functions]]
 +
 +
;{{game link|Counter-Strike: Global Offensive}}
 +
:[[List_of_Counter-Strike:_Global_Offensive_Script_Functions|List of Script Functions]]
 +
:[[CSGO_Vscript_Examples|Script Examples]]
 +
 +
;{{game link|Contagion}}
 +
:[[List of Contagion Script Functions|List of Script Functions]]
 +
 +
;{{game link|Alien Swarm: Reactive Drop}}
 +
:[[List of Reactive Drop Script Functions|List of Script Functions]]
 +
 +
;{{game link|Titanfall}}
 +
 +
===Lua===
 +
;{{game link|Portal 2}} (Client/UI only)
 +
 +
;{{game link|Dota 2}}
 +
:[[Dota_2_Workshop_Tools/Scripting|Scripting]]
 +
:[[Dota_2_Workshop_Tools/Scripting/API|Scripting API]]
 +
 +
;[[Destinations]]
 +
:[[Destinations/Scripting|Scripting]]
 +
:[[Destinations/Scripting/API|Scripting API]]
 +
 +
;General Source 2
 +
:[[Source 2 Animation System VScript API]]
 +
 +
===Python===
 +
;{{game link|Source Filmmaker}}
 +
:[[SFM/Scripting_with_Python|Scripting/Rigging]]
 +
 +
==Scripting Fundamentals==
 +
''Main article [[Vscript_Fundamentals| Vscript Fundamentals]]''
 +
 +
 +
==See also==
 +
*[[Entity_Scripts|Entity Scripts]]
 +
*[[Logic_script|logic_script]]
 +
 +
[[Category:Technical]]
 +
[[Category:Scripting]]

Revision as of 06:29, 9 May 2019

English Русский

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:

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
Destinations
Scripting
Scripting API
General Source 2
Source 2 Animation System VScript API

Python

Source Filmmaker
Scripting/Rigging

Scripting Fundamentals

Main article Vscript Fundamentals


See also