Counter-Strike 2 — Counter-Strike 2 Update

Counter-Strike 2 Update

Added 6
  • Added new top level export Entities
  • Added Entities.Spawn
  • Added Instance.OnBotControl
  • Added CSPlayerController.IsControllingBot
  • Added CSPlayerController.GetControlledBotPawn
  • Added CSPlayerPawn.Reset
Changed 13
  • Bomb defusal in Retakes mode will now instantly finish when there is sufficient time remaining in the round and no active utility remains to prevent the defuse
  • Reduced freeze time and round restart delay in Retakes mode
  • Pinging pet chickens during freeze time will request a trick from them
  • Pet chicken names are no longer displayed when customized item text game option is set to hidden
  • Instance.Precache now accepts entities to precache
  • Moved Instance.ConnectOutput to Entities and changed it to accept a config object
Deprecated 2
  • Moved and renamed methods are still available in their original location, deprecated
  • Deprecated Instance.FindEntityByName and FindEntityByClass

From Counter-Strike 2

[ GAMEPLAY ]

  • Bomb defusal in Retakes mode will now instantly finish when there is sufficient time remaining in the round and no active utility remains to prevent the defuse.

  • Reduced freeze time and round restart delay in Retakes mode.

  • Pinging pet chickens during freeze time will request a trick from them.

  • Pet chicken names are no longer displayed when customized item text game option is set to hidden.

[ MAP SCRIPTING ]

  • Instance.Precache now accepts entities to precache

  • Added new top level export Entities

  • Added Entities.Spawn

  • Added Instance.OnBotControl

  • Added CSPlayerController.IsControllingBot

  • Added CSPlayerController.GetControlledBotPawn

  • Added CSPlayerPawn.Reset

  • Moved Instance.ConnectOutput to Entities and changed it to accept a config object

  • Moved Instance.DisconnectOutput to Entities

  • Renamed Instance.EntFireAtName to Entities.FireInput

  • Renamed Instance.FindEntitiesByName to Entities.FindByName

  • Renamed Instance.FindEntitiesByClass to Entities.FindByClass

  • Renamed Instance.EntFireAtTarget to Entity.FireInput

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

  • Deprecated Instance.FindEntityByName and FindEntityByClass

  • Calling a method on an invalid (removed) Entity now reports that the Entity is invalid

  • ConnectOutput now logs a warning when the target has no output with that name

View original

Upgraded? How did it go?

Discussion