VScript: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Added Nuclear Dawn to list of games with VScript support.)
No edit summary
Line 11: Line 11:
:{{game link|Alien Swarm}}
:{{game link|Alien Swarm}}
:{{game link|Portal 2}}
:{{game link|Portal 2}}
:{{game link|Counter-Strike: Global Offensive}}


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 17:19, 31 January 2013

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 currently implemented in Squirrel for these games:

Left 4 Dead 2 Left 4 Dead 2
Nuclear Dawn Nuclear Dawn
Alien Swarm Alien Swarm
Portal 2 Portal 2
Counter-Strike: Global Offensive Counter-Strike: Global Offensive


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

See also