VScript: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(Restructured page)
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 these games:
:{{game link|Left 4 Dead 2}}
:{{game link|Nuclear Dawn}}
:{{game link|Alien Swarm}}
:{{game link|Portal 2}}
:{{game link|Counter-Strike: Global Offensive}}
:{{game link|Contagion}}


VScript is currently implemented in '''Lua''' for these games:
Script files are placed and executed in <code>scripts/vscripts/</code> inside the game folder.
:{{game link|Portal 2}} (Client/UI only)
 
:{{game link|Dota 2}}
==Implementations==
 
===Squirrel===
;{{game link|Left 4 Dead 2}}
:[[L4D2 Vscripts|Scripting in L4D2]]
:[[L4D2_Director_Scripts | Director Scripts]]
:[[L4D2 Vscript Examples|Script examples]]
:[[List of L4D2 Script Functions | Scripting API]]
 
;{{game link|Nuclear Dawn}}
 
;{{game link|Alien Swarm}}
 
;{{game link|Portal 2}}
:[[List of Portal 2 Script Functions]]
 
;{{game link|Counter-Strike: Global Offensive}}
:[[List_of_Counter-Strike:_Global_Offensive_Script_Functions| List of CS:GO Script Functions]]
 
;{{game link|Contagion}}
:[[List of Contagion Script Functions]]
 
===Lua===
;{{game link|Portal 2}} (Client/UI only)
 
;{{game link|Dota 2}}
:[[Dota_2_Workshop_Tools/Scripting| Scripting in Dota 2]]
:[[Dota_2_Workshop_Tools/Scripting/API| Scripting API]]




Script files are placed and executed in <code>scripts/vscripts/</code> inside the game folder.
==Scripting Fundamentals==
''Main article [[Vscript_Fundamentals| Vscript Fundamentals]]''
 


==See also==
==See also==
*[[L4D2 Vscripts|Scripting in L4D2 with Squirrel]]
*[[L4D2 Vscript Examples|Script examples for L4D2 with Squirrel]]
* {{l4d2}} [[List of L4D2 Script Functions]]
* {{portal2}} [[List of Portal 2 Script Functions]]
* {{csgo}} [[List of Counter-Strike: Global Offensive Script Functions]]
* {{dota2}} [[List of Dota 2 Script Functions]]
* [[List of Contagion Script Functions]]
*[[Logic_script|logic_script]]
*[[Logic_script|logic_script]]


[[Category:Technical]]
[[Category:Technical]]
[[Category:Scripting]]
[[Category:Scripting]]

Revision as of 01:58, 20 August 2014

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:


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

Implementations

Squirrel

Left 4 Dead 2 Left 4 Dead 2
Scripting in L4D2
Director Scripts
Script examples
Scripting API
Nuclear Dawn Nuclear Dawn
Alien Swarm Alien Swarm
Portal 2 Portal 2
List of Portal 2 Script Functions
Counter-Strike: Global Offensive Counter-Strike: Global Offensive
List of CS:GO Script Functions
Contagion Contagion
List of Contagion Script Functions

Lua

Portal 2 Portal 2 (Client/UI only)
Dota 2 Dota 2
Scripting in Dota 2
Scripting API


Scripting Fundamentals

Main article Vscript Fundamentals


See also