From 61b165ccc4993921cbf58258fca7f99e819a5bf1 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Wed, 27 Apr 2016 11:38:54 +0200 Subject: [PATCH] - fixed the camera height setting for the camera actors. The scripting branch changed camera semantics to default to an actor's center - which for monsters and decorations makes sense - but not for simple mapspots that get used as camera. For those the CameraHeight must be explicitly set to 0. --- wadsrc/static/actors/shared/camera.txt | 1 + wadsrc/static/actors/shared/movingcamera.txt | 1 + wadsrc/static/actors/shared/sharedmisc.txt | 1 + 3 files changed, 3 insertions(+) diff --git a/wadsrc/static/actors/shared/camera.txt b/wadsrc/static/actors/shared/camera.txt index 2dcc12aab..46816f9ea 100644 --- a/wadsrc/static/actors/shared/camera.txt +++ b/wadsrc/static/actors/shared/camera.txt @@ -15,6 +15,7 @@ ACTOR SecurityCamera native +NOGRAVITY +DONTSPLASH RenderStyle None + CameraHeight 0 } ACTOR AimingCamera : SecurityCamera native diff --git a/wadsrc/static/actors/shared/movingcamera.txt b/wadsrc/static/actors/shared/movingcamera.txt index 13ae8a922..4ba229154 100644 --- a/wadsrc/static/actors/shared/movingcamera.txt +++ b/wadsrc/static/actors/shared/movingcamera.txt @@ -28,6 +28,7 @@ ACTOR ActorMover : PathFollower native ACTOR MovingCamera : PathFollower native { + CameraHeight 0 } diff --git a/wadsrc/static/actors/shared/sharedmisc.txt b/wadsrc/static/actors/shared/sharedmisc.txt index 04bfe0f46..bfe7d5519 100644 --- a/wadsrc/static/actors/shared/sharedmisc.txt +++ b/wadsrc/static/actors/shared/sharedmisc.txt @@ -51,6 +51,7 @@ ACTOR MapSpot +NOGRAVITY +DONTSPLASH RenderStyle None + CameraHeight 0 } // same with different editor number for Legacy maps -----------------------