Hard Light Productions Forums

Modding, Mission Design, and Coding => The FRED Workshop => Topic started by: Molaris on December 16, 2011, 06:56:05 pm

Title: Camera question
Post by: Molaris on December 16, 2011, 06:56:05 pm
is there anyway I can have a camera following a ship? For example, in shows like Destination Truth or Scariest Places on Earth where people have mounted cameras in front of them - a sort of fixed camera. I wanna set a waypoint a distance away from a ship (say 2 O'clock) and have it stay that exact distance and position from the ship while the ship is moving. anyone know how to do that?
Title: Re: Camera question
Post by: mjn.mixael on December 16, 2011, 07:03:25 pm
Yes, you can do a lot of stuff with the camera. The key is get-object-position sexps. I recommend you download JAD 2.21 and open those missions in FRED to see how Axem did some of the stuff he did.
Title: Re: Camera question
Post by: Molaris on December 16, 2011, 07:10:35 pm
ok. thanks :-) I'll pick that up soon
Title: Re: Camera question
Post by: m!m on December 17, 2011, 11:54:34 am
You might also want to take a look at "set-camera-host". With that SEXP you can specify an object which will "host" the camera so it will always stay at the same position relative to that object but you can still do some cool stuff like moving the camera from one point which will also happen relative to the host object. I'm not sure how it handles looking at objects so you will have to see if it works...
Title: Re: Camera question
Post by: Molaris on January 02, 2012, 10:46:18 pm
THAT sounds like what I'm looking for! So like set it at 2 o'clock near a deimos, have the deimos turn, and the camera is still at the 2 o'clock position near the deimos. thank you SO much guys. that's what I'm looking for!