_camera = "camera" camCreate [8388.39,4348.80,0.74] 
_camera cameraEffect ["internal","back"]
setAccTime 1.0
setviewdistance 1200
titleCut ["","BLACK IN", 1]
;goto "Dil3"

playmusic "7thDecide"
8 fademusic 0.2
;titleText ["Po celem ostrove se bojovalo.", "Plain"]

par1 stop true
par2 stop true
par3 stop true
par1 reveal BMPS1
par2 reveal BMPS1
par3 reveal BMPS1

; BMP JEDE

_camera camSetTarget [-53420.25,88492.78,5316.17]
_camera camSetPos [6065.69,8280.92,0.06]
_camera camSetFOV 0.203
_camera camCommit 0
@camCommitted _camera
	
	;=== 15:10:12
	_camera camSetTarget [-56992.34,85892.83,399.99]
	_camera camSetPos [6067.33,8282.41,4.90]
	_camera camSetFOV 0.146
	_camera camCommit 6
	@camCommitted _camera
	KECA=true 


;Utikaji civilisti
_camera camSetTarget [69251.05,-68883.84,-1387.03]
_camera camSetPos [5904.09,8484.96,0.78]
_camera camSetFOV 0.165
_camera camCommit 0
@camCommitted _camera
~5

;rusove bezi
_camera camSetTarget [85858.81,68508.79,-541.82]
_camera camSetPos [6001.47,8322.27,0.05]
_camera camSetFOV 0.110
_camera camCommit 0
@camCommitted _camera

	
	;=== 15:13:54
	_camera camSetTarget [87297.02,66551.73,-541.80]
	_camera camSetPos [5992.81,8334.53,0.32]
	_camera camSetFOV 0.110
	_camera camCommit 6
	@camCommitted _camera

akce1=true
;partyzani  cekaji.
_camera camSetTarget [94763.19,50080.75,19477.89]
_camera camSetPos [5930.25,8457.98,0.96]
_camera camSetFOV 0.700
_camera camCommit 0
@camCommitted _camera

	;=== 15:15:01
	_camera camSetTarget [72181.64,-66392.10,2824.02]
	_camera camSetPos [5932.52,8464.59,0.87]
	_camera camSetFOV 0.425
	_camera camCommit 6
	@camCommitted _camera



;Rusaci bezi
_camera camSetTarget [-4032.05,-85253.07,-33454.98]
_camera camSetPos [6012.75,8415.18,11.61]
_camera camSetFOV 0.455
_camera camCommit 0
@camCommitted _camera

	;=== 15:17:22
	_camera camSetTarget [-70661.73,72597.98,-195.92]
	_camera camSetPos [6011.61,8402.01,2.73]
	_camera camSetFOV 0.455
	_camera camCommit 14
	~7
	kric1=true
	~2
	kric3=true
	~1
	kric2=true
	
	@camCommitted _camera





;partyzani cekaji
_camera camSetTarget [98691.77,-28631.20,-3180.83]
_camera camSetPos [5888.18,8474.78,1.12]
_camera camSetFOV 0.148
_camera camCommit 0
@camCommitted _camera

	;=== 15:19:34
	_camera camSetTarget [65538.08,-71718.95,-3180.88]
	_camera camSetPos [5903.49,8487.50,1.18]
	_camera camSetFOV 0.148
	_camera camCommit 13
	@camCommitted _camera



;boj?
_camera camSetTarget [-88902.86,40028.21,-1889.49]
_camera camSetPos [5962.94,8459.32,1.35]
_camera camSetFOV 0.345
_camera camCommit 0
@camCommitted _camera

	
		;=== 15:21:57
		_camera camSetTarget [-87546.06,-26932.74,-1889.56]
		_camera camSetPos [5956.45,8470.61,0.78]
		_camera camSetFOV 0.345
		_camera camCommit 5
		~3
		kric=true
		
		@camCommitted _camera
		
		
	;=== 14:34:59
	_camera camSetTarget [47348.68,81528.00,-54172.96]
	_camera camSetPos [5925.42,8454.10,9.15]
	_camera camSetFOV 0.700
	_camera camCommit 0
	@camCommitted _camera

		par1 dotarget druhy
		par2 dotarget druhy
		~2
		

		;=== 14:31:35
		_camera camSetTarget [90473.40,60982.72,9744.89]
		_camera camSetPos [5928.99,8458.16,0.25]
		_camera camSetFOV 0.700
		_camera camCommit 0
		@camCommitted _camera
		~1.5
		kric4=true
		~0.5
		kric5=true
		;=== 14:31:49
		_camera camSetTarget [104463.76,-4640.89,-10786.32]
		_camera camSetPos [5923.76,8465.74,1.20]
		_camera camSetFOV 0.893
		_camera camCommit 3
		@camCommitted _camera


;=== 16:32:31
_camera camSetTarget [17985.59,-90718.90,-3354.65]
_camera camSetPos [5928.47,8493.31,0.34]
_camera camSetFOV 0.258
_camera camCommit 0
@camCommitted _camera

	;=== 16:32:31
	_camera camSetTarget BMPS1
	_camera camSetPos [5928.47,8493.31,0.34]
	_camera camSetFOV 0.258
	_camera camCommit 6
	@camCommitted _camera



;bojuji
_camera camSetTarget [-73559.99,69098.96,83.35]
_camera camSetPos [5950.83,8452.20,1.15]
_camera camSetFOV 0.138
_camera camCommit 0
@camCommitted _camera

	;=== 15:29:17
	_camera camSetTarget [-82226.35,55633.05,1462.33]
	_camera camSetPos [5942.39,8469.83,0.97]
	_camera camSetFOV 0.138
	_camera camCommit 3
	@camCommitted _camera

;=== 16:05:32
_camera camSetTarget [39713.66,102568.13,-1271.03]
_camera camSetPos [5899.43,8468.34,0.77]
_camera camSetFOV 1.153
_camera camCommit 0
@camCommitted _camera




@akce3

;=== 16:03:39
_camera camSetTarget BMPS1
_camera camSetPos [5899.43,8468.34,0.77]
_camera camSetFOV 0.700
_camera camCommit 1.5
@camCommitted _camera
@not alive BMPS1

; Uskok kamery pri vybuchu 
	_poz = getpos BMPS1
	;=== 16:03:39
	_camera camSetTarget [(_poz select 0), (_poz select 1), (_poz select 2)-4]
	_camera camSetPos [5899.43,8468.34,0.77]
	_camera camSetFOV 0.700
	_camera camCommit 0.1
	@camCommitted _camera
	
	
	_camera camSetTarget [(_poz select 0), (_poz select 1), (_poz select 2)+1]
	_camera camSetPos [5899.43,8468.34,0.77]
	_camera camSetFOV 0.700
	_camera camCommit 0.6
	@camCommitted _camera
	
	_camera camSetTarget [(_poz select 0), (_poz select 1), (_poz select 2)+0.5]
	_camera camSetPos [5899.43,8468.34,0.77]
	_camera camSetFOV 0.700
	_camera camCommit 0.1
	@camCommitted _camera
	
	_camera camSetTarget _poz
	_camera camSetPos [5899.43,8468.34,0.77]
	_camera camSetFOV 0.700
	_camera camCommit 0.2
	@camCommitted _camera
	~2
	
;=== 14:45:47
_camera camSetTarget [103652.40,-11746.99,-4711.85]
_camera camSetPos [5840.60,8497.82,1.45]
_camera camSetFOV 0.365
_camera camCommit 0
@camCommitted _camera
~1
titleCut ["","BLACK OUT", 2]
#Dil2
Act1=true;
~1

;DIL 2 **************************************************************************	


; SPETZ NAS
setacctime 0.500
;=== 16:53:35
_camera camSetTarget [82293.44,-57618.70,-3864.56]
_camera camSetPos [6682.55,7711.03,1.12]
_camera camSetFOV 0.244
_camera camCommit 0
@camCommitted _camera

	;=== 16:53:45
	_camera camSetTarget [82293.44,-57618.70,-3864.56]
	_camera camSetPos [6677.76,7705.48,1.12]
	_camera camSetFOV 0.244
	_camera camCommit 1
	titleCut ["","BLACK IN", 0.3]
	~0.3

	@camCommitted _camera
	
	;=== 16:53:52
	_camera camSetTarget [82293.44,-57618.70,-3864.56]
	_camera camSetPos [6677.03,7704.63,1.12]
	_camera camSetFOV 0.244
	_camera camCommit 0.5
	@camCommitted _camera
	;=== 16:53:58
	_camera camSetTarget [82293.44,-57618.70,-3864.56]
	_camera camSetPos [6676.69,7704.24,1.12]
	_camera camSetFOV 0.244
	_camera camCommit 0.1
	@camCommitted _camera
	
	
;=== 17:03:19
_camera camSetTarget [66986.92,87380.55,2584.57]
_camera camSetPos [6664.68,7664.81,0.29]
_camera camSetFOV 0.106
_camera camCommit 0
@camCommitted _camera
~2

setacctime 1.00

;=== 17:01:29
_camera camSetTarget [-93078.09,3659.65,4190.71]
_camera camSetPos [6754.63,7654.15,0.80]
_camera camSetFOV 0.585
_camera camCommit 0
@camCommitted _camera

	;=== 16:57:44
	_camera camSetTarget s1
	_camera camSetPos [6764.58,7637.88,0.73]
	_camera camSetFOV 0.100
	_camera camCommit 5
	@camCommitted _camera
	
;=== 17:05:15
_camera camSetTarget [100437.16,42470.18,-525.37]
_camera camSetPos [6701.66,7636.71,0.92]
_camera camSetFOV 0.174
_camera camCommit 0
@camCommitted _camera
~2
@jetu

m1 setDir 134
m2 setDir 134
m3 setDir 134
m1 setbehaviour "combat"
m2 setbehaviour "combat"
m3 setbehaviour "combat"
m1 stop true
m2 stop true
m3 stop true


s1 move [6708.785,7639.812,-0.001]


;=== 17:15:43
_camera camSetTarget [-73059.09,-52249.64,7006.26]
_camera camSetPos [6714.77,7643.58,1.00]
_camera camSetFOV 0.700
_camera camCommit 0
@camCommitted _camera
~3

s1 setPos [6708.785,7639.812,-0.001]
s1  setDir -52
s1 dowatch m2
;=== 17:13:08
_camera camSetTarget [-58046.29,83726.54,4247.97]
_camera camSetPos [6707.01,7640.32,1.03]
_camera camSetFOV 0.276
_camera camCommit 0
@camCommitted _camera
~2


s1 setPos [6708.785,7639.812,-0.001]
s1  setDir -52
s1 dowatch m2
s1 stop true
s1 setbehaviour "aware"
s1 stop true
m1 reveal s1
m2 reveal s1
m3 reveal s1

;=== 17:16:39
_camera camSetTarget [81309.07,-58949.94,29.43]
_camera camSetPos [6706.77,7642.08,1.28]
_camera camSetFOV 0.317
_camera camCommit 0
@camCommitted _camera
~1
m1 dotarget  s1
m2 dotarget  s1
m3 dotarget  s1
~1

#dil3
;=== 17:24:10
_camera camSetTarget [-50661.51,89441.82,-4058.05]
_camera camSetPos [6709.93,7637.41,1.36]
_camera camSetFOV 0.509
_camera camCommit 0
@camCommitted _camera

	sab fire ["put", "pipebomb"]
	sab2 fire ["put", "pipebomb"]
	sab3 fire ["put", "pipebomb"]
	vrtulnikleti=true
~3

	sab setPos [6714.000,3615.834,0.002]
	sab setDir -16
	sab2 setPos [6714.000,3615.834,0.002]
	sab2 setDir -16
	sab3 setPos [6714.000,3615.834,0.002]
	sab3 setDir -16



;=== 17:15:18
_camera camSetTarget [-69769.32,-56778.81,11.82]
_camera camSetPos [6714.61,7643.29,1.00]
_camera camSetFOV 0.700
_camera camCommit 0
@camCommitted _camera
m1 stop false
m2 stop false
m3 stop false
m1 dotarget  s1
m2 dotarget  s1
m3 dotarget  s1


kolona=true
~1
a1 addrating -10000
a1 setcaptive flase
m1 say "brok"
m2 say "brok"
m3 say "brok"


s1 switchmove "CombatDyingVer3"
~0.4
s1 setdammage 1

~1
titleCut ["","BLACK OUT", 2]
~2

;DIL 3 **************************************************************************
;=== 17:41:18
_camera camSetTarget [-55918.48,-74924.63,-772.42]
_camera camSetPos [6367.30,3304.39,0.70]
_camera camSetFOV 0.140
_camera camCommit 0
@camCommitted _camera

titleCut ["","BLACK IN", 2]

;=== 17:41:32
_camera camSetTarget [-47964.17,-80644.09,-772.42]
_camera camSetPos [6364.43,3306.49,0.38]
_camera camSetFOV 0.140
_camera camCommit 5.5
@camCommitted _camera

;=== 17:43:49
_camera camSetTarget [82740.34,-61064.64,-4669.56]
_camera camSetPos [6366.40,3311.60,0.46]
_camera camSetFOV 0.419
_camera camCommit 0
@camCommitted _camera

~1.5

vrtulnikstart=true
	

;=== 0:01:59
_camera camSetTarget [85962.42,63490.87,-5207.71]
_camera camSetPos [6308.42,3263.21,5.40]
_camera camSetFOV 0.330
_camera camCommit 0
@camCommitted _camera

;=== 0:02:28
_camera camSetTarget [91701.43,55307.61,-4651.36]
_camera camSetPos [6377.92,3369.66,5.81]
_camera camSetFOV 0.250
_camera camCommit 6
@camCommitted _camera




sabbum=true
sabbum2=true

; Zaber z UAZU -------------------------
		uazinss=true
		
		
		
		_who = uazin;
		
		_dx = -0.1;
		_dy = 0;
		_dz = 1.6;
		
		
		#LOOP1
		
		
		;=== 17:26:18
		_camera camSetTarget [(10 * sin (getdir _who))+(getpos _who select 0), 10*cos (getdir _who)+(getpos _who select 1), (getpos _who select 2)]
		_camera camSetPos [(getpos _who select 0) + _dx * sin (getdir _who) - _dy * cos (getdir _who), (getpos _who select 1) + _dx * cos (getdir _who) + _dy * sin (getdir _who), (getpos _who select 2)+_dz]
		_camera camSetFOV 0.900
		_camera camCommit 0
		@camCommitted _camera
		
		? uazinsk : goto "dale"
		goto "LOOP1"
		
		#dale
		
; Zaber z UAZU -------------------------

	_poz2 = [6612.67,3695.00,3.55]
	
	
	;=== 14:59:02
	_camera camSetTarget  [-32336.77,-88086.64,-7676.82]
	_camera camSetPos [6612.67,3695.00,3.55]
	_camera camSetFOV 0.083
	_camera camCommit 0
	@camCommitted _camera
	
	_camera camSetPos [(_poz2 select 0), (_poz2 select 1), (_poz2 select 2)]
	_camera camCommit 0.05
	@camCommitted _camera
	
	_camera camSetPos [(_poz2 select 0), (_poz2 select 1), (_poz2 select 2)+1]
	_camera camCommit 0.05
	@camCommitted _camera
	
	
	_camera camSetPos [(_poz2 select 0), (_poz2 select 1), (_poz2 select 2)]
	_camera camCommit 0.05
	@camCommitted _camera
	
	_camera camSetPos [(_poz2 select 0), (_poz2 select 1), (_poz2 select 2)+1]
	_camera camCommit 0.05
	@camCommitted _camera
	
	_camera camSetPos [(_poz2 select 0), (_poz2 select 1), (_poz2 select 2)]
	_camera camCommit 0.05
	@camCommitted _camera
	
	_camera camSetPos [(_poz2 select 0), (_poz2 select 1), (_poz2 select 2)+1]
	_camera camCommit 0.05
	@camCommitted _camera
	
	_camera camSetPos [(_poz2 select 0), (_poz2 select 1), (_poz2 select 2)]
	_camera camCommit 0.1
	@camCommitted _camera
	
	_camera camSetPos [(_poz2 select 0), (_poz2 select 1), (_poz2 select 2)+1]
	_camera camCommit 0.1
	@camCommitted _camera
		
	_camera camSetPos [(_poz2 select 0), (_poz2 select 1), (_poz2 select 2)]
	_camera camCommit 0.1
	@camCommitted _camera
	
	_camera camSetPos [(_poz2 select 0), (_poz2 select 1), (_poz2 select 2)+0.8]
	_camera camCommit 0.1
	@camCommitted _camera
	
	_camera camSetPos [(_poz2 select 0), (_poz2 select 1), (_poz2 select 2)]
	_camera camCommit 0.1
	@camCommitted _camera
	
	_camera camSetPos [(_poz2 select 0), (_poz2 select 1), (_poz2 select 2)+0.7]
	_camera camCommit 0.1
	@camCommitted _camera
	
		_camera camSetPos [(_poz2 select 0), (_poz2 select 1), (_poz2 select 2)]
		_camera camCommit 0.1
		@camCommitted _camera
		
		_camera camSetPos [(_poz2 select 0), (_poz2 select 1), (_poz2 select 2)+0.5]
		_camera camCommit 0.1
		@camCommitted _camera
			
		_camera camSetPos [(_poz2 select 0), (_poz2 select 1), (_poz2 select 2)]
		_camera camCommit 0.1
		@camCommitted _camera
		
		_camera camSetPos [(_poz2 select 0), (_poz2 select 1), (_poz2 select 2)+0.25]
		_camera camCommit 0.1
		@camCommitted _camera
		
		_camera camSetPos [(_poz2 select 0), (_poz2 select 1), (_poz2 select 2)]
		_camera camCommit 0.1
		@camCommitted _camera
		
		_camera camSetPos [(_poz2 select 0), (_poz2 select 1), (_poz2 select 2)+1]
		_camera camCommit 0.1
		@camCommitted _camera
		~4
#dil4
gojezisku=true

;=== 14:16:19
_camera camSetTarget [-79646.53,-45571.68,-19334.64]
_camera camSetPos [5070.62,3899.58,4.62]
_camera camSetFOV 0.700
_camera camCommit 0
@camCommitted _camera

	
	;=== 14:16:33
	_camera camSetTarget [-61696.05,-67973.04,-19332.14]
	_camera camSetPos [5062.34,3913.30,13.81]
	_camera camSetFOV 0.700
	_camera camCommit 010
	@camCommitted _camera

;=== 14:18:09
_camera camSetTarget URAL
_camera camSetPos [5010.08,3889.67,1.30]
_camera camSetFOV 0.475
_camera camCommit 0
@camCommitted _camera

jetleti=true
	_camera camSetTarget URAL
	_camera camSetPos [5003.75,3891.75,4.28]
	_camera camSetFOV 0.475
	_camera camCommit 10
	@camCommitted _camera

;=== 14:27:10
_camera camSetTarget [-40432.39,92616.22,-7448.95]
_camera camSetPos [5040.86,3868.65,0.94]
_camera camSetFOV 0.220
_camera camCommit 0

civil1 switchmove "FXStandSurUniv"
civil1  setPos [5063.354,3880.244,-0.006]
civil1  setDir 90
civil1 stop true


civil2 switchmove "FXStandSurUniv"
civil2 setPos [5063.340,3881.535,-0.006]
civil2  setDir 90
civil2 stop true

civil3 switchmove "FXStandSurUniv"
civil3 setPos [5063.325,3882.738,-0.006]
civil3  setDir 90
civil3 stop true
~3


popravci1 setPos [5059.233,3879.842,-0.006]
popravci1 setDir 89
popravci1 stop true
popravci2  setPos [5059.396,3882.275,-0.006]
popravci2 setDir 92
popravci2 stop true
;popravci1 dotarget civil1
;popravci2 dotarget civil2


nastup=true
popravci1 stop false
popravci2 stop false

;=== 0:10:44
_camera camSetTarget [5056.80,3881.22,0.00]
_camera camSetPos [5009.54,3898.51,4.36]
_camera camSetFOV 0.794
_camera camCommit 0
@camCommitted _camera
	
	
	_camera camSetTarget [5056.80,3881.22,0.00]
	_camera camSetPos [5042.43,3878.40,8.90]
	_camera camSetFOV 0.627
	_camera camCommit 17
	@camCommitted _camera




;=== 16:21:01
_camera camSetTarget [91560.66,54031.67,-1290.10]
_camera camSetPos [5057.30,3877.84,0.81]
_camera camSetFOV 0.700
_camera camCommit 0
@camCommitted _camera

	_camera camSetTarget car
	_camera camSetPos [5056.47,3881.85,1.04]
	_camera camSetFOV 0.700
	_camera camCommit 16
	~10
	titleCut ["","BLACK OUT", 2]
	~2
	~2
	2 fadeMusic 0
	~2
	@camCommitted _camera


;=== 16:54:36
_camera camSetTarget [69733.28,82750.30,26598.25]
_camera camSetPos [8117.14,8508.28,0.66]
_camera camSetFOV 1.145
_camera camCommit 0
@camCommitted _camera
~1






player cameraEffect ["terminate","back"]
camDestroy _camera
konec=true





















;-----------------------------------------------------------------------------------

uazijedem=true

;zaber do interieru












Act2=true;
~5


; UTOK NA TANKY

;=== 18:56:13
_camera camSetTarget [37509.19,102610.64,-10365.07]
_camera camSetPos [2406.84,9560.56,7.36]
_camera camSetFOV 0.700
_camera camCommit 0
@camCommitted _camera

~5

;=== 18:57:03
_camera camSetTarget [-15567.25,107784.05,50.88]
_camera camSetPos [2424.98,9415.99,1.07]
_camera camSetFOV 0.700
_camera camCommit 3
@camCommitted _camera

~10


3 fademusic 0.0


;titleText ["A tak dále....", "Plain"]

titleCut ["","BLACK OUT", 3]
~6




player cameraEffect ["terminate","back"]
camDestroy _camera

