Skip to content
All news
update

Counter-Strike 2 Update: Retakes Refinements and a Reworked Scripting API

Counter-Strike 2 Update: Retakes Refinements and a Reworked Scripting API

Counter-Strike 2 Update: Retakes Refinements and Scripting API Expansion

A new Counter-Strike 2 update focuses on tightening the pacing of Retakes mode and significantly reworking the scripting API used by mapmakers and custom mode creators.

Retakes Mode Pacing Improvements

Bomb defusal in Retakes will now complete instantly once enough time remains on the round clock and no live utility—such as a flash, smoke, or molotov—could interrupt it. This removes unnecessary waiting when the round's outcome is already decided.

To keep matches moving, Valve also reduced:

  • Freeze time before each round
  • The delay before a new round starts after the previous one ends

These changes should make Retakes feel noticeably snappier.

Pet Chicken Updates

The in-game chickens got two small tweaks:

  • Pinging a chicken during freeze time now prompts it to perform a trick.
  • Chicken names no longer appear when customized item text is set to hidden, keeping the display consistent with that setting.

Scripting API: New Entities Namespace

A major part of this update reorganizes the VScript API around a new top-level Entities namespace, consolidating entity-related functions previously spread across Instance.

New additions include:

  • Instance.Precache can now accept entities directly.
  • Entities.Spawn for spawning entities through the new namespace.
  • Instance.OnBotControl, a callback for bot control events.
  • CSPlayerController.IsControllingBot and CSPlayerController.GetControlledBotPawn to expose bot control state.
  • CSPlayerPawn.Reset to reset a player pawn.

API Reorganization and Renames

Several existing methods were moved or renamed for clarity:

  • Instance.ConnectOutput moved to Entities.ConnectOutput, now accepting a configuration object.
  • Instance.DisconnectOutput moved to Entities.DisconnectOutput.
  • Instance.EntFireAtName renamed to Entities.FireInput.
  • Instance.FindEntitiesByName renamed to Entities.FindByName.
  • Instance.FindEntitiesByClass renamed to Entities.FindByClass.
  • Instance.EntFireAtTarget renamed to Entity.FireInput.

Moved and renamed methods remain callable from their original locations for backward compatibility, but are now deprecated. Instance.FindEntityByName and Instance.FindEntityByClass are also deprecated.

Error Handling Improvements

  • Calling a method on an already-removed entity now produces a clear message stating the entity is invalid.
  • ConnectOutput now logs a warning when the target entity has no output matching the given name, helping catch misconfigured connections earlier.

Summary

This update splits its focus between player-facing polish in Retakes mode and a substantial scripting refactor for developers. Retakes players get faster transitions and smarter defuse logic, while scripters gain a cleaner Entities API and better error reporting.