VScript: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
 (Re-added section for Mapbase implementation)  | 
				 (Added links for Mapbase implementation)  | 
				||
| Line 45: | Line 45: | ||
:[[List of Reactive Drop Script Functions|List of Script Functions]]  | :[[List of Reactive Drop Script Functions|List of Script Functions]]  | ||
;{{game link|Mapbase}}  | ;{{game link|Mapbase}} (Custom implementation)  | ||
:[https://github.com/mapbase-source/source-sdk-2013/wiki/VScript-in-Mapbase Scripting]  | |||
:[https://github.com/mapbase-source/source-sdk-2013/tree/master/sp/src/vscript GitHub]  | |||
===Lua===  | ===Lua===  | ||
Revision as of 06:16, 19 June 2020
Template:Otherlang2 VScript, introduced in Template:Game link, is a virtual machine for scripting that acts as an abstract binding layer between the Source engine and external scripts. According to the Template:Game link, the following scripting languages are, or could be supported in the near future:
Script files are read from /scripts/vscripts/ inside the game directory.
Implementations
Squirrel
- Template:Game link
 
 Only exists on the SFM build of TF2. No TF2 or SFM specific API. Unused.
- Template:Game link (Custom implementation)
 - Scripting
 - GitHub
 
Lua
- Template:Game link (Client/UI only)
 
Python
Scripting Fundamentals
Main article Vscript Fundamentals