VScript: Difference between revisions
Jump to navigation
Jump to search
Note:It seems New World removed functionality for VScripts in Insurgency, only mapspawn.nut seems to do anything.
No edit summary |
(add :ru) |
||
Line 1: | Line 1: | ||
{{otherlang2 | {{otherlang2 | ||
|ru=VScript:ru | |ru=VScript:ru | ||
}} | }} | ||
'''VScript''' | '''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: | ||
* [[Squirrel]] | * [[Squirrel]] | ||
Line 10: | Line 9: | ||
* [http://en.wikipedia.org/wiki/Python_%28programming_language%29 Python] | * [http://en.wikipedia.org/wiki/Python_%28programming_language%29 Python] | ||
Script files are placed and executed in <code>scripts/vscripts/</code> inside the game folder. | |||
== | ==Implementations== | ||
===[[Squirrel]]=== | ===[[Squirrel]]=== | ||
;{{game link|Left 4 Dead 2}} | ;{{game link|Left 4 Dead 2}} | ||
:[[L4D2 Vscripts| | :[[L4D2 Vscripts|Scripting in L4D2]] | ||
:[[L4D2_Director_Scripts | Director Scripts]] | :[[L4D2_Director_Scripts | Director Scripts]] | ||
:[[L4D2 Vscript Examples| | :[[L4D2 Vscript Examples|Script examples]] | ||
:[[List of L4D2 Script Functions | | :[[List of L4D2 Script Functions | Scripting API]] | ||
;{{game link|Nuclear Dawn}} | ;{{game link|Nuclear Dawn}} | ||
Line 26: | Line 25: | ||
;{{game link|Portal 2}} | ;{{game link|Portal 2}} | ||
:[[ | :[[List of Portal 2 Script Functions]] | ||
;{{game link|Counter-Strike: Global Offensive}} | ;{{game link|Counter-Strike: Global Offensive}} | ||
:[[List_of_Counter-Strike:_Global_Offensive_Script_Functions| | :[[List_of_Counter-Strike:_Global_Offensive_Script_Functions|List of CS:GO Script Functions]] | ||
:[[CSGO_Vscript_Examples| | :[[CSGO_Vscript_Examples|CS:GO Script Examples]] | ||
;{{game link|Contagion}} | ;{{game link|Contagion}} | ||
:[[ | :[[List of Contagion Script Functions]] | ||
;{{game link|Insurgency}} | ;{{game link|Insurgency}} | ||
{{note| | {{note|It seems New World removed functionality for VScripts in Insurgency, only mapspawn.nut seems to do anything.}} | ||
;{{game link|Titanfall}} | ;{{game link|Titanfall}} | ||
Line 44: | Line 43: | ||
;{{game link|Dota 2}} | ;{{game link|Dota 2}} | ||
:[[Dota_2_Workshop_Tools/Scripting| | :[[Dota_2_Workshop_Tools/Scripting| Scripting in Dota 2]] | ||
:[[Dota_2_Workshop_Tools/Scripting/API| | :[[Dota_2_Workshop_Tools/Scripting/API| Scripting API]] | ||
;[[Destinations]] | ;[[Destinations]] | ||
:[[Destinations/Scripting| | :[[Destinations/Scripting| Scripting in Destinations]] | ||
:[[Destinations/Scripting/API| | :[[Destinations/Scripting/API| Scripting API]] | ||
== | ==Scripting Fundamentals== | ||
'' | ''Main article [[Vscript_Fundamentals| Vscript Fundamentals]]'' | ||
== | ==See also== | ||
*[[Entity_Scripts|Entity Scripts]] | *[[Entity_Scripts|Entity Scripts]] | ||
*[[Logic_script|logic_script]] | *[[Logic_script|logic_script]] |
Revision as of 12:56, 9 November 2016
Template:Otherlang2 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

Lua
Portal 2 (Client/UI only)
Scripting Fundamentals
Main article Vscript Fundamentals