Lua Scripting
Jump to navigation
Jump to search
Half-Life: Alyx, like the previous Source 2 titles
Dota 2 and
SteamVR Home features the VScript scripting system using the Lua programming language. It provides the ability to use Lua scripts natively when building custom levels using the Hammer editor.
Scripts can be used for a variety of things including creating new game modes, weapons and other types of complicated logic.
Template:ModernNote
Template:ModernNote
Introduction to Source 2 VScript
- Getting started with Lua for Half Life: Alyx.
- Hello, Gordon: Introduction to Entity Script Integration With Hammer for Half-Life: Alyx.
- [Video Introduction to Setting Up Lua Scripts in Half-Life: Alyx].
- [Video Tutorial for Teleporting Entities using Lua Scripts in Half-Life: Alyx].
- [Video Tutorial for Creating Think Functions using Lua Scripts in Half-Life: Alyx].
- [Video Tutorial for Spawning Entities using Lua Scripts in Half-Life: Alyx].
- [Video Tutorial for Setting Barnacles to Drop Random Items using Lua Scripts in Half-Life: Alyx].