VScript: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Portal 2 seems to be limited to Squirrel, too)
mNo edit summary
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 Squirrel for {{portal2}} [[Portal 2]], {{l4d2}} [[Left 4 Dead 2]] and {{as}} [[Alien Swarm]].
VScript is currently implemented in Squirrel for these games:
:{{game link|Portal 2}}
:{{game link|Alien Swarm}}
:{{game link|Left 4 Dead 2}}


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 12:59, 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 these games:

Portal 2 Portal 2
Alien Swarm Alien Swarm
Left 4 Dead 2 Left 4 Dead 2

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

See also