VScript: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Restructured page)
mNo edit summary
Line 1: Line 1:
'''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]], following scripting languages are, or could be supported in near future:
'''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]], following scripting languages are, or could be supported in 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/GameMonkey_Script Gamemonkey]
* [http://en.wikipedia.org/wiki/Squirrel_%28programming_language%29 Squirrel]
* [http://en.wikipedia.org/wiki/Lua_%28programming_language%29 Lua]
* [http://en.wikipedia.org/wiki/Python_%28programming_language%29 Python]
* [http://en.wikipedia.org/wiki/Python_%28programming_language%29 Python]


Line 11: Line 11:
==Implementations==
==Implementations==


===Squirrel===
===[[Squirrel]]===
;{{game link|Left 4 Dead 2}}
;{{game link|Left 4 Dead 2}}
:[[L4D2 Vscripts|Scripting in L4D2]]
:[[L4D2 Vscripts|Scripting in L4D2]]

Revision as of 13:51, 14 February 2015

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, following scripting languages are, or could be supported in 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 in L4D2
Director Scripts
Script examples
Scripting API
Nuclear Dawn Nuclear Dawn
Alien Swarm Alien Swarm
Portal 2 Portal 2
List of Portal 2 Script Functions
Counter-Strike: Global Offensive Counter-Strike: Global Offensive
List of CS:GO Script Functions
Contagion Contagion
List of Contagion Script Functions

Lua

Portal 2 Portal 2 (Client/UI only)
Dota 2 Dota 2
Scripting in Dota 2
Scripting API


Scripting Fundamentals

Main article Vscript Fundamentals


See also