Hard Light Productions Forums

Modding, Mission Design, and Coding => The FRED Workshop => Topic started by: starbug on February 03, 2011, 04:03:44 pm

Title: cutscene questions, mainly tracking shot
Post by: starbug on February 03, 2011, 04:03:44 pm
I have a couple of questions about the cutscene sexps, i have manged to do basic shots pulling out shots, zooming in etc. Very basic stuff, but i would like to try and do a pan and move shot for example, An Orion jumps in with the camera facing the orion, now as the orion passes the camera turns to face it as is fly's by. How would i set this up as i am a wee bit confused about the times on the sexps to move the camera?
Title: Re: cutscene questions, mainly tracking shot
Post by: General Battuta on February 03, 2011, 04:05:46 pm
every-time set-camera-facing (the orion)
Title: Re: cutscene questions, mainly tracking shot
Post by: starbug on February 03, 2011, 04:11:00 pm
Aaah cheers, i will give that ago tomorrow after uni.
Title: Re: cutscene questions, mainly tracking shot
Post by: karajorma on February 03, 2011, 07:09:01 pm
every-time set-camera-facing (the orion)

Repeating when with 0 delay. Not every-time. :p
Title: Re: cutscene questions, mainly tracking shot
Post by: Axem on February 03, 2011, 07:20:40 pm
Or even better, just use set-camera-target! No repeating events necessary. You just need to make sure to reset the camera target later if you want it to stop.
Title: Re: cutscene questions, mainly tracking shot
Post by: General Battuta on February 03, 2011, 07:21:11 pm
i have an irrational fear of set-camera-target
Title: Re: cutscene questions, mainly tracking shot
Post by: Rodo on February 03, 2011, 07:27:35 pm
i have an irrational fear of set-camera-target

A well founded fear might be, when combined with camera movements the set-camera-target will actually target whatever it wants, to keep targeting the "target" you need to define a new camera every time you're gonna use it.
Title: Re: cutscene questions, mainly tracking shot
Post by: Axem on February 03, 2011, 07:38:23 pm
Huh? No you don't. You just need to understand that set-camera-target will make the default orientation of the camera will face the target at all times.

So set camera target + set camera orientation 10 0 0 will make the camera always face 10 degrees below the target. So if you just want a simple tracking shot and you were messing around with set camera orientation before, just reset the camera orientation to 0 0 0.

The same goes with set-camera-host. It makes the camera's coordinates be based off its host.

Don't fear these sexps, they can pull off amazing shots.
Title: Re: cutscene questions, mainly tracking shot
Post by: Rodo on February 03, 2011, 08:19:11 pm
Well now I know why I had such a hard time setting those sexps correctly, thanks Axem.