SetHomePoint 2111.523438 384.555145 -1822.878540 RecordLoadingBeginPS3 missionpacks/mission20.pack2 Plane 8 Load planes/mig21/1.ini -4000.0 3000.0 4000.0 0.0 0 Plane 8 SetDogfightExperience 4 Plane 8 SetDogfightMode Plane 8 SetScoutPlane 1 0 16 Plane 8 SetActive 0 Plane 9 Load planes/mig21/1.ini -3700.0 3000.0 3700.0 0.0 0 Plane 9 SetDogfightExperience 4 Plane 9 SetDogfightMode Plane 9 SetScoutPlane 1 0 16 Plane 9 SetActive 0 Plane 10 Load planes/mig21/1.ini -3400.0 3000.0 3400.0 0.0 0 Plane 10 SetDogfightExperience 4 Plane 10 SetDogfightMode Plane 10 SetScoutPlane 1 0 16 Plane 10 SetActive 0 Plane 11 Load planes/mig21/1.ini -3100.0 3000.0 3100.0 0.0 0 Plane 11 SetDogfightExperience 4 Plane 11 SetDogfightMode Plane 11 SetScoutPlane 1 0 16 Plane 11 SetActive 0 /* ------------------- Squadron 1 ------------------- */ Plane 0 Load planes/b52/1.ini 4000.0 5000.0 -16000.0 0.0 1 Plane 0 SetDogfightExperience 2 Plane 0 SetDogfightMode Plane 0 SetActive 1 Plane 1 Load planes/b52/1.ini 4200.0 5000.0 -16200.0 0.0 1 Plane 1 SetDogfightExperience 2 Plane 1 SetDogfightMode Plane 1 SetActive 1 Plane 2 Load planes/b52/1.ini 3800.0 5000.0 -16200.0 0.0 1 Plane 2 SetDogfightExperience 2 Plane 2 SetDogfightMode Plane 2 SetActive 1 Plane 15 Load planes/b52/1.ini 5300.0 5000.0 -19200.0 0.0 1 Plane 15 SetDogfightExperience 2 Plane 15 SetDogfightMode Plane 15 SetActive 0 /* ------------------- Squadron 2 ------------------- */ Plane 3 Load planes/F4_Phantom/1.ini 0.0 3000.0 0.0 0.0 1 Plane 3 SetDogfightExperience 2 Plane 3 SetDogfightMode Plane 3 SetScoutPlane 1 8 12 Plane 3 SetActive 0 Plane 4 Load planes/F4_Phantom/1.ini 200.0 3000.0 -200.0 0.0 1 Plane 4 SetDogfightExperience 2 Plane 4 SetDogfightMode Plane 4 SetScoutPlane 1 8 12 Plane 4 SetActive 0 Plane 5 Load planes/F4_Phantom/1.ini -200.0 3000.0 -200.0 0.0 1 Plane 5 SetDogfightExperience 2 Plane 5 SetDogfightMode Plane 5 SetScoutPlane 1 8 12 Plane 5 SetActive 0 Plane 6 Load planes/F4_Phantom/1.ini 400.0 3000.0 -400.0 0.0 1 Plane 6 SetDogfightExperience 2 Plane 6 SetDogfightMode Plane 6 SetScoutPlane 1 8 12 Plane 6 SetActive 0 Plane 7 Load planes/F4_Phantom/1.ini -400.0 3000.0 -400.0 0.0 1 Plane 7 SetDogfightExperience 2 Plane 7 SetDogfightMode Plane 7 SetScoutPlane 1 8 12 Plane 7 SetActive 0 /* ------------------- Squadron 3 ------------------- */ Plane 12 Load planes/b52/1.ini 2000.0 5000.0 0.0 0.0 1 Plane 12 SetDogfightExperience 2 Plane 12 SetDogfightMode Plane 12 SetActive 0 Plane 13 Load planes/b52/1.ini 2200.0 5000.0 -200.0 0.0 1 Plane 13 SetDogfightExperience 2 Plane 13 SetDogfightMode Plane 13 SetActive 0 Plane 14 Load planes/b52/1.ini 1800.0 5000.0 -200.0 0.0 1 Plane 14 SetDogfightExperience 2 Plane 14 SetDogfightMode Plane 14 SetActive 0 Player.ReloadSpecial planes/b52/1.ini 0.0 0.0 0.0 0.0 Player.SpecialWaveEnable Player.ResetWaveDivided 5 Player.AddToWave 0 Player.AddToWave 1 Player.AddToWave 2 Player.SetToNextPlaneInWave Player.PlanesWasChanged Player.AllowSwitch 1 Player.CannotRetireEnable Var DefineFloat Timer Var DefineFloat MissionState Var DefineBool skipped1 Var DefineBool skipped2 Var DefineBool skipped3 Var DefineBool obj3_b1down Var DefineBool obj3_b2down Var DefineFloat plane0Destroy Var DefineFloat plane1Destroy Var DefineFloat plane2Destroy Var DefineFloat counterDestroyPlane DebriefingIndex 25008 RecordLoadingEndPS3 VoiceOver Pilot4_1.wav 2000 2 VoiceOver player_127.wav 2001 2 VoiceOver Pilot4_2.wav 2002 2 /* ------------------------------------------------------------------------------ BEGIN - OPERATION BREAKFAST --------------------------------------------------------------------------------- */ BeginScript if Time == 1 endif { PlayPreloadedVideo videos/m20cs01.bik SetWeather 2 EnableBombing } if Time == 2 endif { HideDropingZone HideZone HideBombingArea HideGreenArea DestroyBombingAreas MusicPlayActionSlow Var skipped1 = FALSE ; Var skipped2 = FALSE ; Var skipped3 = FALSE ; Var obj3_b1down = FALSE ; Var obj3_b2down = FALSE ; } /* ------------------- Objective 1 - Bomb enemy troops. ------------------- */ if Time == 4 endif { Var MissionState = 1 ; Message.DialogTime 180 25001 0 6 Objective.Add Objective1 25000 0 CreateBombingArea 2000.0 0.0 200.0 10.0 10.0 10.0 1000.0 } if Var MissionState == 1 endif { Var Timer += 1 ; } if Var MissionState == 1 && Var Timer == 35 endif { DestroyBombingAreas EnableBombing CreateBombingArea -8000.0 0.0 8000.0 15.0 10.0 15.0 1000.0 PlayPilotBarkScript 0 2000 Pilot4_1.wav PlayPilotBarkScript 1 2001 player_127.wav PlayPilotBarkScript 2 2002 Pilot4_2.wav } if Objective.IsCompleted Objective1 == TRUE && Var skipped1 == FALSE && Var MissionState == 1 endif { Var skipped1 = TRUE ; Objective.CompletedHide Objective1 Var MissionState = 2 ; Var Timer = 0 ; DestroyBombingAreas } if Var MissionState == 1 && Var Timer == 65 endif { Objective.CompletedHide Objective1 Var MissionState = 2 ; Var Timer = 0 ; DestroyBombingAreas } /* ------------------- Objective 2 - Intercept enemy fighters. ------------------- */ if Var MissionState == 2 endif { Var Timer += 1 ; } if Var MissionState == 2 && Var Timer == 10 endif { PlayVideo videos/m20cs02.bik } if Var MissionState == 2 && Var Timer == 12 endif { Plane 8 SetActive 1 Plane 9 SetActive 1 Plane 10 SetActive 0 Plane 11 SetActive 0 Plane 3 SetActive 1 Plane 4 SetActive 1 Plane 5 SetActive 1 Plane 6 SetActive 1 Plane 7 SetActive 1 Plane 0 SetActive 1 Plane 1 SetActive 1 Plane 2 SetActive 1 Plane 15 SetActive 0 Player.ReloadSpecial planes/F4_Phantom/1.ini 0.0 0.0 0.0 0.0 Player.SpecialWaveEnable Player.ResetWave Player.AddToWave 3 Player.AddToWave 4 Player.AddToWave 5 Player.AddToWave 6 Player.AddToWave 7 Player.SetToNextPlaneInWave Player.PlanesWasChanged Player.AllowSwitch 1 Player.CannotRetireEnable Plane 0 SetDogfightExperience 2 Plane 0 SetDogfightMode Plane 1 SetDogfightExperience 2 Plane 1 SetDogfightMode Plane 2 SetDogfightExperience 2 Plane 2 SetDogfightMode Plane 15 SetDogfightExperience 2 Plane 15 SetDogfightMode Plane 0 SetLife 500 Plane 1 SetLife 500 Plane 2 SetLife 500 Plane 15 SetLife 500 ProgressClear ProgressSetCaption 25016 ProgressSetFriendly 1 ProgressAddTargetPlane 0 ProgressAddTargetPlane 1 ProgressAddTargetPlane 2 } if Var MissionState == 2 && Var Timer == 15 endif { Message.DialogTime 180 25003 0 6 Objective.Add Objective2 25002 0 } if Var MissionState == 2 && Var Timer == 16 endif { CheckPoint } if Var MissionState == 2 && Plane 1 Life <= 0 && Var obj3_b1down == FALSE endif { AddMessageWhite 2004 Var obj3_b1down = TRUE ; } if Var MissionState == 2 && Plane 2 Life <= 0 && Var obj3_b2down == FALSE endif { AddMessageWhite 2005 Var obj3_b2down = TRUE ; } if Var MissionState == 2 && Plane 0 Life <= 0 && Var plane0Destroy < 1 && Var Timer > 12 endif { Var plane0Destroy = 1 ; Var counterDestroyPlane += 1 ; } if Var MissionState == 2 && Plane 1 Life <= 0 && Var plane1Destroy < 1 && Var Timer > 12 endif { Var plane1Destroy = 1 ; Var counterDestroyPlane += 1 ; } if Var MissionState == 2 && Plane 2 Life <= 0 && Var plane2Destroy < 1 && Var Timer > 12 endif { Var plane2Destroy = 1 ; Var counterDestroyPlane += 1 ; } if Objective.IsCompleted Objective2 == TRUE && Var skipped2 == FALSE && Var MissionState == 2 endif { Var skipped2 = TRUE ; Plane 8 SetLife 0 Plane 9 SetLife 0 Plane 10 SetLife 0 Plane 11 SetLife 0 } if Var MissionState == 2 && Plane 0 Life <= 0 && Plane 1 Life <= 0 && Plane 2 Life <= 0 endif { MissionLeave 5 MissionFailed Var MissionState = 100 ; } if Var MissionState == 2 && Plane 8 Life <= 0 && Plane 9 Life <= 0 endif { Objective.Completed Objective2 Var MissionState = 3 ; Var Timer = 0 ; ProgressClear } /* ------------------- Objective 3 - Bomb enemy facilities. ------------------- */ if Var MissionState == 3 endif { Var Timer += 1 ; } if Var MissionState == 3 && Var Timer == 7 endif { PlayVideo videos/m20cs03.bik } if Var MissionState == 3 && Var Timer == 9 endif { SetWeather 0 Plane 0 SetActive 0 Plane 1 SetActive 0 Plane 2 SetActive 0 Plane 15 SetActive 0 Plane 12 SetActive 1 Plane 13 SetActive 0 Plane 14 SetActive 0 Plane 3 SetActive 0 Plane 4 SetActive 0 Plane 5 SetActive 0 Plane 6 SetActive 0 Plane 7 SetActive 0 Player.ReloadSpecial planes/b52/1.ini 0.0 0.0 0.0 0.0 Player.SpecialWaveEnable Player.ResetWaveDivided 5 Player.AddToWave 12 Player.SetToNextPlaneInWave Player.PlanesWasChanged Player.AllowSwitch 1 Player.CannotRetireEnable EnableBombing CreateBombingArea -8000.0 0.0 8000.0 16.0 10.0 16.0 10000.0 ProgressClear ProgressSetFriendly 0 ProgressSetCaption 25017 ProgressAddTargetBombingAreas } if Var counterDestroyPlane < 1 && Var MissionState == 3 && Var Timer == 9 endif { Player.AddToWave 13 Player.AddToWave 14 Plane 13 SetActive 1 Plane 14 SetActive 1 } if Var counterDestroyPlane < 2 && Var counterDestroyPlane > 0 && Var MissionState == 3 && Var Timer == 9 endif { Player.AddToWave 14 Plane 13 SetActive 0 Plane 14 SetActive 1 } if Var MissionState == 3 && Var Timer == 12 endif { Message.DialogTime 180 25005 0 6 Objective.Add Objective3 2003 0 } if Var MissionState == 3 && Var Timer == 13 endif { CheckPoint } if Objective.IsCompleted Objective3 == TRUE && Var skipped3 == FALSE && Var MissionState == 3 endif { Var skipped3 = TRUE ; Objective.Completed Objective3 Var MissionState = 4 ; Var Timer = 0 ; } if Var MissionState == 3 && ProgressGetValue <= 0 endif { Objective.Completed Objective3 Var MissionState = 4 ; Var Timer = 0 ; DestroyBombingAreas ProgressClear } if Var MissionState <= 10 && Plane 0 Life <= 0 && Plane 1 Life <= 0 && Plane 2 Life <= 0 endif { Var MissionState = 100 ; MissionLeave 2 MissionFailed } /* ------------------- End mission ------------------- */ if Var MissionState == 4 endif { Var Timer += 1 ; } if Var MissionState == 4 && Var Timer == 10 endif { MissionCompleted MissionLeave 5 DebriefingIndex 25007 } /* ------------------------------------------------------------------------------ END --------------------------------------------------------------------------------- */ EndScript