Counter-Strike 2 Workshop Tools/Scripting: Difference between revisions
Jump to navigation
Jump to search

Note:As of Limited Test Build v. 2000121/13936, VScript is not working, and Pulse is unavailable for end users to create, but inspection of CS2's internal files confirms that Lua scripts previously used for configuration of the Wingman gamemode, as well as managing behavior of various interactive elements on
de_vertigo.
No edit summary Tag: Reverted |
No edit summary Tag: Manual revert |
||
(One intermediate revision by the same user not shown) | |||
Line 5: | Line 5: | ||
{{Update}} | {{Update}} | ||
Unlike the previous {{Source 2|1}} titles {{hla| | Unlike the previous {{Source 2|1}} titles {{hla|1}}, {{dota2|1}}, and {{VRHome|1}} which all used [[VScript]] to provide the ability to use {{w|Lua}} scripts natively when building custom levels using the {{hammer5|1|nt=4}}. In {{cs2|1}} there are two scripting systems, one is aptly called [[VScript2]] which uses [https://en.wikipedia.org/wiki/TypeScript Typescript], and another called [[Pulse]] which is visual scripting solution. Both of which can be used for a variety of things including creating new game modes, weapons and other types of complicated logic. | ||
{{Note|As of ''Limited Test Build v. 2000121/13936'', [[VScript]] is not working, and [[Pulse]] is unavailable for end users to create, but inspection of CS2's internal files confirms that Lua scripts previously used for configuration of the Wingman gamemode, as well as managing behavior of various interactive elements on {{CsgoMap|de_vertigo}}.}} | {{Note|As of ''Limited Test Build v. 2000121/13936'', [[VScript]] is not working, and [[Pulse]] is unavailable for end users to create, but inspection of CS2's internal files confirms that Lua scripts previously used for configuration of the Wingman gamemode, as well as managing behavior of various interactive elements on {{CsgoMap|de_vertigo}}.}} |
Latest revision as of 05:41, 17 September 2025



This article or section needs to be updated to include current information regarding the subject.
Remember to check for any notes left by the tagger at this article's talk page.
Remember to check for any notes left by the tagger at this article's talk page.
Unlike the previous Source 2 titles Half-Life: Alyx, Dota 2, and SteamVR Home which all used VScript to provide the ability to use Lua scripts natively when building custom levels using the Hammer Editor. In Counter-Strike 2 there are two scripting systems, one is aptly called VScript2 which uses Typescript, and another called Pulse which is visual scripting solution. Both of which can be used for a variety of things including creating new game modes, weapons and other types of complicated logic.


Todo: Figure out more about pulse.
Todo: Info about JavaScript.