mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 23:02:08 +00:00
- 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.
This commit is contained in:
parent
d970be48f9
commit
61b165ccc4
3 changed files with 3 additions and 0 deletions
|
@ -15,6 +15,7 @@ ACTOR SecurityCamera native
|
||||||
+NOGRAVITY
|
+NOGRAVITY
|
||||||
+DONTSPLASH
|
+DONTSPLASH
|
||||||
RenderStyle None
|
RenderStyle None
|
||||||
|
CameraHeight 0
|
||||||
}
|
}
|
||||||
|
|
||||||
ACTOR AimingCamera : SecurityCamera native
|
ACTOR AimingCamera : SecurityCamera native
|
||||||
|
|
|
@ -28,6 +28,7 @@ ACTOR ActorMover : PathFollower native
|
||||||
|
|
||||||
ACTOR MovingCamera : PathFollower native
|
ACTOR MovingCamera : PathFollower native
|
||||||
{
|
{
|
||||||
|
CameraHeight 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -51,6 +51,7 @@ ACTOR MapSpot
|
||||||
+NOGRAVITY
|
+NOGRAVITY
|
||||||
+DONTSPLASH
|
+DONTSPLASH
|
||||||
RenderStyle None
|
RenderStyle None
|
||||||
|
CameraHeight 0
|
||||||
}
|
}
|
||||||
|
|
||||||
// same with different editor number for Legacy maps -----------------------
|
// same with different editor number for Legacy maps -----------------------
|
||||||
|
|
Loading…
Reference in a new issue