update · September 25, 2025
Counter-Strike 2 Update Overhauls Point Script and Modding Tools
Counter-Strike 2's latest update introduces extensive API expansions for modders, updates the point_script entity behavior, and adds de_train assets via train_zoo.vmap.
Valve released a developer-focused update for Counter-Strike 2, revising script handling tools, adding per-event registration methods, and introducing mapmaking assets for de_train.
Script and Entity Updates
The script_zoo tsconfig.json targets 'es2022' for type analysis. The point_script entity stays in an inactive state on failed script spawns to listen for script changes in tools mode rather than crashing after invalid reloads. Point_script retains memory values returned by Instance.OnBeforeReload until successful reloads. Methods expecting strings now error out instead of calling toString for wrong types, while Instance.Msg and Instance.DebugScreenText accept any type for text values. RunScriptInput crashes involving null callers or activators are fixed.
New API Event Registrations
Instance.OnGameEvent is removed in favor of per-event registration methods. Additions include Instance.OnPlayerConnect, Instance.OnPlayerActivate, Instance.OnPlayerDisconnect, Instance.OnRoundStart, Instance.OnRoundEnd, Instance.OnBombPlant, Instance.OnBombDefuse, Instance.OnPlayerKill, Instance.OnPlayerChat, Instance.OnGunFire, and Instance.OnGrenadeThrow. Debugging and entity functions expand with Instance.DebugLine, Instance.DebugBox, EntFireAtName and EntFireAtTarget overloads, Instance.GetTraceHit, Entity.GetGroundEntity, CSWeaponBase.GetOwner, CSPlayerController.GetName, CSObserverPawn.GetOriginalPlayerController, CSPlayerPawn.GetOriginalPlayerController, CSPlayerPawn.IsCrouching, CSPlayerPawn.IsCrouched, and CSPlayerPawn.IsNoclipping.
Mapmaking Assets
Mapmakers receive 'train_zoo.vmap' containing de_train assets and implementation examples. Developers can check maps/editor/zoo/scripts/point_script.d.ts for API documentation.
Why this patch matters
This update focuses on modders and mapmakers, tightening script stability, adding API event hooks, and providing de_train assets.