OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: supershooter on 16 May 2005, 19:37:59
-
hi ;D
ok, so i am using camera.sqs to make my cutscene. but i got one prob. i have searched all over the forum and i can't find an answer.
I have a plane at 10 000 feet. I put in its init field this exec "camera.sqs" (the init field also contains a height script) but the prob is the camera starts at sea level, its going take 10 minutes to get it up to the correct level. Is there a way of setting where the camera starts? Liek having it start 10 000 feet in the air....?
((I am trying to acheive a few simple shots of it flying around.))
-supershooter
-
Could always script the scene when the plane is at a lower altitude, then just move it back up to where you want it.
-
or you could just change the camcommit to 0.
Then It would be instant.
However I'm not really sure what your script is and it may need more tweaking then just one number.
-
i think what he's getting at is that he's creating the cutscene and wants to get the angles in the editor to cut n paste into his cutscene script.
in which case i think there's no way around having to keep your finger on the 'q' key until you're up there unless, as suggested, you do it at 50 meters and then change all the height variables. which is a bit tedious.
what you could do is combine the two ideas - initiate a script that gets the camera up there and then exits, leaving the camera to be controlled as normal...
erp - nope, just tested it and the camera stays on the ground. sorry mate, no way around this it seems :-\
-
Gawd... bloody camera.sqs... ;)
I suggest you throw that in the bin, and just use relative camera angles.
eg.
cam camsetpos [(getpos plane select 0) + 20, (getpos plane select 1) - 50, (getpos plane select 2) + 12]
Besides, do you really need it to be that high? The viewdistance setting won't be able to see the ground after about 2km (6500ft) anyway... ;)
It all depends what youre trying to do I guess...