Counter-Strike 2 Workshop Tools/Scripting: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Remove this until we know more .)
m (Some more changes)
Line 1: Line 1:
[[Category:Source 2]]
[[Category:Source 2]]


In {{cs2|4}} unlike the previous {{Source 2|2}} titles {{hla|4}}, {{dota2|4}}, and {{VRHome|4}} which all used [[VScript]] to provide the ability to use Lua scripts natively when building custom levels using the Hammer editor. There are two new scripting systems, one called [[VScript2]] which uses [https://en.wikipedia.org/wiki/TypeScript Typescript] and [[Pulse]] which is valve's new visual scripting solution. Both solutions can be used for a variety of things including creating new game modes, weapons and other types of complicated logic.  
In {{cs2|4}} unlike the previous {{Source 2|2}} titles {{hla|4}}, {{dota2|4}}, and {{VRHome|4}} which all used [[VScript]] to provide the ability to use Lua scripts natively when building custom levels using the Hammer editor. There is an updated scripting system called [[VScript2]] which uses [https://en.wikipedia.org/wiki/TypeScript Typescript], Alongside that there is also [[Pulse]] which is valve's new visual scripting solution that makes use of VScript2 . Both of which can be used for a variety of things including creating new game modes, weapons and other types of complicated logic.  
{{ModernNote |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}}.}}
{{ModernNote |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}}.}}


{{Todo | Figure out more about pulse.}}
{{Todo | Figure out more about pulse.}}

Revision as of 20:18, 9 October 2023


In Counter-Strike 2 Counter-Strike 2 unlike the previous Source 2 Source 2 titles Half-Life: Alyx Half-Life: Alyx, Dota 2 Dota 2, and SteamVR Home SteamVR Home which all used VScript to provide the ability to use Lua scripts natively when building custom levels using the Hammer editor. There is an updated scripting system called VScript2 which uses Typescript, Alongside that there is also Pulse which is valve's new visual scripting solution that makes use of VScript2 . Both of which can be used for a variety of things including creating new game modes, weapons and other types of complicated logic. Template:ModernNote

Todo:  Figure out more about pulse.