Official updateAug 24, 2026, 11:39 PM UTC

Custom HUD layouts, player camera, and scripting API additions (Aug 24, 2026)

Added `custom_hud_layout` and `cs_player_camera`, many new scripting APIs, improved script error logging, and a couple of deprecations.

Quick read

  • Added `custom_hud_layout` entity for scripted-map UI (Panel/Label/Image/Button, `css` styling; no events/client-side scripting; retains state during tools reload).
  • Added `cs_player_camera` to control a player's view without moving their pawn; can allow player look-around from the scripted position.
  • Many new scripting APIs and methods added (instances, entities, player pawn/C4 methods, `CustomHudLayout` helpers, `CSPlayerCamera` controls, and `CSMoveType` enum).
  • Improved script error logging and diagnostics (initial run errors, unhandled promise rejections, compile column numbers); deprecated `planter` and `defuser` event parameters.

This update introduces a new custom_hud_layout entity, a cs_player_camera entity, a large set of new scripting APIs, improved script error logging, and a few deprecations.

HUD layouts

  • New entity: Added custom_hud_layout.
  • Capabilities: custom_hud_layouts are the entry point for scripted maps to provide custom UI.
  • Supported panel types: Panel, Label, Image, and Button panel types are supported.
  • Styling: Styling with css is supported.
  • Limitations: Events and client side scripting are not supported.
  • Tools mode: Maintains state during tools mode reloads.

Player camera

  • New entity: Added cs_player_camera.
  • Behavior: Gives control of a player's view without moving their pawn.
  • Configuration: Can be configured to let the player look around from the scripted position.

Scripting API additions

  • Instance/API events and methods: Added Instance.Delay, Instance.OnBombPlantStart, Instance.OnBombPlantAbort, Instance.OnBombDefuseStart, Instance.OnBombDefuseAbort, Instance.OnCustomHudClicked, and Instance.IsDedicatedServer.
  • Entity methods: Added Entity.Move, Entity.GetMoveType, and Entity.SetMoveType.
  • Player pawn methods: Added CSPlayerPawn.GetC4, CSPlayerPawn.GetDefuseTarget, CSPlayerPawn.IsBuyMenuOpen, and CSPlayerPawn.GetCamera.
  • C4 methods: Added C4.GetPlantStartTime, C4.GetPlantFinishTime, and C4.AbortPlant.
  • Custom HUD methods: Added CustomHudLayout.SetHasClass, CustomHudLayout.SetHasClassForPlayer, CustomHudLayout.SetDialogVariableString, CustomHudLayout.SetDialogVariableStringForPlayer, CustomHudLayout.SetInputCaptureEnabled, and CustomHudLayout.IsInputCaptureEnabled.
  • Player camera methods: Added CSPlayerCamera.IsEnabled, CSPlayerCamera.SetEnabled, and CSPlayerCamera.SetIsControllingAngles.
  • Other additions: Added enum CSMoveType.
  • Type corrections: Corrected types for some events where parameters were maybe undefined.

Errors, logging, and diagnostics

  • 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.

Deprecations

  • Deprecated planter from Instance.OnBombPlant event.
  • Deprecated defuser from Instance.OnBombDefuse event.
Back to updates

Recent updates

Official updateNov 11, 2026, 11:03 PM UTC

Counter-Strike 2 Update (Nov 11, 2026)

Fixed weapon popping, `Retakes` bot pathing, `DX11` rendering hang; improved `avx`/`avx512` detection and other stability and performance improvements.

  • Fixed some cases of popping and glitching when switching weapons and reloading at extreme angles.
  • Fixed bot pathing issue in `Retakes` game mode.
  • Fixed a rendering hang on `DX11`.
  • Improved `avx` / `avx512` instruction set detection.
  • Miscellaneous stability and performance improvements.
View details
Official updateNov 5, 2026, 12:54 AM UTC

Counter-Strike 2 Update (Nov 5, 2026)

Gameplay tweaks for Retakes and pet chickens, plus multiple Entities scripting API changes.

  • Gameplay adjustments in Retakes (instant bomb defuse in certain conditions, reduced freeze and restart delays) and changes to pet chicken behavior.
  • Multiple Entities and scripting API changes: new exports and functions, moved/renamed methods (still available but deprecated), deprecations, and logging/behavior updates.
View details
Official updateOct 28, 2026, 09:48 PM UTC

Article title without date (Oct 28, 2026)

Listing-page excerpt

  • Added an option to switch `Silent Reload Mode` between Hold and Toggle; toggle lets you release the `reload button` once a silent reload starts and tapping the `reload button` cancels the silent reload.
  • Fixed cases where the first sound of a reload was audible even when a silent reload was requested.
  • Fixed a bug where liquid could render as black on AMD video cards.
  • Fixed some sound and UI bugs when rewinding during demo playback.
View details