VScript: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Redirected page to L4D2 Vscripts)
 
(Removed redirection and created a new article, since VScript isn't limited to L4D2)
Line 1: Line 1:
#redirect [[L4D2 Vscripts]]
VScript is a virtual machine for scriping 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:
 
* [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]
 
In currently supported games, [[Left 4 Dead 2]] and [[Alien Swarm]], only Squirrel seems to be fully implemented.
 
Script files are placed and executed in <code>scripts/vscripts/</code> inside the game folder.
 
==See also==
*[[L4D2 Vscripts|Scripting in L4D2 with Squirrel]]
*[[L4D2 Vscript Examples|Script examples for L4D2 with Squirrel]]
*[[Logic_script|logic_script]]
 
[[Category:Technical]]
[[Category:Scripting]]

Revision as of 03:09, 11 October 2010

VScript is a virtual machine for scriping 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:

In currently supported games, Left 4 Dead 2 and Alien Swarm, only Squirrel seems to be fully implemented.

Script files are placed and executed in scripts/vscripts/ inside the game folder.

See also