ChrisFox 0 Posted January 12, 2007 Two questions which I couldn't find an answer to on this forum: 1. Can you make the camera.sqs mouse-look ? 2. How do you make the camera (camera.sqs) stick to a moving unit (like the commander-view) ? (NB. with 'stick' i don't mean like what you can do with the Fire-button) Thnx ! Share this post Link to post Share on other sites
Guest Posted January 12, 2007 these are two really good questions...that I also am looking for an answer... there used to be a camera addon, so you could zoom in and out and control it like a weapon.... but of course flying around wasnt possible. Share this post Link to post Share on other sites
ChrisFox 0 Posted January 12, 2007 Hmm, I don't really mean flying around, cuz with camera.sqs you already can actually. Just the two questions i asked above... Share this post Link to post Share on other sites
ChrisFox 0 Posted January 13, 2007 Nobody (getting this topic a bit under attention again with this reply, sorry) Share this post Link to post Share on other sites
raedor 8 Posted January 13, 2007 Nobody (getting this topic a bit under attention again with this reply, sorry) Please do not bump your threads, that won't solve your problem anyway. Share this post Link to post Share on other sites
deanosbeano 0 Posted January 13, 2007 mouselook no, aprt from camera sqs forwards and backwards ,it does it without any scripting ,just use camera .sqs or massive amount of coding using mouse pos stuff set camera near plane heli man etc. [nameoffilmed] exec "film.sqs" init.sqs DBO = false film.sqs <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> _filmed = _this select 0 _cam = "camera" camcreate (getpos _filmed) _cam cameraeffect ["internal", "back"] _cam camsettarget _filmed #loop _x = (getpos _filmed select 0) _y = (getpos _filmed select 1) _z = (getpos _filmed select 2) _cam camsetpos [_x+6,_y-28,_z] _cam camsettarget _filmed _cam camcommit 0 ;insert a check for off variable here to turn off ? DBO : goto "enders" goto "loop" #enders _cam cameraeffect ["terminate", "back"]; camdestroy _cam;exit _cam camsetpos [_x+6,_y-28,_z] mess with these numbers to get esired pos make a radio trigger with DBO = true that will switch off cam. i am not near game this should work, i have no time to make more complicated version, good luck hope this helps. P.S nameof filmed can be replaced by [] or the name of the vehicle you want to record. Share this post Link to post Share on other sites
ChrisFox 0 Posted January 14, 2007 Aight, now I'm not really familiar with scripting, but I'll try. Lets see if I get things straight: -The codes in your code sample have to be in a file I call "film.sqs" (in which map to put it?) In the Initialization field of a unit I put: [nameoffilmed] exec "film.sqs";init.sqs;DBO = false Hmm, seems I've understood wrong, cuz it somehow looks a bit strange. Ty Share this post Link to post Share on other sites