;exec'ed by "cutscene.sqs"
;cutscene order 1
;plays forever
;[1,2,3,4,5]

_camera = "camera" camCreate [0,0,0]
_camera cameraEffect ["internal","back"]
;player sidechat "order1"

#start
;player sidechat format ["%1",daytime]

;mountains
skiptime 0
titleText ["","BLACK IN",1]
_camera camSetPos [9068,10140,50]
_camera camSetTarget [25600,12800,-4000]
_camera camSetFOV 1
_camera camCommit 0
@camCommitted _camera
_camera camSetTarget [6400,25600,-4000]
_camera camCommit 53
~52
titleText ["","BLACK OUT",0.5]
@camCommitted _camera

;village
skiptime -0.25
titleText ["","BLACK IN",1]
_camera camSetPos [16000,12000,30]
_camera camSetTarget [0,12800,-1000]
_camera camSetFOV 1
_camera camCommit 0
@camCommitted _camera
_camera camSetTarget [12800,25600,-4000]
_camera camCommit 54
~53
titleText ["","BLACK OUT",0.5]
@camCommitted _camera

;city
skiptime 0.5
titleText ["","BLACK IN",1]
_camera camSetPos [18000,10700,50]
_camera camSetTarget [25600,6400,-10]
_camera camSetFOV 0.7
_camera camCommit 0
@camCommitted _camera
_camera camSetTarget [25600,19200,-10]
_camera camCommit 54
~53
titleText ["","BLACK OUT",0.5]
@camCommitted _camera

;port
skiptime 13
titleText ["","BLACK IN",1]
_camera camSetPos [18600,7800,50]
_camera camSetTarget [0,6400,-1000]
_camera camSetFOV 1
_camera camCommit 0
@camCommitted _camera
_camera camSetTarget [16600,25600,-1000]
_camera camCommit 54
~53
titleText ["","BLACK OUT",0.5]
@camCommitted _camera

;farm
skiptime -0.5
titleText ["","BLACK IN",1]
_camera camSetPos [8800,12000,40]
_camera camSetTarget [19000,0,-1000]
_camera camSetFOV 0.7
_camera camCommit 0
@camCommitted _camera
_camera camSetTarget [0,3000,-1000]
_camera camCommit 54
~53
titleText ["","BLACK OUT",0.5]
@camCommitted _camera

"_x setFuel 1" forEach [Tcar1,Tcar2,Ttruck,Ttractor,Tbike]
~1
skiptime -12.825
goto "start"