VScript: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Portal 2 uses squirrel, too)
m (Portal 2 seems to have some .lua scripts, maybe they can be used in VScript?)
Line 6: Line 6:
* [http://en.wikipedia.org/wiki/Python_%28programming_language%29 Python]
* [http://en.wikipedia.org/wiki/Python_%28programming_language%29 Python]


In currently supported games, [[Portal 2]], [[Left 4 Dead 2]] and [[Alien Swarm]], only Squirrel seems to be fully implemented.
VScript is currently implemented in {{portal2}} [[Portal 2]], {{l4d2}} [[Left 4 Dead 2]] and {{as}} [[Alien Swarm]]. The latter two are supporting Squirrel only.


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

Revision as of 15:48, 12 April 2011

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:

VScript is currently implemented in Portal 2 Portal 2, Left 4 Dead 2 Left 4 Dead 2 and Alien Swarm Alien Swarm. The latter two are supporting Squirrel only.

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

See also