Hard Light Productions Forums
Modding, Mission Design, and Coding => The FRED Workshop => Topic started 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?
-
every-time set-camera-facing (the orion)
-
Aaah cheers, i will give that ago tomorrow after uni.
-
every-time set-camera-facing (the orion)
Repeating when with 0 delay. Not every-time. :p
-
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.
-
i have an irrational fear of set-camera-target
-
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.
-
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.
-
Well now I know why I had such a hard time setting those sexps correctly, thanks Axem.