VScript

From Valve Developer Community
Revision as of 21:13, 17 December 2013 by Psychonic (talk | contribs)
Jump to navigation Jump to search

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

VScript is currently implemented in Lua for these games:

Portal 2 Portal 2 (Client/UI only)
Dota 2 Dota 2


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

See also