VScript: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Portal 2 seems to have some .lua scripts, maybe they can be used in VScript?)
m (Portal 2 seems to be limited to Squirrel, too)
Line 1: Line 1:
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 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/GameMonkey_Script Gamemonkey]
Line 6: Line 6:
* [http://en.wikipedia.org/wiki/Python_%28programming_language%29 Python]
* [http://en.wikipedia.org/wiki/Python_%28programming_language%29 Python]


VScript is currently implemented in {{portal2}} [[Portal 2]], {{l4d2}} [[Left 4 Dead 2]] and {{as}} [[Alien Swarm]]. The latter two are supporting Squirrel only.
VScript is currently implemented in Squirrel for {{portal2}} [[Portal 2]], {{l4d2}} [[Left 4 Dead 2]] and {{as}} [[Alien Swarm]].


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 00:02, 10 June 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 Squirrel for Portal 2 Portal 2, Left 4 Dead 2 Left 4 Dead 2 and Alien Swarm Alien Swarm.

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

See also