← All updates
Counter-Strike 2 · News

Counter-Strike 2 Update

Announced

Developer-announced information. It may change before release.

[ MAP SCRIPTING ]

  • Added custom_hud_layout entity:
  • Added cs_player_camera entity:
  • Added Instance.Delay
  • Added Instance.OnBombPlantStart
  • Added Instance.OnBombPlantAbort
  • Added Instance.OnBombDefuseStart
  • Added Instance.OnBombDefuseAbort
  • Added Instance.OnCustomHudClicked
  • Added Instance.IsDedicatedServer
  • Added Entity.Move
  • Added Entity.GetMoveType
  • Added Entity.SetMoveType
  • Added CSPlayerPawn.GetC4
  • Added CSPlayerPawn.GetDefuseTarget
  • Added CSPlayerPawn.IsBuyMenuOpen
  • Added CSPlayerPawn.GetCamera
  • Added C4.GetPlantStartTime
  • Added C4.GetPlantFinishTime
  • Added C4.AbortPlant
  • Added CustomHudLayout.SetHasClass
  • Added CustomHudLayout.SetHasClassForPlayer
  • Added CustomHudLayout.SetDialogVariableString
  • Added CustomHudLayout.SetDialogVariableStringForPlayer
  • Added CustomHudLayout.SetInputCaptureEnabled
  • Added CustomHudLayout.IsInputCaptureEnabled
  • Added CSPlayerCamera.IsEnabled
  • Added CSPlayerCamera.SetEnabled
  • Added CSPlayerCamera.SetIsControllingAngles
  • Added enum CSMoveType
  • Corrected types for some events where parameters were maybe undefined.
  • Errors encountered during initial script run are now logged to the console.
  • Unhandled promise rejections are now logged to the console.
  • Added the column number to errors caught during the CompileModule step of script loading.
  • Deprecated planter from Instance.OnBombPlant event
  • Deprecated defuser from Instance.OnBombDefuse event
Text and images © tomd, the game's developer and publisher, reproduced from the original post with attribution. If you hold the rights and want it removed, say so through the site's contact page.