Counter-Strike 2 Workshop Tools/Scripting

From Valve Developer Community
< Counter-Strike 2 Workshop Tools
Revision as of 06:05, 13 September 2023 by Kpabik (talk | contribs) (Changes by User:MaxDeVos moved here.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Counter-Strike 2, like the previous Source 2 Source 2 titles Half-Life: Alyx Half-Life: Alyx, Dota 2 Dota 2, and SteamVR Home SteamVR Home uses the VScript scripting system based the Lua programming language. In previous games, it provided the ability to use Lua scripts natively when building custom levels using the Hammer editor. In CS2 new scripts called Pulse used instead of Lua. They are triggered by point_pulse and can be used for a variety of things including creating new game modes, weapons and other types of complicated logic. Template:ModernNote