;~300
_camera = "camera" camcreate [0,0.46,0]
_camera cameraEffect ["internal","back"]

[] exec "StavB.sqs"
[Kamera1] exec "Gear2.sqs"
[Blue1] exec "Gear2.sqs"
[Blue2] exec "Gear2.sqs"
[Blue3] exec "Gear2.sqs"
[Blue4] exec "Gear2.sqs"
[FlyA] exec "Gear2.sqs"
[FlyB] exec "Gear2.sqs"
[FlyC] exec "Gear2.sqs"
[FlyD] exec "Gear2.sqs"
[Blue1_1] exec "Gear2.sqs"
[BlueH] exec "Gear2.sqs"

setviewdistance 800
;setviewdistance 1650
0 setfog 0.5

0 fadesound 0

Op1 setpos [8326.69,4405.78]
Op2 setpos [8326.83,4407.11]

setacctime 0.7
;goto "prdel"
;goto "ko"
;goto "sarge"
;goto "testxy"

RobA setpos [1734.46,5449.44]
RobA switchmove "FXStandUnivTable"

JohnA setpos [1732.92,5449.43]
JohnA switchmove "Onchair"

WillA setpos [1731.35,5449.36]
WillA switchmove "Onchair"


BloomA setpos [1729.68,5449.47]
BloomA switchmove "Onchair"

[[1678.31,5302.04,2.42], [0,0,0], 1200, 3.0, ""] Exec "ohen\firesource.sqs"
[[1674.99,5302.97,2.00], [0,0,0], 1200, 3.0, ""] Exec "ohen\firesource.sqs"
[[1839.31,5361.41,1.48], [0,0,0], 1200, 2.0, ""] Exec "ohen\firesource.sqs"

Object 118906 switchlight "off"
Object 173123 switchlight "off"

0 fadesound 0

titlecut ["","BLACK IN",999999999999999]
~3.5
15 fadesound 1
titlecut ["","BLACK IN",8]

_camera camSetTarget [98961.88,-15071.68,9229.04]
_camera camSetPos [1520.16,5431.51,1.12]
_camera camSetFOV 0.135
_camera camCommit 0
_camera camSetTarget [97563.54,-22333.43,2187.65]
_camera camSetPos [1521.88,5439.22,1.12]
_camera camSetFOV 0.135
_camera camCommit 15
~3

muzes1=true

titlersc ["Prolog1","plain"]
~6
titlecut ["","BLACK OUT",4]
~4
Helione flyinheight 0
Helione move getpos Helione

_camera camSetTarget [56319.63,85625.33,23843.39]
_camera camSetPos [1563.57,5409.23,0.05]
_camera camSetFOV 0.700
_camera camCommit 0
_camera camSetTarget [97153.98,22580.36,23843.10]
_camera camSetPos [1561.71,5412.23,0.05]
_camera camSetFOV 0.700
_camera camCommit 14
~1
Helitwo flyinheight 0
Helitwo move getpos Helitwo

titlecut ["","BLACK IN",8]
~4

Deletevehicle Driver Unit1
Deletevehicle Unit1

titlersc ["Prolog2","plain"]
~4
19 fadesound 0
titlecut ["","BLACK OUT",4]
~5
titlecut ["","BLACK IN",8]

_camera camSetTarget [22252.06,102901.55,7739.38]
_camera camSetPos [1553.81,5372.21,1.60]
_camera camSetFOV 0.405
_camera camCommit 0
_camera camSetTarget [77091.69,69878.08,-11503.47]
_camera camSetPos [1552.46,5373.71,6.15]
_camera camSetFOV 0.324
_camera camCommit 16

~3
titlersc ["Prolog3","plain"]
~6
titlecut ["","BLACK OUT",4]
~6.5
;---------------------------------------------------------------ZACATEK / UVODNI CREDO
Deletevehicle Unit2

0 setfog 0

_camera camSetTarget [83859.23,59920.45,15779.24]
_camera camSetPos [1586.28,5304.43,0.05]
_camera camSetFOV 0.700
_camera camCommit 0
_camera camSetTarget [-11344.24,104456.71,-1093.21]
_camera camSetPos [1589.80,5302.99,3.20]
_camera camSetFOV 0.369
_camera camCommit 19

1 fademusic 30
Playmusic "Sirenia"
10 fadesound 1
titlecut ["","BLACK IN",5]
~2
titlersc ["Uvod","plain"]
~6
Bezte=true
~7

titlecut ["","BLACK OUT",4]
~4.7
_camera camSetTarget [26905.99,-88847.17,21526.54]
_camera camSetPos [1548.26,5464.05,0.05]
_camera camSetFOV 0.386
_camera camCommit 0

Deletevehicle Ja1
Deletevehicle Ja2

titlecut ["","BLACK IN",5]
~4
titlersc ["Down","plain"]

Helione setspeedmode "Limited"
Helione flyinheight 10
Helione move getpos Here00
~1
_camera camSetTarget [65708.79,-61321.30,37693.13]
_camera camSetPos [1534.00,5483.78,0.05]
_camera camSetFOV 0.386
_camera camCommit 15
Helitwo setspeedmode "Limited"
Helitwo flyinheight 10
Helitwo move getpos Here00
~4
Helitwo setspeedmode "Normal"
Helione setspeedmode "Normal"
~6.5
_camera camSetTarget [10513.43,104710.53,8841.74]
_camera camSetPos [1553.96,5493.18,0.05]
_camera camSetFOV 0.161
_camera camCommit 0
~4
Helione move getpos Here01
~1
Helitwo move getpos Here01

~1
titlecut ["","BLACK OUT",4]
~4.3
titlecut ["","BLACK IN",6.9]

_camera camSetTarget [95656.15,25234.57,28288.88]
_camera camSetPos [1806.29,5389.71,1.99]
_camera camSetFOV 0.700
_camera camCommit 0
_camera camSetTarget [101687.92,445.16,25.93]
_camera camSetPos [1809.93,5383.67,2.54]
_camera camSetFOV 0.594
_camera camCommit 7
~5
titlersc ["Kamera","plain"]
~2
titlecut ["","WHITE In",0.1]

_camera camSetTarget [-91026.83,18878.92,34640.32]
_camera camSetPos [1817.83,5384.46,0.89]
_camera camSetFOV 0.700
_camera camCommit 0
_camera camSetTarget [-90579.38,43239.76,-5425.12]
_camera camSetPos [1817.54,5383.51,3.70]
_camera camSetFOV 0.479
_camera camCommit 7
~5
titlecut ["","BLACK OUT",1.9]
~2
titlecut ["","BLACK IN",6.9]

Davidek setpos [10601.97,3817.37,1.01]
Davidek switchmove "OnChair"

_camera camSetTarget [-10205.40,101469.02,-5622.12]
_camera camSetPos [10561.64,3818.63,4.31]
_camera camSetFOV 0.454
_camera camCommit 0
_camera camSetTarget [98474.30,51128.41,-5618.18]
_camera camSetPos [10561.64,3818.63,9.78]
_camera camSetFOV 0.454
_camera camCommit 7
~5
titlersc ["Mise","plain"]
~2
titlecut ["","WHITE In",0.1]

_camera camSetTarget [98323.68,-26178.01,37590.09]
_camera camSetPos [10588.24,3808.80,0.05]
_camera camSetFOV 0.700
_camera camCommit 0
_camera camSetTarget [53546.25,93597.67,-9442.54]
_camera camSetPos [10590.63,3802.83,3.95]
_camera camSetFOV 0.700
_camera camCommit 7
~5
titlecut ["","BLACK OUT",2]

Pilot switchmove "FXStandSur"
Spec switchmove "FXToHand"
~2.4
titlecut ["","BLACK IN",6.9]
_camera camSetTarget [108809.43,8727.91,-16190.62]
_camera camSetPos [10190.94,7360.86,2.04]
_camera camSetFOV 0.700
_camera camCommit 0
_camera camSetTarget [37000.91,102658.41,-13760.93]
_camera camSetPos [10194.75,7352.54,2.61]
_camera camSetFOV 0.333
_camera camCommit 7
~5
titlersc ["Skript","plain"]
~2
titlecut ["","WHITE In",0.1]

_camera camSetTarget [-89355.68,7902.78,-9041.66]
_camera camSetPos [10203.88,7356.47,2.44]
_camera camSetFOV 0.245
_camera camCommit 0
_camera camSetTarget [-89136.01,8172.53,-11124.17]
_camera camSetPos [10203.91,7361.01,3]
_camera camSetFOV 0.245
_camera camCommit 7
~5
titlecut ["","BLACK OUT",2]
~2.3
titlecut ["","BLACK IN",8]
skiptime 1
_camera camSetTarget [-93030.59,-25879.26,-6133.14]
_camera camSetPos [1733.81,5454.54,0.56]
_camera camSetFOV 0.700
_camera camCommit 0
_camera camSetTarget [-40738.96,-84867.95,-6132.29]
_camera camSetPos [1733.96,5454.48,1.86]
_camera camSetFOV 0.626
_camera camCommit 17
~9
titlersc ["Prolog4","plain"]
~7.8

_camera camSetTarget [-43989.79,-83445.59,-2564.06]
_camera camSetPos [1735.10,5450.65,1.16]
_camera camSetFOV 0.700
_camera camCommit 0
_camera camSetTarget [47433.08,-79962.26,24841.34]
_camera camSetPos [1729.47,5450.21,1.14]
_camera camSetFOV 0.575
_camera camCommit 10
~10
titlecut ["","BLACK Out",4]
~4.2

12 Fademusic 0

setviewdistance 1200

nejde=true

skiptime -1

Nohy1 playmove "StandWalkF"
Nohy1 playmove "StandWalkF"
Nohy1 playmove "StandWalkF"
Nohy1 playmove "StandWalkF"
Nohy1 playmove "StandWalkF"
Nohy1 playmove "StandWalkF"
Nohy1 playmove "StandWalkF"
Nohy1 playmove "StandWalkF"
Nohy1 playmove "StandWalkF"
Nohy1 playmove "StandWalkF"

titlecut ["","BLACK In",8]

_camera camSetTarget [85003.47,67138.87,-10493.32]
_camera camSetPos [7847.54,4397.61,0.64]
_camera camSetFOV 0.593
_camera camCommit 0
_camera camSetTarget [105349.14,-15170.26,-10491.68]
_camera camSetPos [7847.54,4397.61,4.52]
_camera camSetFOV 0.593
_camera camCommit 17
~3
titlersc ["Prolog5","plain"]
~10

PlayMusic "Track2"
1 Fademusic 1

BloomA switchmove "StandBase"
BloomA Setpos GetMarkerPos "Pz1"
RobB Setpos GetMarkerPos "Pz2"
titlecut ["","BLACK Out",4]
~4.2
BloomA DoWatch [(GetPos Vulcan1 select 0),(GetPos Vulcan1 select 1),1.7]
RobB DoWatch [(GetPos Vulcan1 select 0),(GetPos Vulcan1 select 1),1.7]
titlecut ["","BLACK In",8]

_camera camSetTarget [7963.83,4383.67,0.01]
_camera camSetPos [8175.82,4439.76,6.84]
_camera camSetFOV 0.700
_camera camCommit 0
_camera camSetTarget [7963.83,4383.67,-0.02]
_camera camSetPos [8171.29,4454.72,3.33]
_camera camSetFOV 0.308
_camera camCommit 20
~2
titlersc ["Prolog6","plain"]
~10
titlecut ["","BLACK Out",4]
~4.35
titlecut ["","BLACK In",8]
;#sarge

;1 fadesound 1
3.5 fademusic 0.2


BloomA SetMimic "Normal"

_camera camSetTarget [88896.38,-42430.37,10482.39]
_camera camSetPos [1718.87,5431.03,1.24]
_camera camSetFOV 0.295
_camera camCommit 0
~3.5
_camera camSetTarget [96607.91,35206.04,10482.28]
_camera camSetPos [1718.53,5429.65,1.24]
_camera camSetFOV 0.237
_camera camCommit 4

RobB say "Rb_Say1"
titletext [Localize "STR_veta_1","PLAIN DOWN",0.25]
~4
BloomA say "Ed_Say1"
titletext [Localize "STR_veta_2","PLAIN DOWN",0.25]
~2.5
_camera camSetTarget [-52993.82,88331.57,11566.83]
_camera camSetPos [1722.43,5428.58,1.15]
_camera camSetFOV 0.366
_camera camCommit 0
_camera camSetTarget [-46911.54,92800.38,793.07]
_camera camSetPos [1723.20,5427.20,1.31]
_camera camSetFOV 0.366
_camera camCommit 20

RobB say "Rb_Say2"
titletext [Localize "STR_veta_3","PLAIN DOWN",0.35]
~3.5
BloomA say "Ed_Say2"
BloomA DoWatch [(GetPos RobB select 0),(GetPos RobB select 1),1.7]
titletext [Localize "STR_veta_4","PLAIN DOWN",0.32]
~3.2
5 Fademusic 1

RobB playmove "StandWalkF"
RobB playmove "StandWalkF"
RobB playmove "StandWalkF"
RobB playmove "StandWalkF"
RobB playmove "StandWalkF"
RobB playmove "StandWalkF"
~3
BloomA DoWatch [(GetPos Vulcan1 select 0),(GetPos Vulcan1 select 1),1.7]
~3
BloomA DoWatch [(GetPos Bird09 select 0),(GetPos Bird09 select 1),1.7]
titlecut ["","BLACK Out",3]
~0.7
BloomA playmove "StandWalkF"
BloomA playmove "StandWalkF"
BloomA playmove "StandWalkF"
BloomA playmove "StandWalkF"
~2.6
titlecut ["","BLACK In",6.5]

0 setfog 0
skiptime -0.4

Deletevehicle BloomA
Deletevehicle RobB
Deletevehicle JohnA
Deletevehicle WillA

setacctime 1

setviewdistance 1100

RobC moveindriver Bird07
BloomC moveindriver Bird06
WillC moveindriver Bird05
JohnC moveindriver Bird04

[Svetlice, "FlareGreen"] exec "Flareone.sqs"

_camera camSetTarget [60143.85,66262.18,53387.55]
_camera camSetPos [1582.99,5243.28,3.96]
_camera camSetFOV 0.573
_camera camCommit 0
_camera camSetTarget [67052.59,77742.14,21420.19]
_camera camSetPos [1586.27,5240.40,3.96]
_camera camSetFOV 0.573
_camera camCommit 15

Bird07 animate ["Canopy" ,1]
Bird06 animate ["Canopy" ,1]
Bird05 animate ["Canopy" ,1]
Bird04 animate ["Canopy" ,1]

~19

skiptime 0.4

Deletevehicle BloomA
Deletevehicle RobB
Deletevehicle JohnA
Deletevehicle WillA

_camera camSetTarget [91805.71,-37537.91,5627.06]
_camera camSetPos [1588.19,5233.90,3.06]
_camera camSetFOV 0.700
_camera camCommit 0
_camera camSetTarget [76471.71,-60804.10,5627.51]
_camera camSetPos [1589.03,5235.39,3.06]
_camera camSetFOV 0.700
_camera camCommit 100
~2
Bird07 setfuel 1
~7
_camera camSetTarget [-87284.46,51060.03,25.19]
_camera camSetPos [1600.85,5240.78,2.00]
_camera camSetFOV 0.700
_camera camCommit 0
_camera camSetTarget [-91518.95,-31205.71,25.38]
_camera camSetPos [1601.42,5244.23,2.00]
_camera camSetFOV 0.700
_camera camCommit 30
Bird06 setfuel 1
~15
_camera camSetTarget [-46385.12,-82478.52,26.07]
_camera camSetPos [1592.45,5260.95,3.73]
_camera camSetFOV 0.700
_camera camCommit 0
_camera camSetTarget [-16655.17,-93059.81,25.58]
_camera camSetPos [1591.36,5262.84,3.73]
_camera camSetFOV 0.700
_camera camCommit 15
Bird05 setfuel 1
~15
_camera camSetTarget [100732.82,-1004.05,11445.73]
_camera camSetPos [1585.69,5271.84,3.42]
_camera camSetFOV 0.700
_camera camCommit 0
_camera camSetTarget [18335.42,-92759.56,-10348.97]
_camera camSetPos [1556.63,5274.29,12.36]
_camera camSetFOV 0.700
_camera camCommit 15
Bird04 setfuel 1
~11
titlecut ["","BLACK Out",4]
~4.2
titlecut ["","BLACK In",8]

_camera camSetTarget [88058.96,-45255.21,2574.24]
_camera camSetPos [1514.25,4782.75,0.05]
_camera camSetFOV 0.700
_camera camCommit 0
_camera camSetTarget [45226.51,94333.11,-8193.68]
_camera camSetPos [1514.92,4768.77,5.87]
_camera camSetFOV 0.700
_camera camCommit 19
~19
setacctime 1
_camera camSetTarget [6413.96,104506.88,7320.47]
_camera camSetPos [1523.39,4893.39,0.83]
_camera camSetFOV 0.293
_camera camCommit 0
_camera camSetTarget [8864.44,104356.27,7320.44]
_camera camSetPos [1519.57,4891.60,0.83]
_camera camSetFOV 0.293
_camera camCommit 100

@letim

_camera camSetTarget Bird07
_camera camSetPos [1502.69,5661.40,0.5]
_camera camSetFOV 0.476
_camera camCommit 0
~8
[Bird07] exec "Gear2.sqs"
~6
Bird07 setpos[(getpos Bird07 select 0),(getpos Bird07 select 1),150]

_camera = "camera" camcreate [0,0.46,0]
_camera cameraEffect ["internal","back"]

setacctime 1

_who = Bird06
_dx = +12;
_dy = +8;
_dz = +2;

#znovu1
_camera camSetTarget Bird06
_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.5
_camera camCommit 0
@camCommitted _camera
~0.01
? interend1: goto "opakuj1"
goto "znovu1"
#opakuj1

setacctime 0.7

_camera camSetTarget [-36700.93,97691.98,6691.27]
_camera camSetPos [1545.95,5535.75,4.11]
_camera camSetFOV 0.5
_camera camCommit 0
_camera camSetTarget Bird06
_camera camSetPos [1549.11,5536.26,7.47]
_camera camSetFOV 0.4
_camera camCommit 9

~5
[Bird06] exec "Gear2.sqs"
~4

setacctime 1
Bird06 setpos[(getpos Bird06 select 0),(getpos Bird06 select 1),150]

_camera = "camera" camcreate [0,0.46,0]
_camera cameraEffect ["internal","back"]
_who = Bird05
_dx = +40;
_dy = +1;
_dz = 4;
#znovu2
_camera camSetTarget Bird04
_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.2
_camera camCommit 0
@camCommitted _camera
~0.01
? interend2: goto "opakuj2"
goto "znovu2"
#opakuj2

_camera camSetTarget Bird05
_camera camSetPos [1597.98,5484.30,39.76]
_camera camSetFOV 0.6
_camera camCommit 0
_camera camSetTarget Bird05
_camera camSetPos [1491.46,5615.12,39.76]
_camera camSetFOV 0.6
_camera camCommit 10
~5
[Bird05] exec "Gear2.sqs"
~5
titlecut ["","BLACK Out",4]
~4

SKIPTIME 0.75

titlecut ["","BLACK In",1.5]
setviewdistance 1200

;Vedouci - zdrojovy stroj (Roberts)
FlyD setpos [1789.11,8179.36,30]

;Bloom
FlyA setpos [(getpos FlyD select 0)+12,(getpos FlyD select 1)-27,(getpos FlyD select 2)-9]
;Sant
FlyB setpos [(getpos FlyD select 0)+6,(getpos FlyD select 1)+27,(getpos FlyD select 2)+3]
;Mack
FlyC setpos [(getpos FlyD select 0)+17,(getpos FlyD select 1)+52,(getpos FlyD select 2)-10]

setacctime 0.5

_camera camSetTarget [101012.97,1821.88,2.27]
_camera camSetPos [1248.86,8628.07,2.27]
_camera camSetFOV 0.700
_camera camCommit 0
@camCommitted _camera

_camera camSetTarget FlyC
_camera camSetPos [1246.90,8614.18,7.07]
_camera camSetFOV 0.455
_camera camCommit 4
@camCommitted _camera

_camera camSetTarget FlyC
_camera camSetPos [1289.25,8598.08,41.91]
_camera camSetFOV 0.105
_camera camCommit 8
@camCommitted _camera

_camera camSetTarget FlyD
_camera camSetPos [959.10,9447.36,45]
_camera camSetFOV 0.155
_camera camCommit 9
~9
FlyD move getpos tady
FlyA move getpos tady
FlyC move getpos tady
FlyB move getpos tady
@camCommitted _camera

_camera camSetTarget FlyD
_camera camSetPos [613.56,10106.10,55]
_camera camSetFOV 0.155
_camera camCommit 8.7


7.6 Fadesound 0

~6
titlecut ["","BLACK Out",1.5]

;=====================================================================================
;===================================Nalet na most=====================================
;=====================================================================================
#sarge
~1.6

14.6 Fadesound 1

setviewdistance 1500

Deletevehicle FlyD
Deletevehicle FlyC
Deletevehicle FlyB
Deletevehicle FlyA

setacctime 0.7

titlecut ["","BLACK In",8]

Blue1 setpos [7510.52,8173.88,30]

Blue2 setpos [7464.05,8209.84,30]

Blue3 setpos [7425.39,8248.55,30]

Blue4 setpos [7386.88,8279.50,30]

0 fadesound 0.07
Blue1 flyinheight 30
Blue2 flyinheight 32
Blue3 flyinheight 34
Blue4 flyinheight 36

deletevehicle Nohy1

titlecut ["","BLACK In",8]

_camera = "camera" camcreate [0,0.46,0]
_camera cameraEffect ["internal","back"]
_who = Blue1
_x = -35;
_y = -35;
_z = 10;
_i = 0;
#loop3
_camera camSetTarget _who
_camera camSetPos [(getpos _who select 0) + (cos _i * _x), (getpos _who select 1) + (sin _i * _y), (getpos _who select 2) + (_z)]
_camera camSetFOV 0.3
_camera camCommit 0
@camCommitted _camera
_i = _i + 0.47
~0.01

? interend4 : goto "pryc3"
goto "loop3"
#pryc3

_camera say "Rb_Say3"

titletext [Localize "STR_veta_5","PLAIN DOWN",0.15]
odpocet1=true

;_camera = "camera" camcreate [0,0.46,0]
;_camera cameraEffect ["internal","back"]
_who = Blue1
_dx = +7;
_dy = -2;
_dz = +4.3;
#znovu5
_camera camSetTarget [(getpos Blue1 select 0)+2,(getpos Blue1 select 1)-2,(getpos Blue1 select 2)+4]
_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.3
_camera camCommit 0
@camCommitted _camera
~0.01
? interend5: goto "opakuj5"
goto "znovu5"
#opakuj5

0 fademusic 1
PlayMusic "7thDecide"

Blue2 flyinheight 200
Blue3 flyinheight 200
Blue4 flyinheight 200

Blue1 setspeedmode "Normal"
Blue2 setspeedmode "Normal"
Blue3 setspeedmode "Normal"
Blue4 setspeedmode "Normal"

setacctime 0.75

odpocet2=true

;_camera = "camera" camcreate [0,0.46,0]
;_camera cameraEffect ["internal","back"]
_who = Blue1
_dx = -210;
_dy = -3;
_dz = +5;
#znovu6
_camera camSetTarget Blue1
_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.25
_camera camCommit 0
@camCommitted _camera
~0.01
? interend6: goto "opakuj6"
goto "znovu6"
#opakuj6

[] exec "Bluetrasa.sqs"

Deletevehicle Ural

;=====================================================================================
;-----------------------------------Rozjezd konvoje===================================
;=====================================================================================

Cil01 setpos getmarkerpos "Ar1"
Cil02 setpos getmarkerpos "Ar2"
Cil03 setpos getmarkerpos "Ar3"
Cil04 setpos getmarkerpos "Ar4"
Cil05 setpos getmarkerpos "Ar5"

Cil01 setdir 90
Cil02 setdir 96
Cil03 setdir 100
Cil04 setdir 100
Cil05 setdir 100

_camera camSetTarget [7273.11,107022.20,58.83]
_camera camSetPos [8150.82,7026.05,7.60]
_camera camSetFOV 0.2
_camera camCommit 0

_camera camSetTarget Blue1
_camera camSetPos [8150.82,7026.05,29.43]
_camera camSetFOV 0.1
_camera camCommit 2
@camCommitted _camera

@prulet2

_camera camSetTarget [36491.57,100087.62,-4982.98]
_camera camSetPos [7847.49,4408.50,1.62]
_camera camSetFOV 0.343
_camera camCommit 0
_camera camSetTarget Blue1_1
_camera camSetPos [7849.26,4408.94,1.60]
_camera camSetFOV 0.28
_camera camCommit 5
~6
4 Fademusic 0.2
~4
titletext [Localize "STR_veta_6","PLAIN DOWN",0.4]

_camera say "Rb_Say4"

Deletevehicle Gunsilka

Sh1 assignasgunner Silka
[Sh1] OrderGetIn true
Sh2 assignascommander Silka
[Sh2] OrderGetIn true
Sh3 assignasdriver Silka
[Sh3] OrderGetIn true

~3
4 Fademusic 1

_camera camSetTarget [-27595.25,-88621.39,7403.70]
_camera camSetPos [8330.01,4411.52,0.10]
_camera camSetFOV 0.210
_camera camCommit 0
_camera camSetTarget [80732.16,-63407.03,12587.66]
_camera camSetPos [8321.72,4410.52,0.53]
_camera camSetFOV 0.210
_camera camCommit 4
~3.95
_camera camSetTarget [-89639.39,21549.10,-10357.74]
_camera camSetPos [8330.11,4405.97,1.09]
_camera camSetFOV 0.093
_camera camCommit 0
~1.4

Op1 dofire silka
setacctime 0.05

~0.2

_camera camSetTarget [57705.95,91174.98,3331.56]
_camera camSetPos [8135.94,4388.82,10.00]
_camera camSetFOV 0.365
_camera camCommit 0
_camera camSetTarget [64238.00,87099.84,3331.50]
_camera camSetPos [8127.67,4391.58,14.80]
_camera camSetFOV 0.385
_camera camCommit 2.5

setacctime 0.2

~0.5
Silka setdamage 1
1.75 Fademusic 0.2
~1.75
_camera say "Jh_Say1"
titletext [Localize "STR_veta_7","PLAIN DOWN",0.22]

Cil01 setdir 90
Cil02 setdir 96
Cil03 setdir 100
Cil04 setdir 100
Cil05 setdir 100

setacctime 0.4

Blue2 setpos [(getpos Modry1 select 0),(getpos Modry1 select 1),+70]
Blue3 setpos [(getpos Modry2 select 0),(getpos Modry2 select 1),+73]
Blue4 setpos [(getpos Modry3 select 0),(getpos Modry3 select 1),+67]

Blue2 setvelocity [0,-50,0]
Blue3 setvelocity [0,-50,0]
Blue4 setvelocity [0,-50,0]

Blue2 setcombatmode "Blue"
Blue3 setcombatmode "Blue"
Blue4 setcombatmode "Blue"

Blue2 setdir 180
Blue3 setdir 180
Blue4 setdir 180

Blue2 flyinheight 70
Blue3 flyinheight 73
Blue4 flyinheight 67

Blue2 setspeedmode "Limited"
Blue3 setspeedmode "Limited"
Blue4 setspeedmode "Limited"

setviewdistance 1800

[] exec "Bridge.sqs"

;Mrd silka
_who = Blue2
_dx = -30;
_dy = 5;
_dz = +6;
#znovu7
_camera camSetTarget Bunkr1
_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.15
_camera camCommit 0
@camCommitted _camera
~0.01
? interend7: goto "opakuj7"
goto "znovu7"
#opakuj7

1 Fadesound 1

Blue2 setpos [(getpos Modry1 select 0),(getpos Modry1 select 1),+70]
Blue3 setpos [(getpos Modry2 select 0),(getpos Modry2 select 1),+73]
Blue4 setpos [(getpos Modry3 select 0),(getpos Modry3 select 1),+67]
Blue2 setvelocity [0,-42,0]
Blue3 setvelocity [0,-42,0]
Blue4 setvelocity [0,-42,0]
Blue2 setdir 180
Blue3 setdir 180
Blue4 setdir 180
Blue2 flyinheight 18
Blue3 flyinheight 22
Blue4 flyinheight 24

;Klesaji
_camera camSetTarget Blue2
_camera camSetPos [7862.92,5087.54,1.91]
_camera camSetFOV 0.294
_camera camCommit 0
_camera camSetTarget Blue3
_camera camSetPos [8081.87,4993.50,13.17]
_camera camSetFOV 0.294
_camera camCommit 8
~4
2 Fademusic 0.2
~2
_camera say "Jh_Say2"
titletext [Localize "STR_veta_8","PLAIN DOWN",0.22]

[Blue2] exec "Rocket57.sqs"
~0.5

[Blue3] exec "Rocket57.sqs"
~1.5

Blue2 setpos [(getpos Modry1_1 select 0),(getpos Modry1_1 select 1),+15.5]
Blue3 setpos [(getpos Modry2_1 select 0),(getpos Modry2_1 select 1),+16]
Blue4 setpos [(getpos Modry3_1 select 0),(getpos Modry3_1 select 1),+15.5]
Blue2 setvelocity [0,-62,0]
Blue3 setvelocity [0,-62,0]
Blue4 setvelocity [0,-62,0]
Blue2 flyinheight 15.5
Blue3 flyinheight 16
Blue4 flyinheight 15.5

pocitej=true
_camera say "Ed_say3"
titletext [Localize "STR_veta_9","PLAIN DOWN",0.1]

1 Fademusic 1

;Odpalovace raket, detail
_who = Blue3
_dx = +6;
_dy = -8;
_dz = +3.5;
#znovu8
_camera camSetTarget [(getpos Blue3 select 0)+0,(getpos Blue3 select 1)-2.5,(getpos Blue3 select 2)+0]
_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.4
_camera camCommit 0
@camCommitted _camera
~0.01
? interend8: goto "opakuj8"
goto "znovu8"
#opakuj8

;Letici rakety
setacctime 0.035
_camera camSetTarget [9035.30,104838.99,-363.33]
_camera camSetPos [7996.38,4881.28,14.21]
_camera camSetFOV 0.099
_camera camCommit 0
_camera camSetTarget [-5268.28,-94293.88,-364.07]
_camera camSetPos [8060.33,4807.74,16.06]
_camera camSetFOV 0.295
_camera camCommit 2.2

[Blue4] exec "Rocket57.sqs"
~0.298
Cil01 setpos [8043.92,4391.33,20.35]

Cil02 setpos [8017.13,4392.22,19]
Cil02 setvelocity [0,0,0]
Cil02 stop true

Cil03 setpos [7983.51,4391.69,19]
Cil03 setvelocity [0,0,0]
Cil03 stop true

Cil04 setpos [7953.70,4392.22,19]
Cil04 setvelocity [0,0,0]
Cil04 stop true

Cil05 setpos [7929.19,4392.02,19]
Cil05 setvelocity [0,0,0]
Cil05 stop true

~0.02
;T72 to koupi
Blue2 setpos [(getpos Modry1_2 select 0),(getpos Modry1_2 select 1),+15.5]
Blue3 setpos [(getpos Modry2_2 select 0),(getpos Modry2_2 select 1),+16]
Blue4 setpos [(getpos Modry3_2 select 0),(getpos Modry3_2 select 1),+15.5]

setacctime 0.1

_camera camSetTarget [100592.43,-33409.82,6.37]
_camera camSetPos [8012.29,4409.52,18.72]
_camera camSetFOV 0.273
_camera camCommit 0
_camera camSetTarget [83402.95,-61283.76,-211.37]
_camera camSetPos [8019.08,4421.78,21.21]
_camera camSetFOV 0.342
_camera camCommit 3

Cil01 stop true
Cil01 setfuel 0
Cil01 setvelocity [5,0,0]

_raketa = "Rocket57" camCreate [(getPos Cil01 select 0)-0.8, (getPos Cil01 select 1)+160, (getPos Height select 2)+18.95]
_raketa setdir 180

_raketa = "Rocket57" camCreate [(getPos Cil01 select 0)+0.5, (getPos Cil01 select 1)+70, (getPos Height select 2)+18.88]
_raketa setdir 180

Cil01 setvelocity [5,0,0]
~0.2

_raketa = "Rocket57" camCreate [(getPos Cil01 select 0)-0.8, (getPos Cil01 select 1)+120, (getPos Height select 2)+18.75]
_raketa setdir 180

Cil01 setvelocity [5,0,0]
~0.2

_raketa = "Rocket57" camCreate [(getPos Cil01 select 0)-0.8, (getPos Cil01 select 1)+150, (getPos Height select 2)+18.65]
_raketa setdir 180

Cil01 setvelocity [5,0,0]
~0.2

_raketa = "Rocket57" camCreate [(getPos Cil01 select 0)+0.8, (getPos Cil01 select 1)+50, (getPos Height select 2)+18.73]
_raketa setdir 180

Cil01 setvelocity [5,0,0]

_raketa = "Rocket57" camCreate [(getPos Cil01 select 0)-0.5, (getPos Cil01 select 1)+90, (getPos Height select 2)+18.78]
_raketa setdir 180

Cil01 setvelocity [5,0,0]
~0.2

;Zaber na most
_camera camSetTarget [-88472.05,27467.50,-11616.28]
_camera camSetPos [8127.24,4381.19,24.88]
_camera camSetFOV 0.300
_camera camCommit 0
_camera camSetTarget [-82427.33,39668.14,-23511.09]
_camera camSetPos [8121.84,4363.52,37.00]
_camera camSetFOV 0.280
_camera camCommit 1.2

Cil01 setdamage 1
Cil01 setvelocity [5,0,0]

~1.2
;Zaber ma most2 (Vybuch cisterny)

_camera camSetTarget [106626.95,18412.68,6553.45]
_camera camSetPos [7832.62,4377.71,0.93]
_camera camSetFOV 0.625
_camera camCommit 0
_camera camSetTarget [103228.57,-16766.06,21265.25]
_camera camSetPos [7832.10,4404.19,2.06]
_camera camSetFOV 0.625
_camera camCommit 3

~0.1
"Heat73" CamCreate GetPos Cil02
~0.4
Driver cil03 Setdamage 1
Driver cil04 SetDamage 1
Driver cil05 SetDamage 1

Cil02 setdamage 1
Simulant setpos [(getPos Cil02 select 0)+0, (getPos Cil02 select 1)+0, (getPos Height select 2)+20]
[Simulant] exec "\effectpack\fuelleffect\init.sqs"
Simulant setdamage 1

~1.8
Blue2 setpos [(getpos Modry1_3 select 0),(getpos Modry1_3 select 1),+15.5]
Blue3 setpos [(getpos Modry2_3 select 0),(getpos Modry2_3 select 1),+16]
Blue4 setpos [(getpos Modry3_3 select 0),(getpos Modry3_3 select 1),+15.5]

Pokracuj=true

_camera camSetTarget [28023.69,-93315.98,5.73]
_camera camSetPos [7965.67,4651.75,7.40]
_camera camSetFOV 0.356
_camera camCommit 0
_camera camSetTarget Blue4
_camera camSetPos [8001.77,4393.00,70]
_camera camSetFOV 0.306
_camera camCommit 4.4
~4.35

setacctime 0.5

BlueH setdir 0
BlueH setvelocity [0,50,0]
BlueH setpos [(getpos BlueL select 0),(getpos BlueL select 1),+60]
BlueH setcombatmode "Blue"
BlueH flyinheight 80

;Prulet kolem RB v pozadi by mel zbytek BSq
_camera camSetTarget [258.58,102807.16,9499.19]
_camera camSetPos [8184.57,3571.81,65]
_camera camSetFOV 0.608
_camera camCommit 0
_camera camSetTarget NA
_camera camSetPos [8222.36,4054.71,80]
_camera camSetFOV 0.608
_camera camCommit 7.85

4.5 Fademusic 0.2

~4.5

#testxy

[] exec "Intro2.sqs"
EXIT