Counter-Strike 2 업데이트

[맵 스크립팅]

  • custom_hud_layout 객체를 추가했습니다.

  • custom_hud_layout은 스크립트 맵에서 맞춤 UI를 제공하기 위한 진입점입니다.

  • 'Panel', 'Label', 'Image' 및 'Button' 패널 유형을 지원합니다.

  • CSS를 사용한 스타일 지정을 지원합니다.

  • 이벤트와 클라이언트 측 스크립팅은 지원하지 않습니다.

  • 도구 모드를 다시 불러와도 상태를 유지합니다.

  • cs_player_camera 객체를 추가했습니다.

  • 플레이어의 캐릭터를 움직이지 않고 시점을 제어할 수 있습니다.

  • 플레이어가 스크립트로 지정된 위치에서 주위를 둘러볼 수 있도록 설정할 수 있습니다.

  • Instance.Delay를 추가했습니다.

  • Instance.OnBombPlantStart를 추가했습니다.

  • Instance.OnBombPlantAbort를 추가했습니다.

  • Instance.OnBombDefuseStart를 추가했습니다.

  • Instance.OnBombDefuseAbort를 추가했습니다.

  • Instance.OnCustomHudClicked를 추가했습니다.

  • Instance.IsDedicatedServer를 추가했습니다.

  • Entity.Move를 추가했습니다.

  • Entity.GetMoveType을 추가했습니다.

  • Entity.SetMoveType을 추가했습니다.

  • CSPlayerPawn.GetC4를 추가했습니다.

  • CSPlayerPawn.GetDefuseTarget을 추가했습니다.

  • CSPlayerPawn.IsBuyMenuOpen을 추가했습니다.

  • CSPlayerPawn.GetCamera를 추가했습니다.

  • C4.GetPlantStartTime을 추가했습니다.

  • C4.GetPlantFinishTime을 추가했습니다.

  • C4.AbortPlant를 추가했습니다.

  • CustomHudLayout.SetHasClass를 추가했습니다.

  • CustomHudLayout.SetHasClassForPlayer를 추가했습니다.

  • CustomHudLayout.SetDialogVariableString을 추가했습니다.

  • CustomHudLayout.SetDialogVariableStringForPlayer를 추가했습니다.

  • CustomHudLayout.SetInputCaptureEnabled를 추가했습니다

  • CustomHudLayout.IsInputCaptureEnabled를 추가했습니다.

  • CSPlayerCamera.IsEnabled를 추가했습니다.

  • CSPlayerCamera.SetEnabled를 추가했습니다.

  • CSPlayerCamera.SetIsControllingAngles를 추가했습니다.

  • 열거형 CSMoveType을 추가했습니다.

  • 매개변수가 정의되지 않을 수 있던 일부 이벤트 유형을 수정했습니다.

  • 초기 스크립트 실행 중 발생한 오류가 이제 콘솔에 기록됩니다.

  • 처리되지 않은 'promise' 거부가 이제 콘솔에 기록됩니다.

  • 스크립트를 불러오는 중 CompileModule 단계에서 발견된 오류에 열 번호를 추가했습니다.

  • Instance.OnBombPlant 이벤트에서 'planter' 사용을 중단했습니다.

  • Instance.OnBombPlant 이벤트에서 'defuser' 사용을 중단했습니다.