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

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 4: Line 4:
{{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 the specifics of pulse.}}
{{Todo | Figure out more about pulse.}}

Revision as of 14:26, 3 October 2023


In 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. In Counter-Strike 2 Counter-Strike 2 two new scripting systems called VScript2 which uses Typescript and Pulse a visual scripting solution. Vscript2 scripts can be ran by providing a .vts file to a Counter-Strike 2point_script, and Pulse can be ran by providing a .vpulse file to a Counter-Strike 2point_pulse. Both solutions 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.