Jump to content
Sign in to follow this  
namreg

finish script by trigger

Recommended Posts

Hi... I'm making a cutscene where I get a ride by bus in the streets of Paraiso.... there are cars going around and people too.

My problem is that as the bus goes around, sometimes it takes longer to turn some corners than others..... what I wanted to do is to place a couple of cameras in those corners so when the bus gets there, the cameras turn on and record what is actually hapening....

What I tried to do is this....

Make a script at the beggining of the ride with all the stuff, create camera, etc...

Quote[/b] ]

_camera = "camera" camcreate [0,0,0]

_camera cameraeffect ["internal", "back"]

;debajo del bus

_camera camPrepareTarget [109925.20,11916.38,140.47]

_camera camPreparePos [9943.88,9983.88,0.20]

_camera camPrepareFOV 0.700

_camera camCommitPrepared 0

@camCommitted _camera

titlecut ["","BLACK IN",2]

~2

;debajo del bus

_camera camPrepareTarget [109925.20,11916.38,140.47]

_camera camPreparePos [9943.88,9983.88,0.20]

_camera camPrepareFOV 0.700

_camera camCommitPrepared 0

@camCommitted _camera

~8

;sube unos metros apunta control

_camera camPrepareTarget [96435.05,-37466.82,-16215.45]

_camera camPreparePos [9943.88,9983.88,7.93]

_camera camPrepareFOV 0.700

_camera camCommitPrepared 18

@camCommitted _camera

~0

And without finishing this script, I created 2 more only with the cameras I wanted.

This is one

Quote[/b] ]

;miraNDO PARADA BUS

_camera camPrepareTarget bus

_camera camPreparePos [10500.36,9830.19,6.55]

_camera camPrepareFOV 0.079

_camera camCommitPrepared 0

@camCommitted _camera

so it points at the bus forever and the second one

Quote[/b] ]

;SIGUIENDO AL BUS

_camera camPrepareTarget bus

_camera camPreparePos [10455.74,9635.70,10.30]

_camera camPrepareFOV 0.700

_camera camCommitPrepared 0

@camCommitted _camera

To end the cutscene I created a new script where theres this camdestroy _camera and the exit

Is that correct?huh.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  

×