Counter-Strike 2 更新
Counter-Strike 2 Update
Valve 发布 Counter-Strike 2 更新,修复 Cache 地图多处缝隙与 B 点穿墙点并调整出生点。地图脚本将 CSPlayerCamera 重命名为 CustomPlayerCamera 并新增多项接口,custom_hud_layout 新增 observable 属性且默认 false。demo 文件中聊天按 CS:GO 规则加密,队伍聊天在回放时不可读。
[ 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.
来源:Steam·Counter-Strike 2 官方公告 · store.steampowered.com