You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If we use the ZoomLevel variant from ExtendedVariantMode, and zoom out using CenterCamera
then as shown in the picture, the FreeCameraHitbox class doesn't debug render correctly
Why we should patch this: some mod maps use the ZoomLevel variant, e.g. GalleryCollab heartside
(1) my first thought is, we should patch the FreeCameraHitbox class (or maybe the CenterCamera class), but my attempts fail.
(2) then i feel that, maybe we can just block the ZoomLevel variant from working, when we are using CenterCamera. That is, we save the variant value, and set it to 1 in CenterCamera.CenterTheCamera(), then restore the variant value in CenterCamera.RestoreTheCamera().
P.S. how does the ZoomLevel variant work: it hooks Level.Render and gives a multiplier whenever Level.Zoom appears
The text was updated successfully, but these errors were encountered:
If we use the ZoomLevel variant from ExtendedVariantMode, and zoom out using CenterCamera
then as shown in the picture, the
FreeCameraHitbox
class doesn't debug render correctlyWhy we should patch this: some mod maps use the ZoomLevel variant, e.g. GalleryCollab heartside
(1) my first thought is, we should patch the
FreeCameraHitbox
class (or maybe theCenterCamera
class), but my attempts fail.(2) then i feel that, maybe we can just block the ZoomLevel variant from working, when we are using CenterCamera. That is, we save the variant value, and set it to 1 in
CenterCamera.CenterTheCamera()
, then restore the variant value inCenterCamera.RestoreTheCamera()
.P.S. how does the ZoomLevel variant work: it hooks
Level.Render
and gives a multiplier wheneverLevel.Zoom
appearsThe text was updated successfully, but these errors were encountered: