​Counter-Strike 2 Update     ​

[ MAP SCRIPTING ]Added custom_hud_layout entity:custom_hud_layouts are the entry point for scripted maps to provide custom UI.Panel, Label, Image, and Button panel types are supported.Styling with css is supported.Events and client side scripting are not supported.Maintains state during tools mode reloads.Added cs_player_camera entity:Gives control of a player’s view without moving their pawn.Can be configured to let the player look around from the scripted position.Added Instance.DelayAdded Instance.OnBombPlantStartAdded Instance.OnBombPlantAbortAdded Instance.OnBombDefuseStartAdded Instance.OnBombDefuseAbortAdded Instance.OnCustomHudClickedAdded Instance.IsDedicatedServerAdded Entity.MoveAdded Entity.GetMoveTypeAdded Entity.SetMoveTypeAdded CSPlayerPawn.GetC4Added CSPlayerPawn.GetDefuseTargetAdded CSPlayerPawn.IsBuyMenuOpenAdded CSPlayerPawn.GetCameraAdded C4.GetPlantStartTimeAdded C4.GetPlantFinishTimeAdded C4.AbortPlantAdded CustomHudLayout.SetHasClassAdded CustomHudLayout.SetHasClassForPlayerAdded CustomHudLayout.SetDialogVariableStringAdded CustomHudLayout.SetDialogVariableStringForPlayerAdded CustomHudLayout.SetInputCaptureEnabledAdded CustomHudLayout.IsInputCaptureEnabledAdded CSPlayerCamera.IsEnabledAdded CSPlayerCamera.SetEnabledAdded CSPlayerCamera.SetIsControllingAnglesAdded enum CSMoveTypeCorrected types for some events where parameters were maybe undefined.Errors encountered during initial script run are now logged to the console.Unhandled promise rejections are now logged to the console.Added the column number to errors caught during the CompileModule step of script loading.Deprecated planter from Instance.OnBombPlant eventDeprecated defuser from Instance.OnBombDefuse event

Leave a Reply

Your email address will not be published. Required fields are marked *