VScript: Difference between revisions
Jump to navigation
Jump to search
(Page is now much shorter. Put lists of games and their links next to each other. Used game specific colorful icon/link templates as guide. Removed unnecessary TOC.) |
Kestrelguy (talk | contribs) m (minor formatting changes) |
||
Line 1: | Line 1: | ||
{{lang|VScript}} | {{lang|VScript}} | ||
__NOTOC__ | __NOTOC__ | ||
'''VScript''', introduced in {{l4d2|4}}, is a virtual machine for scripting that acts as an abstract binding layer between the {{source|4}} engine and external scripts. According to the {{Game link|Alien Swarm SDK}}, the following scripting languages are | '''VScript''', introduced in {{l4d2|4}}, is a virtual machine for scripting that acts as an abstract binding layer between the {{source|4}} engine and external scripts. According to the {{Game link|Alien Swarm SDK}}, the following scripting languages are supported or could be in the near future: | ||
* [[Squirrel]] | * [[Squirrel]] | ||
* [ | * [[Wikipedia:Lua (programming language)|Lua]] | ||
* [ | * [[Wikipedia:GameMonkey Script|Gamemonkey]] | ||
* [ | * [[Wikipedia:Python (programming language)|Python]] | ||
Script files are read from <code>/scripts/vscripts/</code> inside the game directory. | Script files are read from <code>/scripts/vscripts/</code> inside the game directory. | ||
Line 29: | Line 29: | ||
{{sfm|4}} | {{sfm|4}} | ||
:{{tf2}} Only exists on the SFM build of TF2. No TF2 or SFM specific API. Unused. | :{{tf2}} Only exists on the SFM build of TF2. No TF2 or SFM-specific API. Unused. | ||
{{csgo|4}} | {{csgo|4}} | ||
Line 76: | Line 76: | ||
|} | |} | ||
==See | ==See Also== | ||
*[[Entity Scripts]] | *[[Entity Scripts]] | ||
* | *{{ent|logic_script}} | ||
[[Category:Technical]] | [[Category:Technical]] | ||
[[Category:Scripting]] | [[Category:Scripting]] |
Revision as of 11:36, 5 May 2022
VScript, introduced in Left 4 Dead 2, 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 , the following scripting languages are supported or could be in the near future:
Script files are read from /scripts/vscripts/
inside the game directory.
To learn how VScripts are used, see VScript Fundamentals.
Implementations
Squirrel
|
Lua
|
Python |