Counter-Strike 2 Update
Announced
Developer-announced information. It may change before release.
[ MAP SCRIPTING ]
- Added Instance.Precache
- Added CSHostage
- Added new top level export Console
- Added new top level export GameRules
- Moved and renamed methods are still available in their original location, deprecated
- Added top-level custom_hud_layout classes HUD_TEAMMENU_VISIBLE and HUD_CHAT_VISIBLE
- radar_element can now appear on the radar in every game mode, not just Rush
- Added support for GameRules.AddTeamMoney with CSTeamMoneyReason.NONE and an amount
- Fixed a crash in GameRules.AddTeamMoney with CSTeamMoneyReason.NONE
- Fixed CSTeamMoneyReason enum values not matching point_script.d.ts
- Fixed CSWeaponAttackType enum values not matching point_script.d.ts
- Fixed CSRadarPoint.IsVisibleToTeam returning a number instead of a boolean
- Fixed CSObservablePoint.IsObservableForTeam returning a number instead of a boolean
- Logged warnings now include the JS call stack
- Logged warnings now include details about bad argument values
- Logged warnings now count arguments from 0 instead of 1
- Improved auto complete of the map_workshop command