- Updated tsconfig.json in the script_zoo, setting the target to "es2022" for more accurate type analysis.
- Changed point_script entity to no longer remove itself on a failed script load during spawn. Instead it will remain in an inactive state and listen for script changes if the game is running in tools mode.
- Fixed point_script entity to no longer potentially crash after an unsuccessful reload from an invalid script while running the game in tools mode.
- Changed point_script entity to hold onto the memory value returned by an Instance.OnBeforeReload callback until the next successful reload instead of forgetting it if the reload is unsuccessful.
- Changed methods expecting arguments of string type to now error instead of calling toString for arguments of the wrong type.
- Changed Instance.Msg and Instance.DebugScreenText to accept any type for the text value.
- Fixed a bug where RunScriptInput would crash the game when triggered with a null caller or activator.
- Removed Instance.OnGameEvent in favor of per-event registration methods. This gives us tools for stronger API stability and creates a consistent API for events that are not gameevents.
- Added Instance.DebugLine
- Added Instance.DebugBox
- Added Instance.OnPlayerConnect
- Added Instance.OnPlayerActivate
- Added Instance.OnPlayerDisconnect
- Added Instance.OnRoundStart
- Added Instance.OnRoundEnd
- Added Instance.OnBombPlant
- Added Instance.OnBombDefuse
- Added Instance.OnPlayerKill
- Added Instance.OnPlayerChat
- Added Instance.OnGunFire
- Added Instance.OnGrenadeThrow
- Added an overload to Instance.EntFireAtName that allows setting caller and activator
- Added an overload to Instance.EntFireAtTarget that allows setting caller and activator
- Added normal vector to the result of Instance.GetTraceHit
- Added Entity.GetGroundEntity
- Added CSWeaponBase.GetOwner
- Added CSPlayerController.GetName
- Added CSObserverPawn.GetOriginalPlayerController
- Added CSPlayerPawn.GetOriginalPlayerController
- Added CSPlayerPawn.IsCrouching
- Added CSPlayerPawn.IsCrouched
- Added CSPlayerPawn.IsNoclipping
- See maps/editor/zoo/scripts/point_script.d.ts for comprehensive details on the API
- Added "train_zoo.vmap" with all de_train assets and examples for mapmakers.
Counter-Strike 2 Update
Update notes via Steam Community
[ MAP SCRIPTING ]
Some depots below may not display changed files because our bot does not own the specific depot or game.
Game can be donated with a key, by sending a gift, or using curator system.
64-bit
Depot 2347770
- Loading history…
Windows
Depot 2347771
- Loading history…
Linux
64-bit
Depot 2347773
- Loading history…
64-bitDLC 2279721
Depot 2347779
- Loading history…
Counter-Strike Global Offensive Beta Common
Depot 731
- Loading history…
- Loading history…
- Loading history…
- Loading history…
Counter-Strike: Global Offensive (General)
Depot 735
- Loading history…
Counter-Strike: Global Offensive (Perfect World)
Depot 736
- Loading history…
Counter-Strike: Global Offensive (Perfect World Assets)
Depot 737
- Loading history…
Counter-Strike: Global Offensive (Chinese Voice Audio)
Depot 738
- Loading history…
Changed files in this update