Jump to content
Sign in to follow this  
GoreZiad

Attach camera to plane (iron front 44)

Recommended Posts

Hey. I created a mission with a soldier, with this exec "camera.sqs" in init, and placed a plane, which I named stuka1 in its name field. Ran the mission and pressed CTRL+V to copy the cam info or whatever, like I assume it's done according to this video:

After following the video, here's my script:

showcinemaborder false;

titlecut [" ","BLACK IN",1]
_camera = "camera" camcreate [0,0,0]
_camera cameraeffect ["internal", "back"}

showcinemaborder false;


#loop
;comment "8:45:54";
_camera camSetTarget stuka1
_camera camsetrelPos [2,2,2]
_camera camPrepareFOV 0.100
_camera camCommitPrepared 0
@camComitted_camera
goto "loop"


player cameraeffect ["terminate",""back"]
camdestroy _camera
end1=true;
exit;

I then named my soldier this exec "cameratest1.sqs" which is the name of my script file above. But nothing happens when running the mission, I just spawn.

There's 2 files in my mission folder, mission.sqm which I haven't touched, and then the cameratest1.sqs

Thanks.

Edited by GoreZiad

Share this post


Link to post
Share on other sites

Moving to I44 missions editing and scripting.

Make sure you're posting in the right forum, please.

Share this post


Link to post
Share on other sites

I then named my soldier this exec "cameratest1.sqs" which is the name of my script file above.

this exec "cameratest1.sqs"

this must be written in INIT field, non at name field.

Share this post


Link to post
Share on other sites
bump...

GoreZiad

Please do not bump your threads. It is spamming. If you want your thread bumped, contact a moderator. Thank you.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×