Counter-Strike 2 Update
Cache map fixes for gaps and spawns alongside a rework of the CustomPlayerCamera scripting system and demo chat encryption.
Key Changes
- 1Fixed various gaps and a wallbang spot on B site for Cache
- 2Added missing competitive CT spawn and additional T spawns on Cache
- 3Reworked and renamed CSPlayerCamera to CustomPlayerCamera with new API methods
- 4Encrypted team and global chat in demo files for improved privacy
- 5Added new visibility classes and 'observable' property to custom HUD layouts
- 6Fixed stale custom HUD state bugs when changing spectator targets
All Changes
🗺️Maps(4)
- fixCache: Fixed various gaps in map geometry
- fixCache: Fixed an unintended wallbang spot on B site
- fixCache: Added a missing competitive CT spawn point
- changeCache: Added additional T spawn points
📜Map Scripting(8)
- changeCustomPlayerCamera: Reworked and renamed CSPlayerCamera to CustomPlayerCamera
- newCustomPlayerCamera: Added GetPlayer, GetMode, SetMode, and SetFollowConfig methods to CustomPlayerCamera
- changeCustomPlayerCamera: Deprecated IsEnabled, SetEnabled, and SetIsControllingAngles methods
- newcustom_hud_layout: Added 'observable' property to control UI visibility for observers
- fixcustom_hud_layout: Fixed several bugs related to stale state when changing spectator targets
- newcustom_hud_layout: Added top-level HUD_BUYMENU_VISIBLE class driven by client state
- newcustom_hud_layout: Added top-level HUD_SCOREBOARD_VISIBLE class driven by client state
- changecustom_hud_layout: Layout now always draws on top of the base HUD
🎥Demo System(2)
- changeDemo files: Team chat is now encrypted and no longer readable in demo files
- changeDemo files: Global chat is now only readable when played back via the in-game watch UI
Summary
Maps
Cache has received several geometry and gameplay fixes, including the closure of map gaps and the removal of an unintended wallbang spot on the B site. Spawn points have also been adjusted, adding a missing CT spawn for competitive play and increasing the number of T spawns.
Map Scripting & UI
The scripting API sees significant updates with the CSPlayerCamera being renamed to CustomPlayerCamera and receiving new methods for better control. The custom_hud_layout system is now more robust, featuring new visibility classes for the buy menu and scoreboard, and a fix for stale states when spectating.
Demo Files
Privacy in demo files has been updated to match CS:GO's standards. Team chat is now encrypted and unreadable during playback, while global chat is restricted to the in-game watch UI.
