VoiceOver uscaptain_47.wav 12908 3 VoiceOver uscaptain_48.wav 12909 3 VoiceOver cag_128.wav 12910 4 VoiceOver cag_129.wav 12911 6 VoiceOver uscaptain_49.wav 12912 2 VoiceOver cag_131.wav 12913 4 VoiceOver cag_130.wav 12914 5 VoiceOver cag_132.wav 12915 5 VoiceOver uscaptain_50.wav 12916 5 VoiceOver cag_133.wav 12917 5 VoiceOver uscaptain_51.wav 12918 1 VoiceOver cag_134.wav 12919 13 VoiceOver cag_135.wav 12921 5 VoiceOver uscaptain_52.wav 12922 4 VoiceOver cag_136.wav 12923 9 VoiceOver cag_137.wav 12924 9 VoiceOver uscaptain_53.wav 12925 7 VoiceOver usc2_battle5.wav 12930 -1 /* ------------------- Ally fleet ------------------- */ Ship 0 Add ships/enterprise.ini 4881.572266 0.217395 -3725.806885 0.000000 1 Ship 0 AddPoint 3881.572266 0.217395 25725.00 Ship 1 Add ships/arizona.ini 4180.281494 0.683243 -2795.576904 0.000000 1 Ship 1 AddPoint 3180.281494 0.683243 25725.00 Ship 2 Add ships/neworleans.ini 5366.592285 0.683243 -4658.052734 0.000000 1 Ship 2 AddPoint 4366.592285 0.683243 25725.00 Ship 3 Add ships/atlanta.ini 4528.693359 0.683243 -4507.462402 0.000000 1 Ship 3 AddPoint 3528.693359 0.683243 25725.00 Ship 4 Add ships/mahan.ini 5300.178223 0.683243 -2862.789063 0.000000 1 Ship 4 AddPoint 4300.178223 0.683243 25725.00 Ship 5 Add ships/mahan.ini 5799.455078 0.683243 -3463.686768 0.000000 1 Ship 5 AddPoint 4799.455078 0.683243 25725.00 Ship 6 Add ships/mahan.ini 5129.937012 0.683243 -5184.124023 0.000000 1 Ship 6 AddPoint 4129.937012 0.683243 25725.00 Ship 7 Add ships/mahan.ini 4678.901123 0.683243 -2260.370361 0.000000 1 Ship 7 AddPoint 3678.901123 0.683243 25725.00 Ship 8 Add ships/mahan.ini 5131.621094 0.683243 -2099.755615 0.000000 1 Ship 8 AddPoint 4131.621094 0.683243 25725.00 Ship 9 Add ships/mahan.ini 3923.308838 0.683243 -3708.233398 0.000000 1 Ship 9 AddPoint 2923.308838 0.683243 25725.00 SetHomePoint 8880.401367 200.217395 -8987.996094 /* Ship 25 SetTowersPercentWorking 0.25 0 Ship 25 SetTowersPercentWorking 0.25 1 Ship 13 SetPlaneScout 1 -1 50 */ /* ------------------- Chicago ------------------- */ Ship 10 Add ships/neworleans_nofire.ini -2944.864258 0.683243 917.886841 0.287578 1 Ship 11 Add ships/mahan.ini -3111.110840 0.683243 1496.708374 0.287578 1 Ship 12 Add ships/mahan.ini -2408.593994 0.683243 1250.054077 0.287578 1 Ship 13 Add ships/mahan.ini -2721.595703 0.683243 368.640900 0.287578 1 Ship 14 Add ships/fletcher.ini -2629.622314 0.683243 1857.988159 0.287578 1 Ship 15 Add ships/fletcher.ini -3645.760498 0.683243 705.677429 0.287578 1 Ship 10 SetDestroyed 0.25 Ship 10 SetPlaneScout 1 -1 50 Ship 11 SetPlaneScout 1 -1 50 Ship 12 SetPlaneScout 1 -1 50 Ship 13 SetPlaneScout 1 -1 50 Ship 14 SetPlaneScout 1 -1 50 Ship 15 SetPlaneScout 1 -1 50 Ship 10 SetTowersPercentWorking 0.35 0 Ship 10 SetTowersPercentWorking 0.35 1 Ship 11 SetTowersPercentWorking 0.55 0 Ship 11 SetTowersPercentWorking 0.55 1 Ship 12 SetTowersPercentWorking 0.55 0 Ship 12 SetTowersPercentWorking 0.55 1 Ship 13 SetTowersPercentWorking 0.55 0 Ship 13 SetTowersPercentWorking 0.55 1 Ship 14 SetTowersPercentWorking 0.55 0 Ship 14 SetTowersPercentWorking 0.55 1 Ship 15 SetTowersPercentWorking 0.35 0 Ship 15 SetTowersPercentWorking 0.35 1 /* ------------------- Squadron ------------------- */ Plane 0 LoadPlayerWave 0 4887.017578 25.876003 -3863.105469 0.000000 1 Plane 1 LoadPlayerWave 0 4853.180664 160.579407 -3563.306396 -0.012441 1 Plane 1 SetDogfightExperience 2 Plane 1 SetBombingExperience 3 Plane 1 AddScoutPoint 4747.780518 160.579407 -2658.217041 Plane 1 AddScoutPoint 5174.984375 160.579407 -1961.930786 Plane 1 AddScoutPoint 5930.067871 160.579407 -1754.463379 Plane 1 AddScoutPoint 6586.908691 160.579407 -2717.628174 Plane 1 AddScoutPoint 6391.831543 160.579407 -3619.169678 Plane 1 AddScoutPoint 5226.990234 160.579407 -4078.340332 Plane 1 SetDogfightMode Plane 2 LoadPlayerWave 0 4883.071533 164.832886 -3579.418213 0.008262 1 Plane 2 SetDogfightExperience 4 Plane 2 SetBombingExperience 3 Plane 2 BindToSquadron 1 Plane 3 LoadPlayerWave 0 4912.510986 168.888260 -3593.532959 0.008262 1 Plane 3 SetDogfightExperience 2 Plane 3 SetBombingExperience 3 Plane 3 BindToSquadron 1 Plane 4 LoadPlayerWave 0 4942.347412 165.078461 -3605.079590 0.008262 1 Plane 4 SetDogfightExperience 2 Plane 4 SetBombingExperience 3 Plane 4 BindToSquadron 1 Plane 5 LoadPlayerWave 0 4970.392822 170.244568 -3619.349854 0.008262 1 Plane 5 SetDogfightExperience 3 Plane 5 SetBombingExperience 3 Plane 5 BindToSquadron 1 Plane 6 LoadPlayerWave 0 4830.428711 163.906662 -3583.132080 0.008262 1 Plane 6 SetDogfightExperience 2 Plane 6 SetBombingExperience 3 Plane 6 BindToSquadron 1 Plane 7 LoadPlayerWave 0 4801.418701 167.714493 -3602.931152 0.008262 1 Plane 7 SetDogfightExperience 3 Plane 7 SetBombingExperience 3 Plane 7 BindToSquadron 1 Plane 8 LoadPlayerWave 0 4776.613037 165.582123 -3621.993652 0.008262 1 Plane 8 SetDogfightExperience 2 Plane 8 SetBombingExperience 3 Plane 8 BindToSquadron 1 Plane 9 LoadPlayerWave 0 4756.036377 162.249344 -3643.412354 0.008262 1 Plane 9 SetDogfightExperience 5 Plane 9 SetBombingExperience 3 Plane 9 BindToSquadron 1 Player.AddToWave 0 Player.AddToWave 1 Player.AddToWave 2 Player.AddToWave 3 Player.AddToWave 4 Player.AddToWave 5 Player.AddToWave 6 Player.AddToWave 7 Player.AddToWave 8 Player.AddToWave 9 Player.SetToNextPlaneInWave Player.ToCarrier 4887.017578 25.876003 -3863.105469 0.000000 Player.AllowSwitch 0 /* ------------------- Enemy bombers ------------------- */ Plane 10 Load planes/ki45/1.ini 6868.969971 352.433777 6712.422363 4.131493 0 Plane 10 SetBombingExperience 4 Plane 10 SetDogfightExperience 2 Plane 10 SetStaticBombingMode Plane 11 Load planes/ki45/1.ini 6821.654053 356.603882 6733.485352 4.131493 0 Plane 11 SetBombingExperience 4 Plane 11 SetDogfightExperience 2 Plane 11 SetStaticBombingMode Plane 12 Load planes/ki45/1.ini 6831.933105 359.572266 6783.921875 4.131493 0 Plane 12 SetBombingExperience 4 Plane 12 SetDogfightExperience 2 Plane 12 SetStaticBombingMode Plane 13 Load planes/ki45/1.ini 6780.921631 362.841339 6798.962891 4.131493 0 Plane 13 SetBombingExperience 4 Plane 13 SetDogfightExperience 2 Plane 13 SetStaticBombingMode Plane 14 Load planes/ki45/1.ini 6785.836426 367.685211 6842.283203 4.131493 0 Plane 14 SetBombingExperience 4 Plane 14 SetDogfightExperience 2 Plane 14 SetStaticBombingMode Plane 15 Load planes/ki45/1.ini 6743.552246 370.116180 6868.546143 4.131493 0 Plane 15 SetBombingExperience 4 Plane 15 SetDogfightExperience 2 Plane 15 SetStaticBombingMode Plane 10 SetStaticTarget -2963.693604 370.116180 851.463379 Plane 11 SetStaticTarget -2949.490967 370.116180 891.378540 Plane 12 SetStaticTarget -2939.734375 370.116180 931.532532 Plane 13 SetStaticTarget -2931.493652 370.116180 961.304993 Plane 14 SetStaticTarget -2922.646973 370.116180 995.732727 Plane 15 SetStaticTarget -2907.904785 370.116180 1032.128784 Plane 10 SetActive 0 Plane 11 SetActive 0 Plane 12 SetActive 0 Plane 13 SetActive 0 Plane 14 SetActive 0 Plane 15 SetActive 0 Plane 10 SetCheckOutOfBounds 0 Plane 11 SetCheckOutOfBounds 0 Plane 12 SetCheckOutOfBounds 0 Plane 13 SetCheckOutOfBounds 0 Plane 14 SetCheckOutOfBounds 0 Plane 15 SetCheckOutOfBounds 0 Plane 20 Load planes/ki45/1.ini 6868.969971 352.433777 6712.422363 4.131493 0 Plane 20 SetBombingExperience 4 Plane 20 SetDogfightExperience 2 Plane 20 SetStaticBombingMode Plane 21 Load planes/ki45/1.ini 6821.654053 356.603882 6733.485352 4.131493 0 Plane 21 SetBombingExperience 4 Plane 21 SetDogfightExperience 2 Plane 21 SetStaticBombingMode Plane 22 Load planes/ki45/1.ini 6831.933105 359.572266 6783.921875 4.131493 0 Plane 22 SetBombingExperience 4 Plane 22 SetDogfightExperience 2 Plane 22 SetStaticBombingMode Plane 23 Load planes/ki45/1.ini 6780.921631 362.841339 6798.962891 4.131493 0 Plane 23 SetBombingExperience 4 Plane 23 SetDogfightExperience 2 Plane 23 SetStaticBombingMode Plane 24 Load planes/ki45/1.ini 6785.836426 367.685211 6842.283203 4.131493 0 Plane 24 SetBombingExperience 4 Plane 24 SetDogfightExperience 2 Plane 24 SetStaticBombingMode Plane 25 Load planes/ki45/1.ini 6743.552246 370.116180 6868.546143 4.131493 0 Plane 25 SetBombingExperience 4 Plane 25 SetDogfightExperience 2 Plane 25 SetStaticBombingMode Plane 20 SetStaticTarget -2963.693604 370.116180 851.463379 Plane 21 SetStaticTarget -2949.490967 370.116180 891.378540 Plane 22 SetStaticTarget -2939.734375 370.116180 931.532532 Plane 23 SetStaticTarget -2931.493652 370.116180 961.304993 Plane 24 SetStaticTarget -2922.646973 370.116180 995.732727 Plane 25 SetStaticTarget -2907.904785 370.116180 1032.128784 Plane 20 SetActive 0 Plane 21 SetActive 0 Plane 22 SetActive 0 Plane 23 SetActive 0 Plane 24 SetActive 0 Plane 25 SetActive 0 Plane 20 SetCheckOutOfBounds 0 Plane 21 SetCheckOutOfBounds 0 Plane 22 SetCheckOutOfBounds 0 Plane 23 SetCheckOutOfBounds 0 Plane 24 SetCheckOutOfBounds 0 Plane 25 SetCheckOutOfBounds 0 Plane 30 Load planes/ki45/1.ini 6868.969971 352.433777 6712.422363 4.131493 0 Plane 30 SetBombingExperience 4 Plane 30 SetDogfightExperience 2 Plane 30 SetStaticBombingMode Plane 31 Load planes/ki45/1.ini 6821.654053 356.603882 6733.485352 4.131493 0 Plane 31 SetBombingExperience 4 Plane 31 SetDogfightExperience 2 Plane 31 SetStaticBombingMode Plane 32 Load planes/ki45/1.ini 6831.933105 359.572266 6783.921875 4.131493 0 Plane 32 SetBombingExperience 4 Plane 32 SetDogfightExperience 2 Plane 32 SetStaticBombingMode Plane 33 Load planes/ki45/1.ini 6780.921631 362.841339 6798.962891 4.131493 0 Plane 33 SetBombingExperience 4 Plane 33 SetDogfightExperience 2 Plane 33 SetStaticBombingMode Plane 34 Load planes/ki45/1.ini 6785.836426 367.685211 6842.283203 4.131493 0 Plane 34 SetBombingExperience 4 Plane 34 SetDogfightExperience 2 Plane 34 SetStaticBombingMode Plane 35 Load planes/ki45/1.ini 6743.552246 370.116180 6868.546143 4.131493 0 Plane 35 SetBombingExperience 4 Plane 35 SetDogfightExperience 2 Plane 35 SetStaticBombingMode Plane 30 SetStaticTarget -2963.693604 370.116180 851.463379 Plane 31 SetStaticTarget -2949.490967 370.116180 891.378540 Plane 32 SetStaticTarget -2939.734375 370.116180 931.532532 Plane 33 SetStaticTarget -2931.493652 370.116180 961.304993 Plane 34 SetStaticTarget -2922.646973 370.116180 995.732727 Plane 35 SetStaticTarget -2907.904785 370.116180 1032.128784 Plane 30 SetActive 0 Plane 31 SetActive 0 Plane 32 SetActive 0 Plane 33 SetActive 0 Plane 34 SetActive 0 Plane 35 SetActive 0 Plane 30 SetCheckOutOfBounds 0 Plane 31 SetCheckOutOfBounds 0 Plane 32 SetCheckOutOfBounds 0 Plane 33 SetCheckOutOfBounds 0 Plane 34 SetCheckOutOfBounds 0 Plane 35 SetCheckOutOfBounds 0 Plane 40 Load planes/ki45/1.ini 6868.969971 352.433777 6712.422363 4.131493 0 Plane 40 SetBombingExperience 4 Plane 40 SetDogfightExperience 2 Plane 40 SetStaticBombingMode Plane 41 Load planes/ki45/1.ini 6821.654053 356.603882 6733.485352 4.131493 0 Plane 41 SetBombingExperience 4 Plane 41 SetDogfightExperience 2 Plane 41 SetStaticBombingMode Plane 42 Load planes/ki45/1.ini 6831.933105 359.572266 6783.921875 4.131493 0 Plane 42 SetBombingExperience 4 Plane 42 SetDogfightExperience 2 Plane 42 SetStaticBombingMode Plane 43 Load planes/ki45/1.ini 6780.921631 362.841339 6798.962891 4.131493 0 Plane 43 SetBombingExperience 4 Plane 43 SetDogfightExperience 2 Plane 43 SetStaticBombingMode Plane 44 Load planes/ki45/1.ini 6785.836426 367.685211 6842.283203 4.131493 0 Plane 44 SetBombingExperience 4 Plane 44 SetDogfightExperience 2 Plane 44 SetStaticBombingMode Plane 45 Load planes/ki45/1.ini 6743.552246 370.116180 6868.546143 4.131493 0 Plane 45 SetBombingExperience 4 Plane 45 SetDogfightExperience 2 Plane 45 SetStaticBombingMode Plane 40 SetStaticTarget -2963.693604 370.116180 851.463379 Plane 41 SetStaticTarget -2949.490967 370.116180 891.378540 Plane 42 SetStaticTarget -2939.734375 370.116180 931.532532 Plane 43 SetStaticTarget -2931.493652 370.116180 961.304993 Plane 44 SetStaticTarget -2922.646973 370.116180 995.732727 Plane 45 SetStaticTarget -2907.904785 370.116180 1032.128784 Plane 40 SetActive 0 Plane 41 SetActive 0 Plane 42 SetActive 0 Plane 43 SetActive 0 Plane 44 SetActive 0 Plane 45 SetActive 0 Plane 40 SetCheckOutOfBounds 0 Plane 41 SetCheckOutOfBounds 0 Plane 42 SetCheckOutOfBounds 0 Plane 43 SetCheckOutOfBounds 0 Plane 44 SetCheckOutOfBounds 0 Plane 45 SetCheckOutOfBounds 0 Plane 10 SetPointScoutSpeedFactor 0.74 Plane 11 SetPointScoutSpeedFactor 0.74 Plane 12 SetPointScoutSpeedFactor 0.74 Plane 13 SetPointScoutSpeedFactor 0.74 Plane 14 SetPointScoutSpeedFactor 0.74 Plane 15 SetPointScoutSpeedFactor 0.74 Plane 20 SetPointScoutSpeedFactor 0.74 Plane 21 SetPointScoutSpeedFactor 0.74 Plane 22 SetPointScoutSpeedFactor 0.74 Plane 23 SetPointScoutSpeedFactor 0.74 Plane 24 SetPointScoutSpeedFactor 0.74 Plane 25 SetPointScoutSpeedFactor 0.74 Plane 30 SetPointScoutSpeedFactor 0.74 Plane 31 SetPointScoutSpeedFactor 0.74 Plane 32 SetPointScoutSpeedFactor 0.74 Plane 33 SetPointScoutSpeedFactor 0.74 Plane 34 SetPointScoutSpeedFactor 0.74 Plane 35 SetPointScoutSpeedFactor 0.74 Plane 40 SetPointScoutSpeedFactor 0.74 Plane 41 SetPointScoutSpeedFactor 0.74 Plane 42 SetPointScoutSpeedFactor 0.74 Plane 43 SetPointScoutSpeedFactor 0.74 Plane 44 SetPointScoutSpeedFactor 0.74 Plane 45 SetPointScoutSpeedFactor 0.74 Plane 10 MultiplyLife 1.35 Plane 11 MultiplyLife 1.55 Plane 12 MultiplyLife 1.35 Plane 13 MultiplyLife 1.55 Plane 14 MultiplyLife 1.45 Plane 15 MultiplyLife 1.45 Plane 20 MultiplyLife 1.55 Plane 21 MultiplyLife 1.35 Plane 22 MultiplyLife 1.55 Plane 23 MultiplyLife 1.35 Plane 24 MultiplyLife 1.35 Plane 25 MultiplyLife 1.35 Plane 30 MultiplyLife 1.45 Plane 31 MultiplyLife 1.55 Plane 32 MultiplyLife 1.55 Plane 33 MultiplyLife 1.35 Plane 34 MultiplyLife 1.35 Plane 35 MultiplyLife 1.45 Plane 30 MultiplyLife 1.35 Plane 31 MultiplyLife 1.45 Plane 32 MultiplyLife 1.55 Plane 33 MultiplyLife 1.35 Plane 34 MultiplyLife 1.45 Plane 35 MultiplyLife 1.35 /* ---------------- New squadron -------------------- */ Plane 100 LoadPlayerWave 1 3882.049805 25.197239 -3811.290771 0.000000 1 Plane 101 LoadPlayerWave 1 3889.347900 25.197239 -3822.924561 0.000000 1 Plane 101 SetDogfightExperience 5 Plane 101 SetBombingExperience 3 Plane 101 SetOnGroundMode Plane 102 LoadPlayerWave 1 3883.301514 25.197239 -3833.752441 0.000000 1 Plane 102 SetDogfightExperience 3 Plane 102 SetBombingExperience 3 Plane 102 SetOnGroundMode Plane 103 LoadPlayerWave 1 3889.647217 25.197239 -3846.471924 0.000000 1 Plane 103 SetDogfightExperience 4 Plane 103 SetBombingExperience 3 Plane 103 SetOnGroundMode Plane 104 LoadPlayerWave 1 3881.666016 25.197239 -3860.344238 0.000000 1 Plane 104 SetDogfightExperience 3 Plane 104 SetBombingExperience 3 Plane 104 SetOnGroundMode Plane 105 LoadPlayerWave 1 3889.448730 25.197239 -3874.120361 0.000000 1 Plane 105 SetDogfightExperience 5 Plane 105 SetBombingExperience 3 Plane 105 SetOnGroundMode Plane 106 LoadPlayerWave 1 3884.689697 25.197239 -3885.688477 0.000000 1 Plane 106 SetDogfightExperience 4 Plane 106 SetBombingExperience 3 Plane 106 SetOnGroundMode Plane 107 LoadPlayerWave 1 5088.351074 84.999878 -3582.624023 -0.890387 1 Plane 107 SetDogfightExperience 5 Plane 107 SetBombingExperience 3 Plane 107 SetDogfightMode Plane 107 SetPointScoutMode 1 Plane 107 AddScoutPoint -4135.247070 299.449127 -1736.570435 Plane 108 LoadPlayerWave 1 5125.019043 84.999878 -3566.308594 -0.890387 1 Plane 108 SetDogfightExperience 3 Plane 108 SetBombingExperience 3 Plane 108 SetDogfightMode Plane 108 SetPointScoutMode 1 Plane 108 AddScoutPoint -4135.247070 299.449127 -1736.570435 Plane 108 MultiplyLife 3.5 Plane 108 SetName 189 Plane 108 DisplayName 1 Plane 100 SetActive 0 Plane 101 SetActive 0 Plane 102 SetActive 0 Plane 103 SetActive 0 Plane 104 SetActive 0 Plane 105 SetActive 0 Plane 106 SetActive 0 Plane 107 SetActive 0 Plane 108 SetActive 0 /* ------------------ Enterprise attacking planes ------------------ */ Plane 54 Load planes/ki45/1.ini -6840.923828 280.752594 -852.257813 1.570796 0 Plane 54 SetBombingExperience 4 Plane 54 SetDogfightExperience 2 Plane 54 SetStaticBombingMode Plane 55 Load planes/ki45/1.ini -6803.450684 283.796814 -894.382629 1.570796 0 Plane 55 SetBombingExperience 4 Plane 55 SetDogfightExperience 2 Plane 55 SetStaticBombingMode Plane 56 Load planes/ki45/1.ini -6827.666992 281.056580 -941.284180 1.570796 0 Plane 56 SetBombingExperience 4 Plane 56 SetDogfightExperience 2 Plane 56 SetStaticBombingMode Plane 57 Load planes/ki45/1.ini -6855.666992 284.716919 -1004.860596 1.570796 0 Plane 57 SetBombingExperience 4 Plane 57 SetDogfightExperience 2 Plane 57 SetStaticBombingMode Plane 58 Load planes/ki45/1.ini -6905.137207 287.544586 -1049.979614 1.570796 0 Plane 58 SetBombingExperience 4 Plane 58 SetDogfightExperience 2 Plane 58 SetStaticBombingMode Plane 59 Load planes/ki45/1.ini -6946.875000 283.665649 -1095.864258 1.570796 0 Plane 59 SetBombingExperience 4 Plane 59 SetDogfightExperience 2 Plane 59 SetStaticBombingMode Plane 60 Load planes/ki45/1.ini -6955.222656 286.831268 -1161.258179 1.570796 0 Plane 60 SetBombingExperience 4 Plane 60 SetDogfightExperience 2 Plane 60 SetStaticBombingMode Plane 54 SetStaticTarget 4829.468262 286.831268 -678.731018 Plane 55 SetStaticTarget 4843.026367 286.831268 -740.133362 Plane 56 SetStaticTarget 4816.829346 286.831268 -802.087524 Plane 57 SetStaticTarget 4830.604492 286.831268 -870.598572 Plane 58 SetStaticTarget 4804.351807 286.831268 -934.107849 Plane 59 SetStaticTarget 4825.523682 286.831268 -1005.180115 Plane 60 SetStaticTarget 4807.853516 286.831268 -1067.793457 Plane 61 Load planes/ki45/1.ini -6840.923828 280.752594 -852.257813 1.570796 0 Plane 61 SetBombingExperience 4 Plane 61 SetDogfightExperience 2 Plane 61 SetStaticBombingMode Plane 62 Load planes/ki45/1.ini -6803.450684 283.796814 -894.382629 1.570796 0 Plane 62 SetBombingExperience 4 Plane 62 SetDogfightExperience 2 Plane 62 SetStaticBombingMode Plane 63 Load planes/ki45/1.ini -6827.666992 281.056580 -941.284180 1.570796 0 Plane 63 SetBombingExperience 4 Plane 63 SetDogfightExperience 2 Plane 63 SetStaticBombingMode Plane 64 Load planes/ki45/1.ini -6855.666992 284.716919 -1004.860596 1.570796 0 Plane 64 SetBombingExperience 4 Plane 64 SetDogfightExperience 2 Plane 64 SetStaticBombingMode Plane 65 Load planes/ki45/1.ini -6905.137207 287.544586 -1049.979614 1.570796 0 Plane 65 SetBombingExperience 4 Plane 65 SetDogfightExperience 2 Plane 65 SetStaticBombingMode Plane 66 Load planes/ki45/1.ini -6946.875000 283.665649 -1095.864258 1.570796 0 Plane 66 SetBombingExperience 4 Plane 66 SetDogfightExperience 2 Plane 66 SetStaticBombingMode Plane 67 Load planes/ki45/1.ini -6955.222656 286.831268 -1161.258179 1.570796 0 Plane 67 SetBombingExperience 4 Plane 67 SetDogfightExperience 2 Plane 67 SetStaticBombingMode Plane 61 SetStaticTarget 4829.468262 286.831268 -678.731018 Plane 62 SetStaticTarget 4843.026367 286.831268 -740.133362 Plane 63 SetStaticTarget 4816.829346 286.831268 -802.087524 Plane 64 SetStaticTarget 4830.604492 286.831268 -870.598572 Plane 65 SetStaticTarget 4804.351807 286.831268 -934.107849 Plane 66 SetStaticTarget 4825.523682 286.831268 -1005.180115 Plane 67 SetStaticTarget 4807.853516 286.831268 -1067.793457 Plane 54 SetActive 0 Plane 55 SetActive 0 Plane 56 SetActive 0 Plane 57 SetActive 0 Plane 58 SetActive 0 Plane 59 SetActive 0 Plane 60 SetActive 0 Plane 61 SetActive 0 Plane 62 SetActive 0 Plane 63 SetActive 0 Plane 64 SetActive 0 Plane 65 SetActive 0 Plane 66 SetActive 0 Plane 67 SetActive 0 Plane 54 SetRadarSymbol -1 Plane 55 SetRadarSymbol -1 Plane 56 SetRadarSymbol -1 Plane 57 SetRadarSymbol -1 Plane 58 SetRadarSymbol -1 Plane 59 SetRadarSymbol -1 Plane 60 SetRadarSymbol -1 Plane 61 SetRadarSymbol -1 Plane 62 SetRadarSymbol -1 Plane 63 SetRadarSymbol -1 Plane 64 SetRadarSymbol -1 Plane 65 SetRadarSymbol -1 Plane 66 SetRadarSymbol -1 Plane 67 SetRadarSymbol -1 Plane 54 MultiplyLife 0.77 Plane 55 MultiplyLife 0.77 Plane 56 MultiplyLife 0.77 Plane 57 MultiplyLife 0.77 Plane 58 MultiplyLife 0.77 Plane 59 MultiplyLife 0.77 Plane 60 MultiplyLife 0.77 Plane 61 MultiplyLife 0.77 Plane 62 MultiplyLife 0.77 Plane 63 MultiplyLife 0.77 Plane 64 MultiplyLife 0.77 Plane 65 MultiplyLife 0.77 Plane 66 MultiplyLife 0.77 Plane 67 MultiplyLife 0.77 /* ------------------ For CutScene ------------------ */ Plane 87 Load planes/ki45/1.ini 2384.627075 273.554443 -815.024780 1.517167 0 Plane 87 SetBombingExperience 4 Plane 87 SetDogfightExperience 2 Plane 87 SetStaticBombingMode Plane 87 SetStaticTarget 4890.586914 273.554443 -804.738525 Plane 88 LoadPlayerWave 1 1913.476379 273.554443 -1118.164063 1.039664 1 Plane 88 SetBombingExperience 4 Plane 88 SetDogfightExperience 2 Plane 88 SetDogfightMode Plane 87 SetActive 0 Plane 88 SetActive 0 DebriefingIndex 12906 Var DefineFloat WingmensChanged Var DefineFloat Reached Var DefineFloat BombersDiscovered Var DefineFloat BombersDiscoveredPlayer Var DefineFloat BombersDiscoveredFleet Var DefineFloat BombersReached Var DefineFloat BombersReachedTime Var DefineFloat NumBombersEscaped Var DefineFloat NumBombersDestroyed Var DefineFloat TooMuchEscaped Var DefineFloat BombersDestroyed Var DefineFloat TempVariable Var DefineFloat TakingOffPlanes Var DefineFloat TakingOffPlanesTime Var DefineFloat PlayerReached Var DefineFloat NumFightersDestroyed Var DefineFloat FightersClose Var DefineFloat EnterpriseNotProtected Var DefineFloat EnterpriseProtected Var DefineFloat HealthCanBeIncreased Var DefineFloat MissionCompletedTime Var DefineFloat MissionFailedTime BeginScript if Time == 2 endif { MusicPlayActionMed } /* ------------------- Initial ------------------- */ if Time == 3 endif { Message.Dialog 181 12908 0 4 } if Time == 8 endif { Objective.Add Reach 12900 0 } /* ------------------- DEbug ------------------- if Time == 12 endif { Var BombersDestroyed = 1 ; } */ /* ------------------- Join Formation ------------------- */ if Player.OnGround == FALSE && Var WingmensChanged == 0 endif { Var WingmensChanged = 1 ; } if Var WingmensChanged > 0 endif { Var WingmensChanged += 1 ; } if Var WingmensChanged == 10 endif { Plane 1 SetFollowMode -1 35 0 -38 Plane 1 SetMaxPlayerDistance 2500 Plane 2 SetFollowMode -1 70 10 -70 Plane 2 SetMaxPlayerDistance 2500 Plane 3 SetFollowMode -1 -35 -5 -39 Plane 3 SetMaxPlayerDistance 2500 Plane 4 SetFollowMode -1 -70 5 -70 Plane 4 SetMaxPlayerDistance 2500 Plane 5 SetFollowMode -1 -105 5 -105 Plane 5 SetMaxPlayerDistance 2500 Plane 6 SetFollowMode -1 -135 5 -105 Plane 6 SetMaxPlayerDistance 2500 Plane 7 SetFollowMode -1 105 5 -105 Plane 7 SetMaxPlayerDistance 2500 Plane 8 SetFollowMode -1 135 5 -135 Plane 8 SetMaxPlayerDistance 2500 Plane 9 SetFollowMode -1 -165 5 -165 Plane 9 SetMaxPlayerDistance 2500 } /* ------------------- Chicago Found ------------------- */ if Player.DistanceShip 10 < 2800 && Var Reached == 0 && Var BombersDestroyed == 0 endif /* last variable is in condition for debug */ { Var Reached = 1 ; } if Var Reached > 0 endif { Var Reached += 1 ; } if Var Reached == 2 endif { Objective.Completed Reach /* deactivete fleet */ Ship 0 SetActive 0 Ship 1 SetActive 0 Ship 2 SetActive 0 Ship 3 SetActive 0 Ship 4 SetActive 0 Ship 5 SetActive 0 Ship 6 SetActive 0 Ship 7 SetActive 0 Ship 8 SetActive 0 Ship 9 SetActive 0 /* activete enemy bombers part 1 */ Plane 10 SetActive 1 Plane 11 SetActive 1 Plane 12 SetActive 1 Plane 13 SetActive 1 Plane 14 SetActive 1 Plane 15 SetActive 1 Plane 10 SetRadarSymbol -1 Plane 11 SetRadarSymbol -1 Plane 12 SetRadarSymbol -1 Plane 13 SetRadarSymbol -1 Plane 14 SetRadarSymbol -1 Plane 15 SetRadarSymbol -1 } if Var Reached == 4 endif { /* activate enemy bombers part 2 */ Plane 20 SetActive 1 Plane 21 SetActive 1 Plane 22 SetActive 1 Plane 23 SetActive 1 Plane 24 SetActive 1 Plane 25 SetActive 1 Plane 20 SetRadarSymbol -1 Plane 21 SetRadarSymbol -1 Plane 22 SetRadarSymbol -1 Plane 23 SetRadarSymbol -1 Plane 24 SetRadarSymbol -1 Plane 25 SetRadarSymbol -1 } if Var Reached == 7 endif { /* activete enemy bombers part 3 */ Plane 30 SetActive 1 Plane 31 SetActive 1 Plane 32 SetActive 1 Plane 33 SetActive 1 Plane 34 SetActive 1 Plane 35 SetActive 1 Plane 30 SetRadarSymbol -1 Plane 31 SetRadarSymbol -1 Plane 32 SetRadarSymbol -1 Plane 33 SetRadarSymbol -1 Plane 34 SetRadarSymbol -1 Plane 35 SetRadarSymbol -1 } if Var Reached == 9 endif { /* activete enemy bombers part 3 */ Plane 40 SetActive 1 Plane 41 SetActive 1 Plane 42 SetActive 1 Plane 43 SetActive 1 Plane 44 SetActive 1 Plane 45 SetActive 1 Plane 40 SetRadarSymbol -1 Plane 41 SetRadarSymbol -1 Plane 42 SetRadarSymbol -1 Plane 43 SetRadarSymbol -1 Plane 44 SetRadarSymbol -1 Plane 45 SetRadarSymbol -1 } if Var Reached == 5 endif { Message.Dialog 181 12909 0 4 } if Var Reached == 10 endif { Objective.Add Patrol 12901 0 } /* ------------------- Bombers discovered by chicago ------------------- */ if Player.DistancePlane 12 < 5000 && Var BombersDiscovered == 0 && Var Reached > 12 endif { Var BombersDiscovered = 1 ; Var BombersDiscoveredPlayer = 1 ; Objective.CompletedHide Patrol Message.Dialog 180 12911 0 7 } if Plane 12 DistancePoint -2944.864258 0.683243 917.886841 < 6000 && Var BombersDiscovered == 0 && Var Reached > 12 endif { Var BombersDiscovered = 1 ; Var BombersDiscoveredFleet = 1 ; Objective.CompletedHide Patrol Message.Dialog 180 12910 0 5 } if Var BombersDiscovered > 0 endif { Var BombersDiscovered += 1 ; } if Var BombersDiscovered == 8 endif { Objective.Add Defend 12902 0 Plane 10 SetRadarSymbol 1 Plane 11 SetRadarSymbol 1 Plane 12 SetRadarSymbol 1 Plane 13 SetRadarSymbol 1 Plane 14 SetRadarSymbol 1 Plane 15 SetRadarSymbol 1 Plane 20 SetRadarSymbol 1 Plane 21 SetRadarSymbol 1 Plane 22 SetRadarSymbol 1 Plane 23 SetRadarSymbol 1 Plane 24 SetRadarSymbol 1 Plane 25 SetRadarSymbol 1 Plane 30 SetRadarSymbol 1 Plane 31 SetRadarSymbol 1 Plane 32 SetRadarSymbol 1 Plane 33 SetRadarSymbol 1 Plane 34 SetRadarSymbol 1 Plane 35 SetRadarSymbol 1 Plane 40 SetRadarSymbol 1 Plane 41 SetRadarSymbol 1 Plane 42 SetRadarSymbol 1 Plane 43 SetRadarSymbol 1 Plane 44 SetRadarSymbol 1 Plane 45 SetRadarSymbol 1 } if Var BombersDiscovered == 7 endif { Plane 9 SetDogfightMode Plane 9 SetScoutPlane 1 10 50 } if Var BombersDiscovered == 8 endif { Plane 8 SetDogfightMode2 Plane 8 SetScoutPlane 1 10 50 } if Var BombersDiscovered == 9 endif { Plane 7 SetDogfightMode2 Plane 7 SetScoutPlane 1 10 50 } if Var BombersDiscovered == 10 endif { Plane 6 SetDogfightMode Plane 6 SetScoutPlane 1 10 50 } if Var BombersDiscovered == 11 endif { Plane 5 SetDogfightMode Plane 5 SetScoutPlane 1 10 50 } if Var BombersDiscovered == 12 endif { Plane 4 SetDogfightMode2 Plane 4 SetScoutPlane 1 10 50 } if Var BombersDiscovered == 13 endif { Plane 3 SetDogfightMode Plane 3 SetScoutPlane 1 10 50 } if Var BombersDiscovered == 14 endif { Plane 2 SetDogfightMode Plane 2 SetScoutPlane 1 10 50 } if Var BombersDiscovered == 15 endif { Plane 1 SetDogfightMode2 Plane 1 SetScoutPlane 1 10 50 } if Var BombersDiscovered == 19 endif { Player.AllowSwitch 1 } if Var BombersDiscovered == 20 endif { CheckPoint } /* ------------------- Bombers Changing Targets - Part 1 ------------------- */ if Plane 10 DistancePoint -2963.693604 370.116180 851.463379 < 50 && Plane 10 NumScoutPoints == 0 && Var BombersDiscovered > 12 endif { Plane 10 AddScoutPoint -3418.162598 385.116302 -13294.676758 Plane 10 SetPointScoutMode 1 Plane 10 SetDogfightMode Var BombersReached = 1 ; } if Plane 11 DistancePoint -2949.490967 370.116180 891.378540 < 50 && Plane 11 NumScoutPoints == 0 && Var BombersDiscovered > 12 endif { Plane 11 AddScoutPoint -3472.042725 385.116302 -13325.322266 Plane 11 SetPointScoutMode 1 Plane 11 SetDogfightMode Var BombersReached = 1 ; } if Plane 12 DistancePoint -2939.734375 370.116180 931.532532 < 50 && Plane 12 NumScoutPoints == 0 && Var BombersDiscovered > 12 endif { Plane 12 AddScoutPoint -3537.394775 385.116302 -13331.932617 Plane 12 SetPointScoutMode 1 Plane 12 SetDogfightMode Var BombersReached = 1 ; } if Plane 13 DistancePoint -2931.493652 370.116180 961.304993 < 50 && Plane 13 NumScoutPoints == 0 && Var BombersDiscovered > 12 endif { Plane 13 AddScoutPoint -3622.018799 385.116302 -13328.136719 Plane 13 SetPointScoutMode 1 Plane 13 SetDogfightMode Var BombersReached = 1 ; } if Plane 14 DistancePoint -2922.646973 370.116180 995.732727 < 50 && Plane 14 NumScoutPoints == 0 && Var BombersDiscovered > 12 endif { Plane 14 AddScoutPoint -3699.132080 385.116302 -13321.901367 Plane 14 SetPointScoutMode 1 Plane 14 SetDogfightMode Var BombersReached = 1 ; } if Plane 15 DistancePoint -2907.904785 370.116180 1032.128784 < 50 && Plane 15 NumScoutPoints == 0 && Var BombersDiscovered > 12 endif { Plane 15 AddScoutPoint -3774.855469 385.116302 -13307.789063 Plane 15 SetPointScoutMode 1 Plane 15 SetDogfightMode Var BombersReached = 1 ; } /* ------------------- Bombers Changing Targets - Part 2 ------------------- */ if Plane 20 DistancePoint -2963.693604 370.116180 851.463379 < 80 && Plane 20 NumScoutPoints == 0 && Var BombersDiscovered > 12 endif { Plane 20 AddScoutPoint -3418.162598 385.116302 -13294.676758 Plane 20 SetPointScoutMode 1 Plane 20 SetDogfightMode Var BombersReached = 1 ; } if Plane 21 DistancePoint -2949.490967 370.116180 891.378540 < 80 && Plane 21 NumScoutPoints == 0 && Var BombersDiscovered > 12 endif { Plane 21 AddScoutPoint -3472.042725 385.116302 -13325.322266 Plane 21 SetPointScoutMode 1 Plane 21 SetDogfightMode Var BombersReached = 1 ; } if Plane 22 DistancePoint -2939.734375 370.116180 931.532532 < 80 && Plane 22 NumScoutPoints == 0 && Var BombersDiscovered > 12 endif { Plane 22 AddScoutPoint -3537.394775 385.116302 -13331.932617 Plane 22 SetPointScoutMode 1 Plane 22 SetDogfightMode Var BombersReached = 1 ; } if Plane 23 DistancePoint -2931.493652 370.116180 961.304993 < 80 && Plane 23 NumScoutPoints == 0 && Var BombersDiscovered > 12 endif { Plane 23 AddScoutPoint -3622.018799 385.116302 -13328.136719 Plane 23 SetPointScoutMode 1 Plane 23 SetDogfightMode Var BombersReached = 1 ; } if Plane 24 DistancePoint -2922.646973 370.116180 995.732727 < 80 && Plane 24 NumScoutPoints == 0 && Var BombersDiscovered > 12 endif { Plane 24 AddScoutPoint -3699.132080 385.116302 -13321.901367 Plane 24 SetPointScoutMode 1 Plane 24 SetDogfightMode Var BombersReached = 1 ; } if Plane 25 DistancePoint -2907.904785 370.116180 1032.128784 < 80 && Plane 25 NumScoutPoints == 0 && Var BombersDiscovered > 12 endif { Plane 25 AddScoutPoint -3774.855469 385.116302 -13307.789063 Plane 25 SetPointScoutMode 1 Plane 25 SetDogfightMode Var BombersReached = 1 ; } /* ------------------- Bombers Changing Targets - Part 3 ------------------- */ if Plane 30 DistancePoint -2963.693604 370.116180 851.463379 < 80 && Plane 30 NumScoutPoints == 0 && Var BombersDiscovered > 12 endif { Plane 30 AddScoutPoint -3418.162598 385.116302 -13294.676758 Plane 30 SetPointScoutMode 1 Plane 30 SetDogfightMode Var BombersReached = 1 ; } if Plane 31 DistancePoint -2949.490967 370.116180 891.378540 < 80 && Plane 31 NumScoutPoints == 0 && Var BombersDiscovered > 12 endif { Plane 31 AddScoutPoint -3472.042725 385.116302 -13325.322266 Plane 31 SetPointScoutMode 1 Plane 31 SetDogfightMode Var BombersReached = 1 ; } if Plane 32 DistancePoint -2939.734375 370.116180 931.532532 < 80 && Plane 32 NumScoutPoints == 0 && Var BombersDiscovered > 12 endif { Plane 32 AddScoutPoint -3537.394775 385.116302 -13331.932617 Plane 32 SetPointScoutMode 1 Plane 32 SetDogfightMode Var BombersReached = 1 ; } if Plane 33 DistancePoint -2931.493652 370.116180 961.304993 < 80 && Plane 33 NumScoutPoints == 0 && Var BombersDiscovered > 12 endif { Plane 33 AddScoutPoint -3622.018799 385.116302 -13328.136719 Plane 33 SetPointScoutMode 1 Plane 33 SetDogfightMode Var BombersReached = 1 ; } if Plane 34 DistancePoint -2922.646973 370.116180 995.732727 < 80 && Plane 34 NumScoutPoints == 0 && Var BombersDiscovered > 12 endif { Plane 34 AddScoutPoint -3699.132080 385.116302 -13321.901367 Plane 34 SetPointScoutMode 1 Plane 34 SetDogfightMode Var BombersReached = 1 ; } if Plane 35 DistancePoint -2907.904785 370.116180 1032.128784 < 80 && Plane 35 NumScoutPoints == 0 && Var BombersDiscovered > 12 endif { Plane 35 AddScoutPoint -3774.855469 385.116302 -13307.789063 Plane 35 SetPointScoutMode 1 Plane 35 SetDogfightMode Var BombersReached = 1 ; } /* ------------------- Bombers Changing Targets - Part 4 ------------------- */ if Plane 40 DistancePoint -2963.693604 370.116180 851.463379 < 80 && Plane 40 NumScoutPoints == 0 && Var BombersDiscovered > 12 endif { Plane 40 AddScoutPoint -3418.162598 385.116302 -13294.676758 Plane 40 SetPointScoutMode 1 Plane 40 SetDogfightMode Var BombersReached = 1 ; } if Plane 41 DistancePoint -2949.490967 370.116180 891.378540 < 80 && Plane 41 NumScoutPoints == 0 && Var BombersDiscovered > 12 endif { Plane 41 AddScoutPoint -3472.042725 385.116302 -13325.322266 Plane 41 SetPointScoutMode 1 Plane 41 SetDogfightMode Var BombersReached = 1 ; } if Plane 42 DistancePoint -2939.734375 370.116180 931.532532 < 80 && Plane 42 NumScoutPoints == 0 && Var BombersDiscovered > 12 endif { Plane 42 AddScoutPoint -3537.394775 385.116302 -13331.932617 Plane 42 SetPointScoutMode 1 Plane 42 SetDogfightMode Var BombersReached = 1 ; } if Plane 43 DistancePoint -2931.493652 370.116180 961.304993 < 80 && Plane 43 NumScoutPoints == 0 && Var BombersDiscovered > 12 endif { Plane 43 AddScoutPoint -3622.018799 385.116302 -13328.136719 Plane 43 SetPointScoutMode 1 Plane 43 SetDogfightMode Var BombersReached = 1 ; } if Plane 44 DistancePoint -2922.646973 370.116180 995.732727 < 80 && Plane 44 NumScoutPoints == 0 && Var BombersDiscovered > 12 endif { Plane 44 AddScoutPoint -3699.132080 385.116302 -13321.901367 Plane 44 SetPointScoutMode 1 Plane 44 SetDogfightMode Var BombersReached = 1 ; } if Plane 45 DistancePoint -2907.904785 370.116180 1032.128784 < 80 && Plane 45 NumScoutPoints == 0 && Var BombersDiscovered > 12 endif { Plane 45 AddScoutPoint -3774.855469 385.116302 -13307.789063 Plane 45 SetPointScoutMode 1 Plane 45 SetDogfightMode Var BombersReached = 1 ; } /* ------------------- BOmbers bombed Chicago ------------------- */ if Var BombersReached > 0 && Var BombersReachedTime == 0 endif { Var BombersReachedTime = 1 ; } if Var BombersReachedTime > 0 endif { Var BombersReachedTime += 1 ; } if Var BombersReachedTime == 8 endif { Objective.CompletedHide Defend Ship 10 Life = 0 ; CutSceneRecordingShip 5 game/us_campaign2/camera/b5_battle_c1.cam 10 0 Message.CutScene 181 12912 0 3 } if Var BombersReachedTime == 13 endif { Message.Dialog 180 12913 0 5 } if Var BombersReachedTime == 18 endif { Objective.Add Pursue 12903 0 } /* ------------------- Dispavning bombers ------------------- */ if Plane 10 DistancePoint -3418.162598 385.116302 -13294.676758 < 6000 && Plane 10 GetActive == TRUE endif { Plane 10 SetRadarSymbol -1 } if Plane 11 DistancePoint -3472.042725 385.116302 -13325.32226 < 6000 && Plane 11 GetActive == TRUE endif { Plane 11 SetRadarSymbol -1 } if Plane 12 DistancePoint -3537.394775 385.116302 -13331.932617 < 6000 && Plane 12 GetActive == TRUE endif { Plane 12 SetRadarSymbol -1 } if Plane 13 DistancePoint -3622.018799 385.116302 -13328.136719 < 6000 && Plane 13 GetActive == TRUE endif { Plane 13 SetRadarSymbol -1 } if Plane 14 DistancePoint -3699.132080 385.116302 -13321.901367 < 6000 && Plane 14 GetActive == TRUE endif { Plane 14 SetRadarSymbol -1 } if Plane 15 DistancePoint -3774.855469 385.116302 -13307.789063 < 6000 && Plane 15 GetActive == TRUE endif { Plane 15 SetRadarSymbol -1 } if Plane 20 DistancePoint -3418.162598 385.116302 -13294.676758 < 6000 && Plane 10 GetActive == TRUE endif { Plane 20 SetRadarSymbol -1 } if Plane 21 DistancePoint -3472.042725 385.116302 -13325.32226 < 6000 && Plane 11 GetActive == TRUE endif { Plane 21 SetRadarSymbol -1 } if Plane 22 DistancePoint -3537.394775 385.116302 -13331.932617 < 6000 && Plane 12 GetActive == TRUE endif { Plane 22 SetRadarSymbol -1 } if Plane 23 DistancePoint -3622.018799 385.116302 -13328.136719 < 6000 && Plane 13 GetActive == TRUE endif { Plane 23 SetRadarSymbol -1 } if Plane 24 DistancePoint -3699.132080 385.116302 -13321.901367 < 6000 && Plane 14 GetActive == TRUE endif { Plane 24 SetRadarSymbol -1 } if Plane 25 DistancePoint -3774.855469 385.116302 -13307.789063 < 6000 && Plane 15 GetActive == TRUE endif { Plane 25 SetRadarSymbol -1 } if Plane 30 DistancePoint -3418.162598 385.116302 -13294.676758 < 6000 && Plane 10 GetActive == TRUE endif { Plane 30 SetRadarSymbol -1 } if Plane 31 DistancePoint -3472.042725 385.116302 -13325.32226 < 6000 && Plane 11 GetActive == TRUE endif { Plane 31 SetRadarSymbol -1 } if Plane 32 DistancePoint -3537.394775 385.116302 -13331.932617 < 6000 && Plane 12 GetActive == TRUE endif { Plane 32 SetRadarSymbol -1 } if Plane 33 DistancePoint -3622.018799 385.116302 -13328.136719 < 6000 && Plane 13 GetActive == TRUE endif { Plane 33 SetRadarSymbol -1 } if Plane 34 DistancePoint -3699.132080 385.116302 -13321.901367 < 6000 && Plane 14 GetActive == TRUE endif { Plane 34 SetRadarSymbol -1 } if Plane 35 DistancePoint -3774.855469 385.116302 -13307.789063 < 6000 && Plane 15 GetActive == TRUE endif { Plane 35 SetRadarSymbol -1 } if Plane 40 DistancePoint -3418.162598 385.116302 -13294.676758 < 6000 && Plane 40 GetActive == TRUE endif { Plane 40 SetRadarSymbol -1 } if Plane 41 DistancePoint -3472.042725 385.116302 -13325.32226 < 6000 && Plane 41 GetActive == TRUE endif { Plane 41 SetRadarSymbol -1 } if Plane 42 DistancePoint -3537.394775 385.116302 -13331.932617 < 6000 && Plane 42 GetActive == TRUE endif { Plane 42 SetRadarSymbol -1 } if Plane 43 DistancePoint -3622.018799 385.116302 -13328.136719 < 6000 && Plane 43 GetActive == TRUE endif { Plane 43 SetRadarSymbol -1 } if Plane 44 DistancePoint -3699.132080 385.116302 -13321.901367 < 6000 && Plane 44 GetActive == TRUE endif { Plane 44 SetRadarSymbol -1 } if Plane 45 DistancePoint -3774.855469 385.116302 -13307.789063 < 6000 && Plane 45 GetActive == TRUE endif { Plane 45 SetRadarSymbol -1 } /* ------------------- Escaping bombers ------------------- */ if Plane 10 DistancePoint -3418.162598 385.116302 -13294.676758 < 4350 && Plane 10 GetActive == TRUE endif { Plane 10 SetActive 0 Var NumBombersEscaped += 1 ; Message.ClearSystem Message.SystemVariable 12929 0 NumBombersEscaped } if Plane 11 DistancePoint -3472.042725 385.116302 -13325.32226 < 4350 && Plane 11 GetActive == TRUE endif { Plane 11 SetActive 0 Var NumBombersEscaped += 1 ; Message.ClearSystem Message.SystemVariable 12929 0 NumBombersEscaped } if Plane 12 DistancePoint -3537.394775 385.116302 -13331.932617 < 4350 && Plane 12 GetActive == TRUE endif { Plane 12 SetActive 0 Var NumBombersEscaped += 1 ; Message.ClearSystem Message.SystemVariable 12929 0 NumBombersEscaped } if Plane 13 DistancePoint -3622.018799 385.116302 -13328.136719 < 3350 && Plane 13 GetActive == TRUE endif { Plane 13 SetActive 0 Var NumBombersEscaped += 1 ; Message.ClearSystem Message.SystemVariable 12929 0 NumBombersEscaped } if Plane 14 DistancePoint -3699.132080 385.116302 -13321.901367 < 4350 && Plane 14 GetActive == TRUE endif { Plane 14 SetActive 0 Var NumBombersEscaped += 1 ; Message.ClearSystem Message.SystemVariable 12929 0 NumBombersEscaped } if Plane 15 DistancePoint -3774.855469 385.116302 -13307.789063 < 4350 && Plane 15 GetActive == TRUE endif { Plane 15 SetActive 0 Var NumBombersEscaped += 1 ; Message.ClearSystem Message.SystemVariable 12929 0 NumBombersEscaped } if Plane 20 DistancePoint -3418.162598 385.116302 -13294.676758 < 4350 && Plane 20 GetActive == TRUE endif { Plane 20 SetActive 0 Var NumBombersEscaped += 1 ; Message.ClearSystem Message.SystemVariable 12929 0 NumBombersEscaped } if Plane 21 DistancePoint -3472.042725 385.116302 -13325.32226 < 4350 && Plane 21 GetActive == TRUE endif { Plane 21 SetActive 0 Var NumBombersEscaped += 1 ; Message.ClearSystem Message.SystemVariable 12929 0 NumBombersEscaped } if Plane 22 DistancePoint -3537.394775 385.116302 -13331.932617 < 4350 && Plane 22 GetActive == TRUE endif { Plane 22 SetActive 0 Var NumBombersEscaped += 1 ; Message.ClearSystem Message.SystemVariable 12929 0 NumBombersEscaped } if Plane 23 DistancePoint -3622.018799 385.116302 -13328.136719 < 4350 && Plane 23 GetActive == TRUE endif { Plane 23 SetActive 0 Var NumBombersEscaped += 1 ; Message.ClearSystem Message.SystemVariable 12929 0 NumBombersEscaped } if Plane 24 DistancePoint -3699.132080 385.116302 -13321.901367 < 4350 && Plane 24 GetActive == TRUE endif { Plane 24 SetActive 0 Var NumBombersEscaped += 1 ; Message.ClearSystem Message.SystemVariable 12929 0 NumBombersEscaped } if Plane 25 DistancePoint -3774.855469 385.116302 -13307.789063 < 4350 && Plane 25 GetActive == TRUE endif { Plane 25 SetActive 0 Var NumBombersEscaped += 1 ; Message.ClearSystem Message.SystemVariable 12929 0 NumBombersEscaped } if Plane 30 DistancePoint -3418.162598 385.116302 -13294.676758 < 4350 && Plane 30 GetActive == TRUE endif { Plane 30 SetActive 0 Var NumBombersEscaped += 1 ; Message.ClearSystem Message.SystemVariable 12929 0 NumBombersEscaped } if Plane 31 DistancePoint -3472.042725 385.116302 -13325.32226 < 4350 && Plane 31 GetActive == TRUE endif { Plane 31 SetActive 0 Var NumBombersEscaped += 1 ; Message.ClearSystem Message.SystemVariable 12929 0 NumBombersEscaped } if Plane 32 DistancePoint -3537.394775 385.116302 -13331.932617 < 4350 && Plane 32 GetActive == TRUE endif { Plane 32 SetActive 0 Var NumBombersEscaped += 1 ; Message.ClearSystem Message.SystemVariable 12929 0 NumBombersEscaped } if Plane 33 DistancePoint -3622.018799 385.116302 -13328.136719 < 4350 && Plane 33 GetActive == TRUE endif { Plane 33 SetActive 0 Var NumBombersEscaped += 1 ; Message.ClearSystem Message.SystemVariable 12929 0 NumBombersEscaped } if Plane 34 DistancePoint -3699.132080 385.116302 -13321.901367 < 4350 && Plane 34 GetActive == TRUE endif { Plane 34 SetActive 0 Var NumBombersEscaped += 1 ; Message.ClearSystem Message.SystemVariable 12929 0 NumBombersEscaped } if Plane 35 DistancePoint -3774.855469 385.116302 -13307.789063 < 4350 && Plane 35 GetActive == TRUE endif { Plane 35 SetActive 0 Var NumBombersEscaped += 1 ; Message.ClearSystem Message.SystemVariable 12929 0 NumBombersEscaped } if Plane 40 DistancePoint -3418.162598 385.116302 -13294.676758 < 4350 && Plane 40 GetActive == TRUE endif { Plane 40 SetActive 0 Var NumBombersEscaped += 1 ; Message.ClearSystem Message.SystemVariable 12929 0 NumBombersEscaped } if Plane 41 DistancePoint -3472.042725 385.116302 -13325.32226 < 4350 && Plane 41 GetActive == TRUE endif { Plane 41 SetActive 0 Var NumBombersEscaped += 1 ; Message.ClearSystem Message.SystemVariable 12929 0 NumBombersEscaped } if Plane 42 DistancePoint -3537.394775 385.116302 -13331.932617 < 4350 && Plane 42 GetActive == TRUE endif { Plane 42 SetActive 0 Var NumBombersEscaped += 1 ; Message.ClearSystem Message.SystemVariable 12929 0 NumBombersEscaped } if Plane 43 DistancePoint -3622.018799 385.116302 -13328.136719 < 3350 && Plane 43 GetActive == TRUE endif { Plane 43 SetActive 0 Var NumBombersEscaped += 1 ; Message.ClearSystem Message.SystemVariable 12929 0 NumBombersEscaped } if Plane 44 DistancePoint -3699.132080 385.116302 -13321.901367 < 4350 && Plane 44 GetActive == TRUE endif { Plane 44 SetActive 0 Var NumBombersEscaped += 1 ; Message.ClearSystem Message.SystemVariable 12929 0 NumBombersEscaped } if Plane 45 DistancePoint -3774.855469 385.116302 -13307.789063 < 4350 && Plane 45 GetActive == TRUE endif { Plane 45 SetActive 0 Var NumBombersEscaped += 1 ; Message.ClearSystem Message.SystemVariable 12929 0 NumBombersEscaped } /* ------------------- Too much bombers escaped ------------------- */ if Var NumBombersEscaped > 5 && Var TooMuchEscaped == 0 endif { Var TooMuchEscaped = 1 ; } if Var TooMuchEscaped > 0 endif { Var TooMuchEscaped += 1 ; } if Var TooMuchEscaped == 2 endif { Objective.Failed Pursue } if Var TooMuchEscaped == 5 endif { Message.Dialog 180 12914 0 6 } if Var TooMuchEscaped == 5 endif { MissionFailed MissionLeave 4.0 } /* ------------------- Desstroying bombers ------------------- */ if Plane 10 GetDestroyedWithTest == TRUE endif { Var NumBombersDestroyed += 1 ; } if Plane 11 GetDestroyedWithTest == TRUE endif { Var NumBombersDestroyed += 1 ; } if Plane 12 GetDestroyedWithTest == TRUE endif { Var NumBombersDestroyed += 1 ; } if Plane 13 GetDestroyedWithTest == TRUE endif { Var NumBombersDestroyed += 1 ; } if Plane 14 GetDestroyedWithTest == TRUE endif { Var NumBombersDestroyed += 1 ; } if Plane 15 GetDestroyedWithTest == TRUE endif { Var NumBombersDestroyed += 1 ; } if Plane 20 GetDestroyedWithTest == TRUE endif { Var NumBombersDestroyed += 1 ; } if Plane 21 GetDestroyedWithTest == TRUE endif { Var NumBombersDestroyed += 1 ; } if Plane 22 GetDestroyedWithTest == TRUE endif { Var NumBombersDestroyed += 1 ; } if Plane 23 GetDestroyedWithTest == TRUE endif { Var NumBombersDestroyed += 1 ; } if Plane 24 GetDestroyedWithTest == TRUE endif { Var NumBombersDestroyed += 1 ; } if Plane 25 GetDestroyedWithTest == TRUE endif { Var NumBombersDestroyed += 1 ; } if Plane 30 GetDestroyedWithTest == TRUE endif { Var NumBombersDestroyed += 1 ; } if Plane 31 GetDestroyedWithTest == TRUE endif { Var NumBombersDestroyed += 1 ; } if Plane 32 GetDestroyedWithTest == TRUE endif { Var NumBombersDestroyed += 1 ; } if Plane 33 GetDestroyedWithTest == TRUE endif { Var NumBombersDestroyed += 1 ; } if Plane 34 GetDestroyedWithTest == TRUE endif { Var NumBombersDestroyed += 1 ; } if Plane 35 GetDestroyedWithTest == TRUE endif { Var NumBombersDestroyed += 1 ; } if Plane 40 GetDestroyedWithTest == TRUE endif { Var NumBombersDestroyed += 1 ; } if Plane 41 GetDestroyedWithTest == TRUE endif { Var NumBombersDestroyed += 1 ; } if Plane 42 GetDestroyedWithTest == TRUE endif { Var NumBombersDestroyed += 1 ; } if Plane 43 GetDestroyedWithTest == TRUE endif { Var NumBombersDestroyed += 1 ; } if Plane 44 GetDestroyedWithTest == TRUE endif { Var NumBombersDestroyed += 1 ; } if Plane 45 GetDestroyedWithTest == TRUE endif { Var NumBombersDestroyed += 1 ; } /* ------------------- Bombers destroyed ------------------- */ Var TempVariable = 0 ; Var TempVariable += Var NumBombersEscaped ; Var TempVariable += Var NumBombersDestroyed ; if Var TempVariable > 23 && Var TooMuchEscaped == 0 && Var BombersDestroyed == 0 endif { Var BombersDestroyed = 1 ; } if Var BombersDestroyed > 0 endif { Var BombersDestroyed += 1 ; } if Var BombersDestroyed == 2 endif { Objective.Completed Pursue } if Var BombersDestroyed == 5 endif { Message.Dialog 180 12915 0 6 } if Var BombersDestroyed == 4 endif { /* activate incomming enemy planes */ Plane 54 SetActive 1 Plane 55 SetActive 1 Plane 56 SetActive 1 Plane 57 SetActive 1 Plane 58 SetActive 1 Plane 59 SetActive 1 Plane 60 SetActive 1 } if Var BombersDestroyed == 7 endif { /* activate incomming enemy planes */ Plane 61 SetActive 1 Plane 62 SetActive 1 Plane 63 SetActive 1 Plane 64 SetActive 1 Plane 65 SetActive 1 Plane 66 SetActive 1 Plane 67 SetActive 1 } if Var BombersDestroyed == 10 endif { /* activate us fleet */ Ship 0 SetActive 1 Ship 1 SetActive 1 Ship 2 SetActive 1 Ship 3 SetActive 1 Ship 4 SetActive 1 Ship 5 SetActive 1 Ship 6 SetActive 1 Ship 7 SetActive 1 Ship 8 SetActive 1 Ship 9 SetActive 1 Ship 0 SetPosition 4881.572266 0.217395 -3725.806885 0.000000 Ship 1 SetPosition 4180.281494 0.683243 -2795.576904 0.000000 Ship 2 SetPosition 5366.592285 0.683243 -4658.052734 0.000000 Ship 3 SetPosition 4528.693359 0.683243 -4507.462402 0.000000 Ship 4 SetPosition 5300.178223 0.683243 -2862.789063 0.000000 Ship 5 SetPosition 5799.455078 0.683243 -3463.686768 0.000000 Ship 6 SetPosition 5129.937012 0.683243 -5184.124023 0.000000 Ship 7 SetPosition 4678.901123 0.683243 -2260.370361 0.000000 Ship 8 SetPosition 5131.621094 0.683243 -2099.755615 0.000000 Ship 9 SetPosition 3923.308838 0.683243 -3708.233398 0.000000 /* deactivate chicago fleet */ Ship 10 SetActive 0 Ship 11 SetActive 0 Ship 12 SetActive 0 Ship 13 SetActive 0 Ship 14 SetActive 0 Ship 15 SetActive 0 /* deactive old squadron */ Plane 0 SetActive 0 Plane 1 SetActive 0 Plane 2 SetActive 0 Plane 3 SetActive 0 Plane 4 SetActive 0 Plane 5 SetActive 0 Plane 6 SetActive 0 Plane 7 SetActive 0 Plane 8 SetActive 0 Plane 9 SetActive 0 /* deactive enemy planes */ Plane 10 SetActive 0 Plane 11 SetActive 0 Plane 12 SetActive 0 Plane 13 SetActive 0 Plane 14 SetActive 0 Plane 15 SetActive 0 Plane 20 SetActive 0 Plane 21 SetActive 0 Plane 22 SetActive 0 Plane 23 SetActive 0 Plane 24 SetActive 0 Plane 25 SetActive 0 Plane 30 SetActive 0 Plane 31 SetActive 0 Plane 32 SetActive 0 Plane 33 SetActive 0 Plane 34 SetActive 0 Plane 35 SetActive 0 Plane 40 SetActive 0 Plane 41 SetActive 0 Plane 42 SetActive 0 Plane 43 SetActive 0 Plane 44 SetActive 0 Plane 45 SetActive 0 /* runcutscene */ CutSceneRecordingPositionNoRestorePlanes 8 game/us_campaign2/camera/b5_battle_c2.cam 0 Message.CutScene 181 12916 1 6 } if Var BombersDestroyed == 18 endif { CutSceneRecordingShipNoRestorePlanes 10 game/us_campaign2/camera/b5_battle_c3.cam 0 0 Message.CutScene 180 12917 1 6 /* deactivate incomming enemy planes */ Plane 54 SetActive 0 Plane 55 SetActive 0 Plane 56 SetActive 0 Plane 57 SetActive 0 Plane 58 SetActive 0 Plane 59 SetActive 0 Plane 60 SetActive 0 Plane 61 SetActive 0 Plane 62 SetActive 0 Plane 63 SetActive 0 Plane 64 SetActive 0 Plane 65 SetActive 0 Plane 66 SetActive 0 Plane 67 SetActive 0 } if Var BombersDestroyed == 25 endif { Message.CutScene 181 12918 0 2 } if Var BombersDestroyed == 28 endif { Message.Dialog 181 12919 0 7 Message.Dialog 181 12920 7 7 /* reset again fleet position */ Ship 0 SetPosition 4881.572266 0.217395 -3725.806885 0.000000 Ship 1 SetPosition 4180.281494 0.683243 -2795.576904 0.000000 Ship 2 SetPosition 5366.592285 0.683243 -4658.052734 0.000000 Ship 3 SetPosition 4528.693359 0.683243 -4507.462402 0.000000 Ship 4 SetPosition 5300.178223 0.683243 -2862.789063 0.000000 Ship 5 SetPosition 5799.455078 0.683243 -3463.686768 0.000000 Ship 6 SetPosition 5129.937012 0.683243 -5184.124023 0.000000 Ship 7 SetPosition 4678.901123 0.683243 -2260.370361 0.000000 Ship 8 SetPosition 5131.621094 0.683243 -2099.755615 0.000000 Ship 9 SetPosition 3923.308838 0.683243 -3708.233398 0.000000 /* change squadron */ Player.ReloadWave 1 3882.049805 25.197239 -3811.290771 0.000000 Plane 100 SetActive 1 Plane 101 SetActive 1 Plane 102 SetActive 1 Plane 103 SetActive 1 Plane 104 SetActive 1 Plane 105 SetActive 1 Plane 106 SetActive 1 Plane 107 SetActive 1 Plane 108 SetActive 1 Plane 100 ToCarrier 4887.323730 27.338146 -3765.816406 0.000000 Plane 101 ToCarrier 4883.577148 27.338146 -3793.004883 0.000000 Plane 102 ToCarrier 4889.293945 27.338146 -3812.835938 0.000000 Plane 103 ToCarrier 4882.839355 27.338146 -3830.405273 0.000000 Plane 104 ToCarrier 4890.588623 27.338146 -3846.695068 0.000000 Plane 105 ToCarrier 4882.149902 27.338146 -3863.507813 0.000000 Plane 106 ToCarrier 4887.738281 27.338146 -3881.423096 0.000000 Player.ResetWave Player.MarkNextWave Player.AddToWave 100 Player.AddToWave 101 Player.AddToWave 102 Player.AddToWave 103 Player.AddToWave 104 Player.AddToWave 105 Player.AddToWave 106 Player.AddToWave 107 Player.SetToNextPlaneInWave Player.ToCarrier 4887.323730 27.338146 -3765.816406 0.000000 Player.AllowSwitch 1 Player.PlanesWasChanged } if Var BombersDestroyed == 28 endif { Objective.Add Protect 12904 0 ShowPositionPoint -4135.247070 299.449127 -1736.570435 } if Var BombersDestroyed == 31 endif { CheckPoint } /* ------------------- Taking off planes ------------------- */ if Var BombersDestroyed > 30 && Var TakingOffPlanes == 0 && Player.OnGround == FALSE endif { Var TakingOffPlanes = 1 ; } if Var TakingOffPlanes > 0 endif { Var TakingOffPlanesTime += 1 ; } if Var TakingOffPlanesTime == 4 endif { Plane 101 SetDogfightMode2 Plane 101 SetPointScoutMode 1 Plane 101 AddScoutPoint -4135.247070 299.449127 -1736.570435 } if Var TakingOffPlanesTime == 6 endif { Plane 102 SetDogfightMode2 Plane 102 SetPointScoutMode 1 Plane 102 AddScoutPoint -4135.247070 299.449127 -1736.570435 } if Var TakingOffPlanesTime == 8 endif { Plane 103 SetDogfightMode2 Plane 103 SetPointScoutMode 1 Plane 103 AddScoutPoint -4135.247070 299.449127 -1736.570435 } if Var TakingOffPlanesTime == 10 endif { Plane 104 SetDogfightMode2 Plane 104 SetPointScoutMode 1 Plane 104 AddScoutPoint -4135.247070 299.449127 -1736.570435 } if Var TakingOffPlanesTime == 12 endif { Plane 105 SetDogfightMode2 Plane 105 SetPointScoutMode 1 Plane 105 AddScoutPoint -4135.247070 299.449127 -1736.570435 } if Var TakingOffPlanesTime == 14 endif { Plane 106 SetDogfightMode2 Plane 106 SetPointScoutMode 1 Plane 106 AddScoutPoint -4135.247070 299.449127 -1736.570435 } /* ------------------- Player Close to enemy fighters ------------------- */ if Var BombersDestroyed > 75 && Var PlayerReached == 0 endif { Var PlayerReached = 1 ; CheckPoint } if Var PlayerReached == 1 endif { Var PlayerReached = 2 ; HidePositionPoint /* activate incomming enemy planes */ Plane 54 SetActive 1 Plane 55 SetActive 1 Plane 56 SetActive 1 Plane 57 SetActive 1 Plane 58 SetActive 1 Plane 59 SetActive 1 Plane 60 SetActive 1 Plane 61 SetActive 1 Plane 62 SetActive 1 Plane 63 SetActive 1 Plane 64 SetActive 1 Plane 65 SetActive 1 Plane 66 SetActive 1 Plane 67 SetActive 1 Plane 54 SetRadarSymbol 1 Plane 55 SetRadarSymbol 1 Plane 56 SetRadarSymbol 1 Plane 57 SetRadarSymbol 1 Plane 58 SetRadarSymbol 1 Plane 59 SetRadarSymbol 1 Plane 60 SetRadarSymbol 1 Plane 61 SetRadarSymbol 1 Plane 62 SetRadarSymbol 1 Plane 63 SetRadarSymbol 1 Plane 64 SetRadarSymbol 1 Plane 65 SetRadarSymbol 1 Plane 66 SetRadarSymbol 1 Plane 67 SetRadarSymbol 1 /* change targets - squadron */ Plane 101 SetPointScoutMode 0 Plane 102 SetPointScoutMode 0 Plane 103 SetPointScoutMode 0 Plane 104 SetPointScoutMode 0 Plane 105 SetPointScoutMode 0 Plane 106 SetPointScoutMode 0 Plane 107 SetPointScoutMode 0 Plane 108 SetPointScoutMode 0 Plane 101 SetScoutPlane 1 50 80 Plane 102 SetScoutPlane 1 50 80 Plane 103 SetScoutPlane 1 50 80 Plane 104 SetScoutPlane 1 50 80 Plane 105 SetScoutPlane 1 50 80 Plane 106 SetScoutPlane 1 50 80 Plane 107 SetScoutPlane 1 50 80 Plane 108 SetScoutPlane 1 50 80 } /* ------------------- Destroyed planes attacking enterprise ----------------- */ if Plane 54 GetDestroyedWithTest == TRUE endif { Var NumFightersDestroyed += 1 ; } if Plane 55 GetDestroyedWithTest == TRUE endif { Var NumFightersDestroyed += 1 ; } if Plane 56 GetDestroyedWithTest == TRUE endif { Var NumFightersDestroyed += 1 ; } if Plane 57 GetDestroyedWithTest == TRUE endif { Var NumFightersDestroyed += 1 ; } if Plane 58 GetDestroyedWithTest == TRUE endif { Var NumFightersDestroyed += 1 ; } if Plane 59 GetDestroyedWithTest == TRUE endif { Var NumFightersDestroyed += 1 ; } if Plane 60 GetDestroyedWithTest == TRUE endif { Var NumFightersDestroyed += 1 ; } if Plane 61 GetDestroyedWithTest == TRUE endif { Var NumFightersDestroyed += 1 ; } if Plane 62 GetDestroyedWithTest == TRUE endif { Var NumFightersDestroyed += 1 ; } if Plane 63 GetDestroyedWithTest == TRUE endif { Var NumFightersDestroyed += 1 ; } if Plane 64 GetDestroyedWithTest == TRUE endif { Var NumFightersDestroyed += 1 ; } if Plane 65 GetDestroyedWithTest == TRUE endif { Var NumFightersDestroyed += 1 ; } if Plane 66 GetDestroyedWithTest == TRUE endif { Var NumFightersDestroyed += 1 ; } if Plane 67 GetDestroyedWithTest == TRUE endif { Var NumFightersDestroyed += 1 ; } /* ------------------------ Fighters Close ------------------------- */ if Plane 54 DistancePoint 4829.468262 286.831268 -678.731018 < 1800 && Var FightersClose == 0 endif { Var FightersClose = 1 ; } if Plane 55 DistancePoint 4843.026367 286.831268 -740.133362 < 1800 && Var FightersClose == 0 endif { Var FightersClose = 1 ; } if Plane 56 DistancePoint 4816.829346 286.831268 -802.087524 < 1800 && Var FightersClose == 0 endif { Var FightersClose = 1 ; } if Plane 57 DistancePoint 4830.604492 286.831268 -870.598572 < 1800 && Var FightersClose == 0 endif { Var FightersClose = 1 ; } if Plane 58 DistancePoint 4804.351807 286.831268 -934.107849 < 1800 && Var FightersClose == 0 endif { Var FightersClose = 1 ; } if Plane 59 DistancePoint 4825.523682 286.831268 -1005.180115 < 1800 && Var FightersClose == 0 endif { Var FightersClose = 1 ; } if Plane 60 DistancePoint 4807.853516 286.831268 -1067.793457 < 1800 && Var FightersClose == 0 endif { Var FightersClose = 1 ; } if Plane 61 DistancePoint 4829.468262 286.831268 -678.731018 < 1800 && Var FightersClose == 0 endif { Var FightersClose = 1 ; } if Plane 62 DistancePoint 4843.026367 286.831268 -740.133362 < 1800 && Var FightersClose == 0 endif { Var FightersClose = 1 ; } if Plane 63 DistancePoint 4816.829346 286.831268 -802.087524 < 1800 && Var FightersClose == 0 endif { Var FightersClose = 1 ; } if Plane 64 DistancePoint 4830.604492 286.831268 -870.598572 < 1800 && Var FightersClose == 0 endif { Var FightersClose = 1 ; } if Plane 65 DistancePoint 4804.351807 286.831268 -934.107849 < 1800 && Var FightersClose == 0 endif { Var FightersClose = 1 ; } if Plane 66 DistancePoint 4825.523682 286.831268 -1005.180115 < 1800 && Var FightersClose == 0 endif { Var FightersClose = 1 ; } if Plane 67 DistancePoint 4807.853516 286.831268 -1067.793457 < 1800 && Var FightersClose == 0 endif { Var FightersClose = 1 ; } /* ------------------------ To much planes not destroyed ------------------------- */ if Var FightersClose == 1 && Var NumFightersDestroyed < 10 && Var EnterpriseNotProtected == 0 endif { Var EnterpriseNotProtected = 1 ; } if Var EnterpriseNotProtected > 0 endif { Var EnterpriseNotProtected += 1 ; } if Var EnterpriseNotProtected == 2 endif { Objective.Failed Protect } if Var EnterpriseNotProtected == 5 endif { Message.Dialog 181 12921 0 6 } if Var EnterpriseNotProtected == 10 endif { MissionFailed MissionLeave 4.0 } /* ------------------------ All Planes Destroyed - or almost all destroyed ------------------------- */ if Var FightersClose == 1 && Var EnterpriseProtected == 0 && Var EnterpriseNotProtected == 0 endif { Var EnterpriseProtected = 1 ; } if Var EnterpriseProtected == 0 && Var NumFightersDestroyed > 10 && Var EnterpriseNotProtected == 0 endif { Var EnterpriseProtected = 1 ; } if Var EnterpriseProtected > 0 endif { Var EnterpriseProtected += 1 ; } if Var EnterpriseProtected == 2 endif { Objective.CompletedHide Protect Message.Dialog 181 12922 0 5 } if Var EnterpriseProtected == 7 endif { /* make life forall attacking fighters */ Var HealthCanBeIncreased = 1 ; Plane 54 SetActive 0 Plane 55 SetActive 0 Plane 56 SetActive 0 Plane 57 SetActive 0 Plane 58 SetActive 0 Plane 59 SetActive 0 Plane 60 SetActive 0 Plane 61 SetActive 0 Plane 62 SetActive 0 Plane 63 SetActive 0 Plane 64 SetActive 0 Plane 65 SetActive 0 Plane 66 SetActive 0 Plane 67 SetActive 0 /* show cutscene */ CutSceneRecordingPlaneNoRestorePlanes 7 game/us_campaign2/camera/b5_battle_c4.cam 88 0 Plane 87 SetActive 1 Plane 88 SetActive 1 Plane 88 SetScoutPlane 1 87 88 Message.CutScene 180 12923 0 7 Message.DialogNoVO 180 12923 7 2 } if Var EnterpriseProtected == 10 endif { Plane 88 SetCanFire 0 } if Var EnterpriseProtected == 14 endif { /* take player to CAG */ Player.ResetWave Player.SpecialWaveEnable Player.AllowSwitch 1 Player.AddToWave 88 Player.SetToNextPlaneInWave GameNotEndWhenNoPlanes 1 Plane 108 SetActive 0 /* last objective */ Objective.Add Collide 12905 0 /* empty weapons of player */ Player.MakeEmptyArmaments } if Var EnterpriseProtected == 17 endif { CheckPoint } /* ----------------------- CAG collided with plane ----------------------- */ if Plane 87 Life <= 0 && Var MissionCompletedTime == 0 && Var MissionFailedTime == 0 endif { Var MissionCompletedTime = 1 ; } if Var MissionCompletedTime > 0 endif { Var MissionCompletedTime += 1 ; } if Var MissionCompletedTime == 2 endif { Objective.Completed Collide } if Var MissionCompletedTime == 4 endif { CutSceneRecordingPlaneNoRestorePlanes 12 game/us_campaign2/camera/b5_battle_c6.cam 87 0 Message.CutScene 181 12925 0 6 Message.CutScene 181 12926 6 2 } if Var MissionCompletedTime == 7 endif { FadeInScripted } if Var MissionCompletedTime == 12 endif { MissionCompleted MissionLeave 4.0 } /* ----------------------- CAG not collided with plane ----------------------- */ if Var EnterpriseProtected > 30 && Var MissionFailedTime == 0 && Var MissionCompletedTime == 0 endif { Var MissionFailedTime = 1 ; } if Var MissionFailedTime > 0 endif { Var MissionFailedTime += 1 ; } if Var MissionFailedTime == 2 endif { Objective.Failed Collide } if Var MissionFailedTime == 5 endif { CutSceneRecordingPlaneNoRestorePlanes 9 game/us_campaign2/camera/b5_battle_c5.cam 87 0 Message.CutScene 181 12924 0 9 } if Var MissionFailedTime == 14 endif { MissionLeave 2.0 } /* ------------------- Player died ------------------ */ if Player.Life <= 0 && Var EnterpriseProtected > 16 && EndGame == FALSE && Var MissionFailedTime == 0 && Var MissionCompletedTime == 0 endif { MissionFailed MissionLeave 3.0 } /* ------------------------ Increase health for Rest of Fighters ------------------------- */ if Plane 54 Life > 0 && Var HealthCanBeIncreased == 1 endif { Plane 54 SetLife 300 } if Plane 55 Life > 0 && Var HealthCanBeIncreased == 1 endif { Plane 55 SetLife 300 } if Plane 56 Life > 0 && Var HealthCanBeIncreased == 1 endif { Plane 56 SetLife 300 } if Plane 57 Life > 0 && Var HealthCanBeIncreased == 1 endif { Plane 57 SetLife 300 } if Plane 58 Life > 0 && Var HealthCanBeIncreased == 1 endif { Plane 58 SetLife 300 } if Plane 59 Life > 0 && Var HealthCanBeIncreased == 1 endif { Plane 59 SetLife 300 } if Plane 60 Life > 0 && Var HealthCanBeIncreased == 1 endif { Plane 60 SetLife 300 } if Plane 61 Life > 0 && Var HealthCanBeIncreased == 1 endif { Plane 61 SetLife 300 } if Plane 62 Life > 0 && Var HealthCanBeIncreased == 1 endif { Plane 62 SetLife 300 } if Plane 63 Life > 0 && Var HealthCanBeIncreased == 1 endif { Plane 63 SetLife 300 } if Plane 64 Life > 0 && Var HealthCanBeIncreased == 1 endif { Plane 64 SetLife 300 } if Plane 65 Life > 0 && Var HealthCanBeIncreased == 1 endif { Plane 65 SetLife 300 } if Plane 66 Life > 0 && Var HealthCanBeIncreased == 1 endif { Plane 66 SetLife 300 } if Plane 67 Life > 0 && Var HealthCanBeIncreased == 1 endif { Plane 67 SetLife 300 } Var HealthCanBeIncreased = 0 ; EndScript