Counter-Strike 2 Update

GAMEPLAY

  • Added an option to switch Silent Reload Mode between Hold and Toggle. With toggle enabled, once the silent reload starts you can let go of the reload button. To cancel a silent reload and go back to a fast reload, you can tap the reload button again.

  • Fixed various cases where the first sound of a reload was audible irrespective if a user requested a silent reload or not.

MISC

  • Fixed a bug where liquid could render as black on AMD video cards

  • Fixed some sound and UI bugs when rewinding during demo playback

Counter-Strike 2 Update

MAP SCRIPTING

  • Added Instance.Precache

    • Returns a CSPrecache object

    • Added CSPrecache.IsServerLoading

    • Added CSPrecache.IsServerLoaded

    • Added CSPrecache.IsClientLoading

    • Added CSPrecache.IsClientLoaded

    • Added CSPrecache.IsLoadedForAll

    • Added CSPrecache.Release

  • Added CSHostage

    • Added CSHostage.IsBeingPickedUp

    • Added CSHostage.IsBeingCarried

    • Added CSHostage.IsRescued

    • Added CSHostage.GetRescuer

    • Added CSHostage.GetPickUpStartTime

    • Added CSHostage.GetPickUpFinishTime

    • Added CSPlayerPawn.GetHostage

    • Added Instance.OnHostagePickUpStart

    • Added Instance.OnHostagePickUpAbort

    • Added Instance.OnHostagePickUp

    • Added Instance.OnHostageDrop

    • Added Instance.OnHostageRescue

    • Added Instance.OnHostageKill

  • Added new top level export Console

    • Added Console.GetConvarBoolean

    • Added Console.GetConvarNumber

    • Added Console.GetConvarString

    • Added Console.GetConvarVector

    • Added Console.GetConvarQAngle

    • Added Console.GetConvarColor

    • Added Console.SetConvar

      • Console.SetConvar is not restricted by sv_cheats and executes synchronously

    • Renamed Instance.Msg to Console.Log

    • Moved Instance.ClientCommand, ServerCommand and RegisterCheatCommand to Console

  • Added new top level export GameRules

    • Added GameRules.StartWarmup

    • Added GameRules.EndWarmup

    • Added GameRules.GetTeamScore

    • Added GameRules.AddTeamScore

    • Added GameRules.TerminateRound

    • Moved Instance.IsWarmupPeriod, IsFreezePeriod, IsTeamIntroPeriod, GetRoundsPlayed, GetRoundRemainingTime, SetRoundRemainingTime and AddTeamMoney to GameRules

  • Moved and renamed methods are still available in their original location, deprecated

  • Added top-level custom_hud_layout classes HUD_TEAMMENU_VISIBLE and HUD_CHAT_VISIBLE

  • radar_element can now appear on the radar in every game mode, not just Rush

  • Added support for GameRules.AddTeamMoney with CSTeamMoneyReason.NONE and an amount

  • Fixed a crash in GameRules.AddTeamMoney with CSTeamMoneyReason.NONE

  • Fixed CSTeamMoneyReason enum values not matching point_script.d.ts

  • Fixed CSWeaponAttackType enum values not matching point_script.d.ts

  • Fixed CSRadarPoint.IsVisibleToTeam returning a number instead of a boolean

  • Fixed CSObservablePoint.IsObservableForTeam returning a number instead of a boolean

  • Logged warnings now include the JS call stack

  • Logged warnings now include details about bad argument values

  • Logged warnings now count arguments from 0 instead of 1

  • Improved auto complete of the map_workshop command

Counter-Strike 2 Update

UI

Demo/Replay viewer improvements:

  • Added a progress bar for demo/replay downloads

  • Camera controls now use click-and-drag scheme

  • Free and chase camera are usable during a paused demo

  • Fixed some minor issues when seeking to a different position in the demo file

MISC

  • Round backup files now require the game server startup flag "-allow_round_backup_files"

  • Updated AUG reload animations for standing and crouch reloads to better match new reload duration

  • Allowed radio commands now have an explicit list

  • Added toolsskybox_occluder tool material for CS2 Workshop Tools

  • Stability improvements for Vulkan renderer

Counter-Strike 2 Update

MISC

  • Added a ping icon for dropped defuse kits

  • Reduced the time for AUG reload by half second

  • Fixed the sound event during silent reload for Desert Eagle

  • Fixed a case of buzzing soundscape sounds during demo playback

  • Clipping fixes for Rush maps

  • Localization updates

  • Stability updates

Counter-Strike 2 Update

MISC

  • Pet photobook pages now have localized text art.

  • Added play menu buttons to manage downloaded Workshop maps.

  • Adjusted VK shader cache extension flags.