Scripting

From Valve Developer Community
Jump to navigation Jump to search

{{HLATools page topicon}} is deprecated. This wiki no longer uses any top icons due to their inconsistent coverage and visual clutter. Do not use these templates.

English (en)Русский (ru)中文 (zh)Translate (Translate)

 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.

Note.pngNote: Unlike the previous games, only entity scripts are available, the systems for automatically loaded game mode and map scripts are not currently supported.
Note.pngNote: As Half-Life: Alyx does not utilize the VScript system in the main game, the feature set is very limited. Access to many of the game systems is not available.

Introduction to Source 2 VScript

Resources