Author Topic: Help With Cutscene Controls  (Read 1211 times)

0 Members and 1 Guest are viewing this topic.

Offline Trivial Psychic

  • 212
  • Snoop Junkie
Help With Cutscene Controls
For one of my missions for Inferno, I am attempting to use the cutscene control sexps, with limited results.  I am attempting to perform a camera pan, but I want to restrict the bank of the camera, so it always stays level with the "horizon".  I attempted to use the set-camera-position sexp using a rough guess for the pan angle, and then used the same time and accel/decel figures that my pan via set-camera-facing-object set to turn to a waypoint.  The result was so confusing that I'm not really sure what happened.  Any suggestion as to what I am doing wrong?
The Trivial Psychic Strikes Again!

  

Offline Axem

  • 211
Re: Help With Cutscene Controls
Cutscenes can be... very trial and error-y... It takes a lot of messing around and accepting its many idiosyncrasies.

But let me try to see if I can help you...

A moving camera will keep its orientation while its moving unless you have other things telling it to rotate. So for a pan shot, you just need to point the camera to an initial position/orientation, then tell it go start pointing at another.
set-camera-rotation, set-camera-facing, and set-camera-facing object all modify the orientation of the camera, so when you use more than one of these at a time, only the last one will actually do anything.

So the super simplest thing you could do is

Code: [Select]
set-camera-rotation
0
0
0

set-camera-rotation
0
0
45
5000

But I'd say play around with the stuff and see how it works.