Jump to content
Sign in to follow this  
TheJokerMan

camera scripts

Recommended Posts

hey guys biggrin_o.gif 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

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? whistle.gif

Share this post


Link to post
Share on other sites

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×