mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-14 00:21:34 +00:00
61b165ccc4
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.
23 lines
225 B
Text
23 lines
225 B
Text
ACTOR DoomBuilderCamera
|
|
{
|
|
States
|
|
{
|
|
Spawn:
|
|
TNT1 A 1
|
|
Stop
|
|
}
|
|
}
|
|
|
|
|
|
ACTOR SecurityCamera native
|
|
{
|
|
+NOBLOCKMAP
|
|
+NOGRAVITY
|
|
+DONTSPLASH
|
|
RenderStyle None
|
|
CameraHeight 0
|
|
}
|
|
|
|
ACTOR AimingCamera : SecurityCamera native
|
|
{
|
|
}
|