Gameplay Changes
In Counter-Strike 2's Retake mode, bomb defuse logic has been adjusted. When sufficient round time remains and no utility interfering with the defuse is active, the defuse process now completes instantly. Additionally, freeze time and round restart delay in Retake mode have been shortened, speeding up match flow. A feature has been added where pinging a pet chicken during freeze time requests that chicken to perform a trick. When custom item text display is set to hidden in game options, pet chicken names no longer appear on screen. [1]
Map Scripting API Expansion
A new top-level export Entities has been added to the map scripting environment. This allows core operations such as entity creation, searching, and input firing to be performed through a unified interface. New entities can be created with the Entities.Spawn method, and Instance.Precache has been extended to accept an entity as an argument for precaching. [1]
Bot Control Features Added
Functionality to check bot control status and retrieve the pawn of a controlled bot has been added to CSPlayerController. IsControllingBot can determine whether the current player is controlling a bot, and GetControlledBotPawn can acquire the controlled bot's pawn instance. Additionally, the Instance.OnBotControl callback has been added to detect when bot control starts and ends. A Reset method has been added to CSPlayerPawn to initialize pawn state. [1]
Entity Manipulation Method Restructuring
Several entity manipulation methods previously in the Instance namespace have been moved to Entities and Entity and renamed. ConnectOutput and DisconnectOutput have been moved to Entities; ConnectOutput has been changed to accept a settings object as an argument. EntFireAtName to Entities.FireInput, FindEntitiesByName to Entities.FindByName, FindEntitiesByClass has been renamed to Entities.FindByClass. EntFireAtTarget has been moved and renamed to Entity.FireInput. Moved and renamed methods can still be called at their original locations but have been deprecated. [1]
Deprecation and Error Handling Enhancements
Instance.FindEntityByName and FindEntityByClass have been deprecated. Calling a method on a removed and no longer valid entity instance now reports an error that the entity is invalid. When using ConnectOutput, if the specified output name does not exist on the target entity, a warning log is output to easily identify incorrect connection attempts. [1]
This document is an unverified draft reconstructed by AI from portions of the official source. Check the original for missing content and exact scope of application. [1]
