0%
Loading...
NolimitHost

Counter-Strike 2 October 23 Update

A Map Scripting API Expansion: Precache, Hostages, Console & GameRules

Counter-Strike 2 shipped an update on October 23, 2026 that is entirely map scripting - no gameplay, weapon or server-config changes in the notes. What it does bring is a substantial expansion of the scripting surface available to custom map makers: precaching, hostage state, a top-level Console export and a top-level GameRules export.

If you run community servers with custom maps, this is the patch to read properly. Everything here changes what a map's point script can do.

The official notes come from Valve - check out the Counter-Strike 2 update notes from the developers.

📦 Instance.Precache - Asset Loading You Can Query

  • Added Instance.Precache, which returns a CSPrecache object.
  • New methods: CSPrecache.IsServerLoading, IsServerLoaded, IsClientLoading, IsClientLoaded, IsLoadedForAll and Release.

Precaching is the difference between a map that hitches as a custom asset streams in and one that doesn't. Giving scripts an object that can be asked whether the server or clients are still loading - and whether everything is loaded for all players - turns asset loading from a guessed-at delay into something a map can gate on. Release also lets a map free that asset when it's done with it, which matters on a server rotating through several custom maps.

🎯 CSHostage - Hostage State And Events

  • Added CSHostage with IsBeingPickedUp, IsBeingCarried, IsRescued, GetRescuer, GetPickUpStartTime and GetPickUpFinishTime.
  • Added CSPlayerPawn.GetHostage.
  • New instance events: OnHostagePickUpStart, OnHostagePickUpAbort, OnHostagePickUp, OnHostageDrop, OnHostageRescue and OnHostageKill.

Hostage maps have always been the most awkward corner of CS2's scripting because the game's most important objective state wasn't exposed. Now a script can see who is picking up a hostage, when it started, when it completed, who rescued them and if they were killed - with an event for each transition, including the aborted pickup that previously had no representation at all. For custom hostage modes, escape scenarios or just better HUDs, this is the missing half of the API.

🖥️ New Top-Level Console Export

  • Added convar getters: GetConvarBoolean, GetConvarNumber, GetConvarString, GetConvarVector, GetConvarQAngle and GetConvarColor.
  • Added Console.SetConvar - not restricted by sv_cheats, and it executes synchronously.
  • Instance.Msg was renamed to Console.Log.
  • Instance.ClientCommand, ServerCommand and RegisterCheatCommand moved to Console.

The interesting line is SetConvar being outside sv_cheats and synchronous. Map scripts can already do a lot, but writing a convar without a cheat gate means a map can genuinely configure the game - set a value and have it applied immediately, in the same call, rather than queued. That's powerful for custom modes and worth understanding before you ship a map that does it: your server's convars are now within a script's reach by design.

⚙️ New Top-Level GameRules Export

  • Added GameRules.StartWarmup, EndWarmup, GetTeamScore, AddTeamScore and TerminateRound.
  • Moved to GameRules: Instance.IsWarmupPeriod, IsFreezePeriod, IsTeamIntroPeriod, GetRoundsPlayed, GetRoundRemainingTime, SetRoundRemainingTime and AddTeamMoney.
  • Moved and renamed methods are still available in their original location, deprecated.

Round control finally has a coherent home. Being able to start and end warmup, set team scores and terminate a round from a map script is the foundation of proper custom game modes - and the deprecated aliases mean existing maps keep working while authors migrate.

🎨 HUD, Radar And Small Additions

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

The radar change is quietly useful: custom map elements were locked to Rush, and now any mode can use them. HUD visibility classes for the team menu and chat give map authors a supported way to drive those panels instead of working around them.

🐛 Fixes And Diagnostics

  • Fixed a crash in GameRules.AddTeamMoney with CSTeamMoneyReason.NONE.
  • Fixed CSTeamMoneyReason and CSWeaponAttackType enum values not matching point_script.d.ts.
  • Fixed CSRadarPoint.IsVisibleToTeam and CSObservablePoint.IsObservableForTeam returning a number instead of a boolean.
  • Logged warnings now include the JS call stack, details about bad argument values, and count arguments from 0 instead of 1.
  • Improved auto complete of the map_workshop command.

The diagnostic improvements are the unsung part of this patch. A warning with no call stack tells you something is wrong; a warning with a stack, the offending argument values and zero-based argument indexing tells you where and why. If you've ever debugged a map script by adding log lines until something appeared, this is a direct upgrade.

🖥️ What This Means For Your Server

  • No gameplay or server-config changes. Nothing in these notes alters weapons, movement, economy or convars on its own - so this is not a patch that changes how your server plays.
  • Custom maps are the compatibility surface. If your community runs maps with point scripts, re-test them. New APIs don't break old scripts, but the deprecated aliases mean the working surface has moved - and maps that pinned to the old enum values may behave differently now that those values match point_script.d.ts.
  • Know what Console.SetConvar means for you. A map script can now set convars without sv_cheats, synchronously. If you host third-party maps you haven't audited, this is a legitimate reason to read their scripts - the API is powerful and unguarded by design.
  • Hostage maps get a real scripting upgrade. If your server's rotation includes hostage scenarios or custom objective modes, map authors now have the state and events they were previously faking.
  • Warmup and round control are scriptable. Custom game modes that manipulate warmup, scores or round termination can now do it through GameRules rather than workarounds - expect a wave of updated community mode maps.
  • Keep clients and server on the same build. Small CS2 updates in quick succession are the usual source of version-mismatch noise; there's nothing to configure here, just update.

Running a Counter-Strike 2 community? NolimitHost CS2 hosting runs high-tickrate servers on fast high-clock CPUs with NVMe storage, DDoS protection and automated backups - and custom map rotations are welcome.

Conclusion

The October 23, 2026 Counter-Strike 2 update is a map scripting release. It adds Instance.Precache with a full CSPrecache loading-state API, CSHostage with pickup, carry, rescue and kill events plus CSPlayerPawn.GetHostage, a top-level Console export with convar getters and an sv_cheats-independent, synchronous SetConvar, and a top-level GameRules export with warmup control, team scores and round termination. Moved methods remain available as deprecated aliases, radar_element now works in every mode, new HUD layout classes cover the team menu and chat, and fixes land for AddTeamMoney, enum mismatches against point_script.d.ts, boolean-vs-number return values, and warning diagnostics with call stacks and zero-based argument counts.

Read the complete notes on Valve's side: Counter-Strike 2 update notes. For the previous patch, see our October 15 update breakdown.

Ready to run your own Counter-Strike 2 server?

Get CS2 Hosting Visit Help Center