Counter-Strike 2 Workshop Tools/Scripting: Difference between revisions
TheCreator (talk | contribs) m (Information about official "script_zoo" map) |
No edit summary |
||
Line 13: | Line 13: | ||
{{Todo|Figure out more about pulse.}} | {{Todo|Figure out more about pulse.}} | ||
{{Todo|Info about JavaScript.}} | {{Todo|Info about JavaScript.}} | ||
{{Confirm|Does TypeScript (.vts) still work using [[point_script]]?}} | |||
== See also == | == See also == | ||
* [[Counter-Strike 2 Workshop Tools/Scripting API|Scripting API]] | * [[Counter-Strike 2 Workshop Tools/Scripting API|Scripting API]] |
Latest revision as of 10:06, 20 September 2025



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.
Valve has provided a map called script_zoo, which showcases various ways to use cs_script to create unique gameplay, model changes and even chess in Counter-Strike! The .vmap file can be found in content/csgo/maps/editor/zoo. It can also be accessed in-game, by typing "map editor/zoo/script_zoo" into the game console.


