From Valve Developer Community

Jump to: navigation, 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
<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

Personal tools