TheJokerMan 0 Posted August 15, 2006 hey guys could someone take a look at this code and tell me if its good? i mean i stumbled through this all night and finally got it to work, but sometimes somethings slip a second either way ya know? and im just wondering if there is any unnessesary lines of code in here, also i am wondering if there is a way to lock the unit into looking through binocs until you want him to put the binocs away, here is the script i got so far: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">cutrsc ["default","PLAIN DOWN",0] _cam = "camera" camcreate [0,0,0] _cam cameraeffect ["internal", "back"] _cam camsettarget bar1 _cam camsetrelpos [-1,-6,1.7] _cam camcommit 0 titlecut [" ","BLACK IN",2] ~3.6 _cam camsettarget man1 _cam camsetrelpos [1,1,2] _cam camcommit 5 @camcommitted _cam ~3 _cam camsettarget man2 _cam camsetrelpos [-1,3,2] _cam camcommit 3 @camcommitted _cam ~2 titlecut [" ","BLACK OUT",2] ~2 _cam camsettarget sol8 _cam camsetrelpos [1,2,1] _cam camcommit 0 titlecut [" ","BLACK IN",2] ~4 sol8 playmove "BinocStand" ~2 cutrsc ["binocular","PLAIN DOWN",0] _cam camsettarget truck2 _cam CamSetFOV 0.05 _cam camCommit 0 ~5 cutrsc ["default","PLAIN DOWN",0] _cam camsettarget sol8 _cam camsetrelpos [-1,6,2] _cam camcommit 0 @camcommitted _cam ~5 _cam camsettarget sol2 _cam camsetrelpos [1,10,0] _cam camcommit 2 @camcommitted _cam ~4 _cam cameraeffect ["terminate", "back"] camdestroy _cam titlecut [" ","BLACK IN",2] any tips or hints would be much welcomed Share this post Link to post Share on other sites
TheJokerMan 0 Posted August 15, 2006 oops i forgot to mention after the <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">_cam CamSetFOV 0.05 line takes effect the camera zoom properties seem to be all screwed up and i cant fix the camera on sol8 and sol2 properly, any suggestions? Share this post Link to post Share on other sites
TheJokerMan 0 Posted August 15, 2006 anyone please? how do i reset the zoom on the camera after <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">camsetFOV takes hold Share this post Link to post Share on other sites
SevenBEF 0 Posted August 15, 2006 camsetFOV 0.700 ? Share this post Link to post Share on other sites