Jump to content
Sign in to follow this  
Aculaud

Camera scripts suck!

Recommended Posts

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">_cam = "camera" camcreate [0,0,0]

_cam cameraeffect ["Internal","Back"]

titlecut ["","BLACK IN",3]

0 fademusic 0

_cam camsettarget b1

_cam camsetrelpos [4,-60,1.5]

_cam camcommit 0

~25

3 fademusic 1

_cam camsettarget apache1

_cam camsetrelpos [15,15,-1]

_cam camcommit 3.5

~3.5

_cam camsettarget fort1

_cam camsetrelpos [75,75,20]

_cam camcommit 4

~4

_cam camsettarget fort1

_cam camsetrelpos [-90,-250,55]

_cam camcommit 6

~6

_cam camsettarget lst1

_cam camsetrelpos [-150,-450,155]

_cam camcommit 6

~6

_cam camsettarget pbr6

_cam camsetrelpos [-100,30,20]

_cam camcommit 8

~8

_cam camsettarget pbr5

_cam camsetrelpos [100,-30,35]

_cam camcommit 6

~6

_cam camsettarget b2

_cam camsetrelpos [65,180,40]

_cam camcommit 9

~9

_cam camsettarget t1

_cam camsetrelpos [-95,-90,55]

_cam camcommit 12

~12

_cam camsettarget t2

_cam camsetrelpos [300,145,60]

_cam camcommit 15

~20

_cam camsettarget pbr6

_cam camsetrelpos [3,3,4]

_cam camcommit 10

~10

_cam camsettarget pbr6

_cam camsetrelpos [-3,-3,4]

_cam camcommit 10

~10

_cam camsettarget fort1

_cam camcommit 10

~10

_cam camsettarget pbr2

_cam camsetpos [getpos t2 select 0, getpos t2 select 1, 30]

_cam camcommit 10

~15

_cam camsettarget pbr4

_cam camsetrelpos [5,10,2]

_cam camcommit 8

~30

5 fademusic 0

titlecut ["","BLACK OUT",5]

~5

_cam cameraeffect ["terminate","Back"]

camdestroy _cam

endintro = TRUE<span id='postcolor'>

I get THEE most unpredictible results from this script EVER! Sometimes it points at the wrong thing all together, other times, it goes clear accross the map to a place way out in the ocean. I'm sure its just one little thing iv overlooked, but would someone please tell me what it is about this thats messing things up, if you can see anything?

Share this post


Link to post
Share on other sites

Ya know what? Never mind, i fixed it. The script didnt suck, CamSetRelPos sucks! mad.gif

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  

×