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: Manual revert |
TheCreator (talk | contribs) (Include references to cs_script (previously VScript2?)) |
||
Line 5: | Line 5: | ||
{{Update}} | {{Update}} | ||
{{cs2|1}} features the cs_script scripting system, using {{w|JavaScript}}, 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 addition to cs_script, there is another scripting system called [[Pulse]], which is visual scripting solution. Currently, Pulse is unavailable to end users. cs_script 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}}.}} |
Revision as of 06:46, 20 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.
Counter-Strike 2 features the cs_script scripting system, using JavaScript, 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 addition to cs_script, there is another scripting system called Pulse, which is visual scripting solution. Currently, Pulse is unavailable to end users. cs_script 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.