Developer postOriginal post (opens in a new tab)

Counter-Strike 2 Update

[ MAPS ]

Cache

  • Fixed various gaps in map.

  • Fixed a wallbang spot on B site.

  • Added a missing competitive CT spawn point.

  • Added additional T spawn points.

[ MAP SCRIPTING ]

  • Reworked CSPlayerCamera:

    • Renamed it to CustomPlayerCamera.

    • Added GetPlayer, GetMode, SetMode, and SetFollowConfig.

    • Deprecated IsEnabled, SetEnabled, and SetIsControllingAngles.

  • Added an 'observable' property to custom_hud_layout that controls whether an observer sees the UI as the spectated player sees it. Defaults to false.

  • Fixed several bugs related to stale custom_hud_layout state when changing spectator targets.

  • Added top-level custom_hud_layout classes driven by client state:

    • HUD_BUYMENU_VISIBLE

    • HUD_SCOREBOARD_VISIBLE

  • custom_hud_layout now always draws on top of the base HUD.

[ MISC ]

  • Chat is now encrypted in demo files using the same rules as CS:GO :

    • Team chat is no longer readable when playing back demo files.

    • Global chat is only readable in demo files when played back via the in-game watch UI.