SetHomePoint 2111.523438 384.555145 -1822.878540 RecordLoadingBeginPS3 missionpacks/mission27.pack2 /* ------------------- Enemy planes ------------------- */ Plane 12 Load planes/mig21/1.ini -4000.0 1500.0 4000.0 0.0 0 Plane 12 SetDogfightExperience 2 Plane 12 SetDogfightMode Plane 12 SetScoutPlane 1 1 6 Plane 12 SetActive 0 Plane 13 Load planes/mig21/1.ini -4000.0 1500.0 4000.0 0.0 0 Plane 13 SetDogfightExperience 2 Plane 13 SetDogfightMode2 Plane 13 SetScoutPlane 1 1 6 Plane 13 SetActive 0 Plane 14 Load planes/mig17/1.ini -4000.0 1500.0 4000.0 0.0 0 Plane 14 SetDogfightExperience 2 Plane 14 SetDogfightMode Plane 14 SetScoutPlane 1 1 6 Plane 14 SetActive 0 Plane 15 Load planes/mig17/1.ini -4000.0 1500.0 4000.0 0.0 0 Plane 15 SetDogfightExperience 2 Plane 15 SetDogfightMode2 Plane 15 SetScoutPlane 1 1 6 Plane 15 SetActive 0 Plane 16 Load planes/mig21/1.ini -4000.0 1500.0 4000.0 0.0 0 Plane 16 SetDogfightExperience 2 Plane 16 SetDogfightMode Plane 16 SetScoutPlane 1 0 6 Plane 16 SetActive 0 Plane 17 Load planes/mig21/1.ini -4000.0 1500.0 4000.0 0.0 0 Plane 17 SetDogfightExperience 2 Plane 17 SetDogfightMode2 Plane 17 SetScoutPlane 1 0 6 Plane 17 SetActive 0 Plane 18 Load planes/mig21/1.ini -4000.0 1500.0 4000.0 0.0 0 Plane 18 SetDogfightExperience 2 Plane 18 SetDogfightMode Plane 18 SetScoutPlane 1 0 6 Plane 18 SetActive 0 Plane 19 Load planes/mig21/1.ini -4000.0 1500.0 4000.0 0.0 0 Plane 19 SetDogfightExperience 2 Plane 19 SetDogfightMode2 Plane 19 SetScoutPlane 1 0 6 Plane 19 SetActive 0 Plane 20 Load planes/mig21/1.ini -4000.0 1500.0 4000.0 0.0 0 Plane 20 SetDogfightExperience 2 Plane 20 SetDogfightMode Plane 20 SetScoutPlane 1 0 6 Plane 20 SetActive 0 /* ------------------- Squadron 1 ------------------- */ Plane 0 Load planes/b52/1.ini 0.0 1500.0 8000.0 0.0 1 Plane 0 SetActive 1 Plane 0 SetStaticBombingMode Plane 1 Load planes/b52/1.ini 400.0 1500.0 7800.0 0.0 1 Plane 1 SetActive 1 Plane 1 SetStaticBombingMode Plane 2 Load planes/b52/1.ini -400.0 1500.0 7800.0 0.0 1 Plane 2 SetActive 1 Plane 2 SetStaticBombingMode /* ------------------- Squadron 2 ------------------- */ Plane 3 Load planes/F4_Phantom/1.ini -2000.0 1500.0 7000.0 0.0 1 Plane 3 SetDogfightExperience 3 Plane 3 SetDogfightMode Plane 3 SetScoutPlane 1 12 21 Plane 3 SetActive 1 Plane 4 Load planes/F4_Phantom/1.ini -2200.0 1500.0 7000.0 0.0 1 Plane 4 SetDogfightExperience 3 Plane 4 SetDogfightMode Plane 4 SetScoutPlane 1 12 21 Plane 4 SetActive 1 Plane 5 Load planes/F4_Phantom/1.ini -1800.0 1500.0 7000.0 0.0 1 Plane 5 SetDogfightExperience 3 Plane 5 SetDogfightMode Plane 5 SetScoutPlane 1 12 21 Plane 5 SetActive 1 Player.ReloadSpecial planes/b52/1.ini 0.0 0.0 0.0 0.0 Player.SpecialWaveEnable Player.ResetWave Player.AddToWave 0 Player.AddToWave 1 Player.AddToWave 2 Player.AddToWave 3 Player.AddToWave 4 Player.AddToWave 5 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 skipped4 Var DefineBool skipped5 Var DefineBool skipped6 Var DefineBool skipped7 Var DefineBool skipped8 Var DefineBool skipped9 Var DefineBool skipped10 DebriefingIndex 33021 RecordLoadingEndPS3 /* ------------------------------------------------------------------------------ BEGIN - OPERATION LINEBACKER II --------------------------------------------------------------------------------- */ BeginScript if Time == 1 endif { PlayPreloadedVideo videos/m27cs01.bik SetWeather 0 } if Time == 1 endif { HideDropingZone HideZone HideBombingArea HideGreenArea MusicPlayActionSlow Var skipped1 = FALSE ; Var skipped2 = FALSE ; Var skipped3 = FALSE ; Var skipped4 = FALSE ; Var skipped5 = FALSE ; Var skipped6 = FALSE ; Var skipped7 = FALSE ; Var skipped8 = FALSE ; Var skipped9 = FALSE ; Var skipped10 = FALSE ; Var Timer = 0 ; Plane 0 SetStaticTargetStructure 1524 Plane 1 SetStaticTargetStructure 1524 Plane 2 SetStaticTargetStructure 1524 SetFriendlyFireStructure 1 EnableBombing } /* ------------------- Objective 1 - Bomb enemy facilities. ------------------- */ if Time == 4 endif { Var MissionState = 1 ; Message.DialogTime 180 33001 0 6 Objective.Add Objective1 33000 0 Structure 1524 SetRadarSymbol 1 Structure 1525 SetRadarSymbol 1 Structure 1526 SetRadarSymbol 1 Structure 1527 SetRadarSymbol 1 Structure 1528 SetRadarSymbol 1 Structure 1429 SetRadarSymbol 1 Structure 1430 SetRadarSymbol 1 Structure 1515 SetRadarSymbol 1 Structure 1516 SetRadarSymbol 1 Structure 1517 SetRadarSymbol 1 Structure 1427 SetRadarSymbol 1 Structure 1428 SetRadarSymbol 1 Structure 1534 SetRadarSymbol 1 Structure 1535 SetRadarSymbol 1 Structure 1536 SetRadarSymbol 1 Structure 1537 SetRadarSymbol 1 Structure 1543 SetRadarSymbol 1 ProgressClear ProgressSetCaption 33032 ProgressSetFriendly 0 ProgressAddTargetStructure 1524 ProgressAddTargetStructure 1525 ProgressAddTargetStructure 1526 ProgressAddTargetStructure 1527 ProgressAddTargetStructure 1528 ProgressAddTargetStructure 1429 ProgressAddTargetStructure 1430 ProgressAddTargetStructure 1515 ProgressAddTargetStructure 1516 ProgressAddTargetStructure 1517 ProgressAddTargetStructure 1427 ProgressAddTargetStructure 1428 ProgressAddTargetStructure 1534 ProgressAddTargetStructure 1535 ProgressAddTargetStructure 1536 ProgressAddTargetStructure 1537 ProgressAddTargetStructure 1543 } if Var MissionState == 1 endif { Var Timer += 1 ; } if Objective.IsCompleted Objective1 == TRUE && Var skipped1 == FALSE && Var MissionState == 1 endif { Var skipped1 = TRUE ; Structure 1524 Life = 0 ; } if Var MissionState == 1 && ProgressGetValue <= 0.99 endif { Objective.CompletedHide Objective1 Var MissionState = 2 ; Var Timer = 0 ; } /* ------------------- Objective 2 - Intercept enemy fighters. ------------------- */ if Var MissionState == 2 endif { Var Timer += 1 ; } if Var MissionState == 2 && Var Timer == 10 endif { PlayVideo videos/m27cs02.bik } if Var MissionState == 2 && Var Timer == 12 endif { Plane 0 SetActive 1 Plane 1 SetActive 1 Plane 2 SetActive 1 Plane 0 Pos = VECTOR3 -1000.0 1500.0 3000.0 ; Plane 1 Pos = VECTOR3 -1400.0 1500.0 2800.0 ; Plane 2 Pos = VECTOR3 -600.0 1500.0 2800.0 ; Plane 0 Update Plane 1 Update Plane 2 Update Player.ReloadSpecial planes/F4_Phantom/1.ini 0.0 0.0 0.0 0.0 Player.SpecialWaveEnable Player.ResetWave Player.AddToWave 0 Player.AddToWave 1 Player.AddToWave 2 Player.AddToWave 3 Player.AddToWave 4 Player.AddToWave 5 Player.SetToNextPlaneInWave Player.SetToNextPlaneInWave Player.SetToNextPlaneInWave Player.SetToNextPlaneInWave Player.PlanesWasChanged Player.AllowSwitch 1 Player.CannotRetireEnable Plane 0 SetDogfightMode Plane 1 SetDogfightMode Plane 2 SetDogfightMode Plane 0 AddScoutPoint 0.0 1500.0 3000.0 Plane 0 AddScoutPoint 0.0 1500.0 -3000.0 Plane 1 AddScoutPoint 0.0 1500.0 3000.0 Plane 1 AddScoutPoint 0.0 1500.0 -3000.0 Plane 2 AddScoutPoint 0.0 1500.0 3000.0 Plane 2 AddScoutPoint 0.0 1500.0 -3000.0 Plane 0 SetPointScoutMode 1 Plane 1 SetPointScoutMode 1 Plane 2 SetPointScoutMode 1 Plane 12 SetActive 1 Plane 13 SetActive 1 Plane 14 SetActive 1 Plane 15 SetActive 1 Structure 1524 SetRadarSymbol -1 Structure 1525 SetRadarSymbol -1 Structure 1526 SetRadarSymbol -1 Structure 1527 SetRadarSymbol -1 Structure 1528 SetRadarSymbol -1 Structure 1429 SetRadarSymbol -1 Structure 1430 SetRadarSymbol -1 Structure 1515 SetRadarSymbol -1 Structure 1516 SetRadarSymbol -1 Structure 1517 SetRadarSymbol -1 Structure 1427 SetRadarSymbol -1 Structure 1428 SetRadarSymbol -1 Structure 1534 SetRadarSymbol -1 Structure 1535 SetRadarSymbol -1 Structure 1536 SetRadarSymbol -1 Structure 1537 SetRadarSymbol -1 Structure 1543 SetRadarSymbol -1 ProgressClear ProgressSetCaption 600 ProgressSetFriendly 1 ProgressAddTargetPlane 0 ProgressAddTargetPlane 1 ProgressAddTargetPlane 2 } if Var MissionState == 2 && Var Timer == 15 endif { Message.DialogTime 180 33003 0 6 Objective.Add Objective2 33002 0 } if Var MissionState == 2 && Var Timer == 16 endif { CheckPoint } if Objective.IsCompleted Objective2 == TRUE && Var skipped2 == FALSE && Var MissionState == 2 endif { Var skipped2 = TRUE ; Plane 12 SetLife 0 Plane 13 SetLife 0 Plane 14 SetLife 0 Plane 15 SetLife 0 } if Var MissionState == 2 && Plane 12 Life <= 0 && Plane 13 Life <= 0 && Plane 14 Life <= 0 && Plane 15 Life <= 0 endif { Objective.Completed Objective2 Var MissionState = 3 ; Var Timer = 0 ; } /* ------------------- Objective 3 - Bomb enemy facilities. ------------------- */ if Var MissionState == 3 endif { Var Timer += 1 ; } if Var MissionState == 3 && Var Timer == 10 endif { PlayVideo videos/m27cs03.bik } if Var MissionState == 3 && Var Timer == 12 endif { SetWeather 1 Player.ReloadSpecial planes/b52/1.ini 0.0 0.0 0.0 0.0 Player.SpecialWaveEnable Player.ResetWave Player.AddToWave 0 Player.AddToWave 1 Player.AddToWave 2 Player.AddToWave 3 Player.AddToWave 4 Player.AddToWave 5 Player.SetToNextPlaneInWave Player.PlanesWasChanged Player.AllowSwitch 1 Player.CannotRetireEnable Plane 0 SetStaticBombingMode Plane 1 SetStaticBombingMode Plane 2 SetStaticBombingMode Plane 0 SetStaticTargetStructure 1524 Plane 1 SetStaticTargetStructure 1524 Plane 2 SetStaticTargetStructure 1524 Structure 1524 SetRadarSymbol 1 Structure 1525 SetRadarSymbol 1 Structure 1526 SetRadarSymbol 1 Structure 1527 SetRadarSymbol 1 Structure 1528 SetRadarSymbol 1 Structure 1429 SetRadarSymbol 1 Structure 1430 SetRadarSymbol 1 Structure 1515 SetRadarSymbol 1 Structure 1516 SetRadarSymbol 1 Structure 1517 SetRadarSymbol 1 Structure 1427 SetRadarSymbol 1 Structure 1428 SetRadarSymbol 1 Structure 1534 SetRadarSymbol 1 Structure 1535 SetRadarSymbol 1 Structure 1536 SetRadarSymbol 1 Structure 1537 SetRadarSymbol 1 Structure 1543 SetRadarSymbol 1 ProgressClear ProgressSetCaption 33032 ProgressSetFriendly 0 ProgressAddTargetStructure 1524 ProgressAddTargetStructure 1525 ProgressAddTargetStructure 1526 ProgressAddTargetStructure 1527 ProgressAddTargetStructure 1528 ProgressAddTargetStructure 1429 ProgressAddTargetStructure 1430 ProgressAddTargetStructure 1515 ProgressAddTargetStructure 1516 ProgressAddTargetStructure 1517 ProgressAddTargetStructure 1427 ProgressAddTargetStructure 1428 ProgressAddTargetStructure 1534 ProgressAddTargetStructure 1535 ProgressAddTargetStructure 1536 ProgressAddTargetStructure 1537 ProgressAddTargetStructure 1543 } if Var MissionState == 3 && Var Timer == 15 endif { Message.DialogTime 180 33005 0 6 Objective.Add Objective3 33004 0 } if Var MissionState == 3 && Var Timer == 16 endif { CheckPoint } if Objective.IsCompleted Objective3 == TRUE && Var skipped3 == FALSE && Var MissionState == 3 endif { Var skipped3 = TRUE ; Structure 1524 Life = 0 ; Structure 1525 Life = 0 ; Structure 1526 Life = 0 ; Structure 1527 Life = 0 ; Structure 1528 Life = 0 ; Structure 1429 Life = 0 ; Structure 1430 Life = 0 ; Structure 1515 Life = 0 ; Structure 1516 Life = 0 ; Structure 1517 Life = 0 ; Structure 1427 Life = 0 ; Structure 1428 Life = 0 ; Structure 1534 Life = 0 ; Structure 1535 Life = 0 ; Structure 1536 Life = 0 ; Structure 1537 Life = 0 ; Structure 1543 Life = 0 ; } if Var MissionState == 3 && ProgressGetValue <= 0.4 endif { Objective.Completed Objective3 Var MissionState = 4 ; Var Timer = 0 ; ProgressClear } /* ------------------- Objective 4 - Bomb enemy facilities. ------------------- */ if Var MissionState == 4 endif { Var Timer += 1 ; } if Var MissionState == 4 && Var Timer == 5 endif { PlayVideo videos/m27cs04.bik } if Var MissionState == 4 && Var Timer == 7 endif { SetWeather 0 } if Var MissionState == 4 && Var Timer == 10 endif { Message.DialogTime 180 33007 0 6 Objective.Add Objective4 33006 0 Plane 0 SetStaticBombingMode Plane 1 SetStaticBombingMode Plane 2 SetStaticBombingMode Plane 0 SetStaticTargetStructure 1506 Plane 1 SetStaticTargetStructure 1506 Plane 2 SetStaticTargetStructure 1506 Structure 1506 SetRadarSymbol 1 Structure 1507 SetRadarSymbol 1 Structure 1508 SetRadarSymbol 1 Structure 1509 SetRadarSymbol 1 Structure 1510 SetRadarSymbol 1 Structure 1511 SetRadarSymbol 1 Structure 1512 SetRadarSymbol 1 Structure 1513 SetRadarSymbol 1 ProgressClear ProgressSetCaption 33032 ProgressSetFriendly 0 ProgressAddTargetStructure 1506 ProgressAddTargetStructure 1507 ProgressAddTargetStructure 1508 ProgressAddTargetStructure 1509 ProgressAddTargetStructure 1510 ProgressAddTargetStructure 1511 ProgressAddTargetStructure 1512 ProgressAddTargetStructure 1513 Structure 1524 Life = 0 ; Structure 1525 Life = 0 ; Structure 1526 Life = 0 ; Structure 1527 Life = 0 ; Structure 1528 Life = 0 ; Structure 1429 Life = 0 ; Structure 1430 Life = 0 ; Structure 1515 Life = 0 ; Structure 1516 Life = 0 ; Structure 1517 Life = 0 ; Structure 1427 Life = 0 ; Structure 1428 Life = 0 ; Structure 1534 Life = 0 ; Structure 1535 Life = 0 ; Structure 1536 Life = 0 ; Structure 1537 Life = 0 ; Structure 1543 Life = 0 ; } if Var MissionState == 4 && Var Timer == 11 endif { CheckPoint } if Objective.IsCompleted Objective4 == TRUE && Var skipped4 == FALSE && Var MissionState == 4 endif { Var skipped4 = TRUE ; Structure 1506 Life = 0 ; } if Var MissionState == 4 && ProgressGetValue <= 0.99 endif { Objective.CompletedHide Objective4 Var MissionState = 5 ; Var Timer = 0 ; } /* ------------------- Objective 5 - Intercept enemy fighters. ------------------- */ if Var MissionState == 5 endif { Var Timer += 1 ; } if Var MissionState == 5 && Var Timer == 10 endif { PlayVideo videos/m27cs05.bik } if Var MissionState == 5 && Var Timer == 12 endif { SetWeather 2 Plane 0 SetActive 1 Plane 1 SetActive 1 Plane 2 SetActive 1 Plane 0 Pos = VECTOR3 0.0 1500.0 8000.0 ; Plane 1 Pos = VECTOR3 400.0 1500.0 7800.0 ; Plane 2 Pos = VECTOR3 -400.0 1500.0 7800.0 ; Plane 0 Update Plane 1 Update Plane 2 Update Player.ReloadSpecial planes/F4_Phantom/1.ini 0.0 0.0 0.0 0.0 Player.SpecialWaveEnable Player.ResetWave Player.AddToWave 0 Player.AddToWave 1 Player.AddToWave 2 Player.AddToWave 3 Player.AddToWave 4 Player.AddToWave 5 Player.SetToNextPlaneInWave Player.SetToNextPlaneInWave Player.SetToNextPlaneInWave Player.SetToNextPlaneInWave Player.PlanesWasChanged Player.AllowSwitch 1 Player.CannotRetireEnable Plane 1 SetDogfightMode Plane 2 SetDogfightMode Plane 1 AddScoutPoint 0.0 1500.0 5000.0 Plane 1 AddScoutPoint 0.0 1500.0 -5000.0 Plane 2 AddScoutPoint 0.0 1500.0 5000.0 Plane 2 AddScoutPoint 0.0 1500.0 -5000.0 Plane 1 SetPointScoutMode 1 Plane 2 SetPointScoutMode 1 Plane 16 SetActive 1 Plane 17 SetActive 1 Plane 18 SetActive 1 Structure 1506 SetRadarSymbol -1 Structure 1507 SetRadarSymbol -1 Structure 1508 SetRadarSymbol -1 Structure 1509 SetRadarSymbol -1 Structure 1510 SetRadarSymbol -1 Structure 1511 SetRadarSymbol -1 Structure 1512 SetRadarSymbol -1 Structure 1513 SetRadarSymbol -1 ProgressClear ProgressSetCaption 600 ProgressSetFriendly 1 ProgressAddTargetPlane 0 ProgressAddTargetPlane 1 ProgressAddTargetPlane 2 } if Var MissionState == 5 && Var Timer == 15 endif { Message.DialogTime 180 33009 0 6 Objective.Add Objective5 33008 0 } if Var MissionState == 5 && Var Timer == 16 endif { CheckPoint } if Objective.IsCompleted Objective5 == TRUE && Var skipped5 == FALSE && Var MissionState == 5 endif { Var skipped5 = TRUE ; Plane 16 SetLife 0 Plane 17 SetLife 0 Plane 18 SetLife 0 } if Var MissionState == 5 && Plane 16 Life <= 0 && Plane 17 Life <= 0 && Plane 18 Life <= 0 endif { Objective.Completed Objective5 Var MissionState = 6 ; Var Timer = 0 ; } /* ------------------- Objective 6 - Bomb enemy facilities. ------------------- */ if Var MissionState == 6 endif { Var Timer += 1 ; } if Var MissionState == 6 && Var Timer == 10 endif { PlayVideo videos/m27cs06.bik } if Var MissionState == 6 && Var Timer == 12 endif { SetWeather 1 Player.ReloadSpecial planes/b52/1.ini 0.0 0.0 0.0 0.0 Player.SpecialWaveEnable Player.ResetWave Player.AddToWave 0 Player.AddToWave 1 Player.AddToWave 2 Player.AddToWave 3 Player.AddToWave 4 Player.AddToWave 5 Player.SetToNextPlaneInWave Player.PlanesWasChanged Player.AllowSwitch 1 Player.CannotRetireEnable Plane 0 SetStaticBombingMode Plane 1 SetStaticBombingMode Plane 2 SetStaticBombingMode Plane 0 SetStaticTargetStructure 1506 Plane 1 SetStaticTargetStructure 1506 Plane 2 SetStaticTargetStructure 1506 Structure 1506 SetRadarSymbol 1 Structure 1507 SetRadarSymbol 1 Structure 1508 SetRadarSymbol 1 Structure 1509 SetRadarSymbol 1 Structure 1510 SetRadarSymbol 1 Structure 1511 SetRadarSymbol 1 Structure 1512 SetRadarSymbol 1 Structure 1513 SetRadarSymbol 1 ProgressClear ProgressSetCaption 33032 ProgressSetFriendly 0 ProgressAddTargetStructure 1506 ProgressAddTargetStructure 1507 ProgressAddTargetStructure 1508 ProgressAddTargetStructure 1509 ProgressAddTargetStructure 1510 ProgressAddTargetStructure 1511 ProgressAddTargetStructure 1512 ProgressAddTargetStructure 1513 } if Var MissionState == 6 && Var Timer == 15 endif { Message.DialogTime 180 33011 0 6 Objective.Add Objective6 33010 0 } if Var MissionState == 6 && Var Timer == 16 endif { CheckPoint } if Objective.IsCompleted Objective6 == TRUE && Var skipped6 == FALSE && Var MissionState == 6 endif { Var skipped6 = TRUE ; Structure 1506 Life = 0 ; Structure 1507 Life = 0 ; Structure 1508 Life = 0 ; Structure 1509 Life = 0 ; Structure 1510 Life = 0 ; Structure 1511 Life = 0 ; Structure 1512 Life = 0 ; Structure 1513 Life = 0 ; } if Var MissionState == 6 && ProgressGetValue <= 0.4 endif { Objective.Completed Objective6 Var MissionState = 7 ; Var Timer = 0 ; ProgressClear } /* ------------------- Objective 7 - Bomb enemy facilities. ------------------- */ if Var MissionState == 7 endif { Var Timer += 1 ; } if Var MissionState == 7 && Var Timer == 13 endif { CheckPoint } if Var MissionState == 7 && Var Timer == 10 endif { Message.DialogTime 180 33013 0 6 Objective.Add Objective7 33012 0 Plane 0 SetStaticBombingMode Plane 1 SetStaticBombingMode Plane 2 SetStaticBombingMode Plane 0 SetStaticTargetStructure 1431 Plane 1 SetStaticTargetStructure 1431 Plane 2 SetStaticTargetStructure 1431 /* Quang Te airfield */ Structure 1431 SetRadarSymbol 1 Structure 1432 SetRadarSymbol 1 Structure 1433 SetRadarSymbol 1 Structure 1434 SetRadarSymbol 1 Structure 1435 SetRadarSymbol 1 /* Van Dien storage */ Structure 1436 SetRadarSymbol 1 Structure 1437 SetRadarSymbol 1 Structure 1438 SetRadarSymbol 1 Structure 1439 SetRadarSymbol 1 Structure 1440 SetRadarSymbol 1 Structure 1441 SetRadarSymbol 1 ProgressClear ProgressSetCaption 33032 ProgressSetFriendly 0 ProgressAddTargetStructure 1431 ProgressAddTargetStructure 1432 ProgressAddTargetStructure 1433 ProgressAddTargetStructure 1434 ProgressAddTargetStructure 1435 ProgressAddTargetStructure 1436 ProgressAddTargetStructure 1437 ProgressAddTargetStructure 1438 ProgressAddTargetStructure 1439 ProgressAddTargetStructure 1440 ProgressAddTargetStructure 1441 Structure 1506 Life = 0 ; Structure 1507 Life = 0 ; Structure 1508 Life = 0 ; Structure 1509 Life = 0 ; Structure 1510 Life = 0 ; Structure 1511 Life = 0 ; Structure 1512 Life = 0 ; Structure 1513 Life = 0 ; } if Objective.IsCompleted Objective7 == TRUE && Var skipped7 == FALSE && Var MissionState == 7 endif { Var skipped7 = TRUE ; Structure 1431 Life = 0 ; } if Var MissionState == 7 && ProgressGetValue <= 0.99 endif { Objective.CompletedHide Objective7 Var MissionState = 8 ; Var Timer = 0 ; } /* ------------------- Objective 8 - Intercept enemy fighters. ------------------- */ if Var MissionState == 8 endif { Var Timer += 1 ; } if Var MissionState == 8 && Var Timer == 16 endif { CheckPoint } if Var MissionState == 8 && Var Timer == 10 endif { FadeScriptedWeather } if Var MissionState == 8 && Var Timer == 12 endif { Plane 0 SetActive 1 Plane 1 SetActive 1 Plane 2 SetActive 1 Plane 0 Pos = VECTOR3 0.0 1500.0 8000.0 ; Plane 1 Pos = VECTOR3 400.0 1500.0 7800.0 ; Plane 2 Pos = VECTOR3 -400.0 1500.0 7800.0 ; Plane 0 Update Plane 1 Update Plane 2 Update Player.ReloadSpecial planes/F4_Phantom/1.ini 0.0 0.0 0.0 0.0 Player.SpecialWaveEnable Player.ResetWave Player.AddToWave 0 Player.AddToWave 1 Player.AddToWave 2 Player.AddToWave 3 Player.AddToWave 4 Player.AddToWave 5 Player.SetToNextPlaneInWave Player.SetToNextPlaneInWave Player.SetToNextPlaneInWave Player.SetToNextPlaneInWave Player.PlanesWasChanged Player.AllowSwitch 1 Player.CannotRetireEnable Plane 1 SetDogfightMode Plane 2 SetDogfightMode Plane 1 AddScoutPoint 0.0 1500.0 5000.0 Plane 1 AddScoutPoint 0.0 1500.0 -5000.0 Plane 2 AddScoutPoint 0.0 1500.0 5000.0 Plane 2 AddScoutPoint 0.0 1500.0 -5000.0 Plane 1 SetPointScoutMode 1 Plane 2 SetPointScoutMode 1 Plane 19 SetActive 1 Plane 20 SetActive 1 Structure 1431 SetRadarSymbol -1 Structure 1432 SetRadarSymbol -1 Structure 1433 SetRadarSymbol -1 Structure 1434 SetRadarSymbol -1 Structure 1435 SetRadarSymbol -1 Structure 1436 SetRadarSymbol -1 Structure 1437 SetRadarSymbol -1 Structure 1438 SetRadarSymbol -1 Structure 1439 SetRadarSymbol -1 Structure 1440 SetRadarSymbol -1 Structure 1441 SetRadarSymbol -1 ProgressClear ProgressSetCaption 600 ProgressSetFriendly 1 ProgressAddTargetPlane 0 ProgressAddTargetPlane 1 ProgressAddTargetPlane 2 } if Var MissionState == 8 && Var Timer == 15 endif { Message.DialogTime 180 33015 0 6 Objective.Add Objective8 33014 0 } if Objective.IsCompleted Objective8 == TRUE && Var skipped8 == FALSE && Var MissionState == 8 endif { Var skipped8 = TRUE ; Plane 19 SetLife 0 Plane 20 SetLife 0 } if Var MissionState == 8 && Plane 19 Life <= 0 && Plane 20 Life <= 0 endif { Objective.Completed Objective8 Var MissionState = 9 ; Var Timer = 0 ; } /* ------------------- Objective 9 - Bomb enemy facilities. ------------------- */ if Var MissionState == 9 endif { Var Timer += 1 ; } if Var MissionState == 9 && Var Timer == 16 endif { CheckPoint } if Var MissionState == 9 && Var Timer == 10 endif { FadeScriptedWeather } if Var MissionState == 9 && Var Timer == 12 endif { Player.ReloadSpecial planes/b52/1.ini 0.0 0.0 0.0 0.0 Player.SpecialWaveEnable Player.ResetWave Player.AddToWave 0 Player.AddToWave 1 Player.AddToWave 2 Player.AddToWave 3 Player.AddToWave 4 Player.AddToWave 5 Player.SetToNextPlaneInWave Player.PlanesWasChanged Player.AllowSwitch 1 Player.CannotRetireEnable Plane 0 SetStaticBombingMode Plane 1 SetStaticBombingMode Plane 2 SetStaticBombingMode Plane 0 SetStaticTargetStructure 1431 Plane 1 SetStaticTargetStructure 1431 Plane 2 SetStaticTargetStructure 1431 Structure 1431 SetRadarSymbol 1 Structure 1432 SetRadarSymbol 1 Structure 1433 SetRadarSymbol 1 Structure 1434 SetRadarSymbol 1 Structure 1435 SetRadarSymbol 1 Structure 1436 SetRadarSymbol 1 Structure 1437 SetRadarSymbol 1 Structure 1438 SetRadarSymbol 1 Structure 1439 SetRadarSymbol 1 Structure 1440 SetRadarSymbol 1 Structure 1441 SetRadarSymbol 1 ProgressClear ProgressSetCaption 33032 ProgressSetFriendly 0 ProgressAddTargetStructure 1431 ProgressAddTargetStructure 1432 ProgressAddTargetStructure 1433 ProgressAddTargetStructure 1434 ProgressAddTargetStructure 1435 ProgressAddTargetStructure 1436 ProgressAddTargetStructure 1437 ProgressAddTargetStructure 1438 ProgressAddTargetStructure 1439 ProgressAddTargetStructure 1440 ProgressAddTargetStructure 1441 } if Var MissionState == 9 && Var Timer == 15 endif { Message.DialogTime 180 33017 0 6 Objective.Add Objective9 33016 0 } if Objective.IsCompleted Objective9 == TRUE && Var skipped9 == FALSE && Var MissionState == 9 endif { Var skipped9 = TRUE ; Structure 1431 Life = 0 ; Structure 1432 Life = 0 ; Structure 1433 Life = 0 ; Structure 1434 Life = 0 ; Structure 1435 Life = 0 ; Structure 1436 Life = 0 ; Structure 1437 Life = 0 ; Structure 1438 Life = 0 ; Structure 1439 Life = 0 ; Structure 1440 Life = 0 ; Structure 1441 Life = 0 ; } if Var MissionState == 9 && ProgressGetValue <= 0.4 endif { Objective.Completed Objective9 Var MissionState = 10 ; Var Timer = 0 ; ProgressClear } /* ------------------- Objective 10 - Bomb enemy facilities. ------------------- */ if Var MissionState == 10 endif { Var Timer += 1 ; } if Var MissionState == 10 && Var Timer == 13 endif { CheckPoint } if Var MissionState == 10 && Var Timer == 10 endif { Message.DialogTime 180 33019 0 6 Objective.Add Objective10 33018 0 Player.ReloadSpecial planes/b52/1.ini 0.0 0.0 0.0 0.0 Player.SpecialWaveEnable Player.ResetWave Player.AddToWave 0 Player.AddToWave 1 Player.AddToWave 2 Player.AddToWave 3 Player.AddToWave 4 Player.AddToWave 5 Player.SetToNextPlaneInWave Player.PlanesWasChanged Player.AllowSwitch 1 Player.CannotRetireEnable Plane 0 SetStaticBombingMode Plane 1 SetStaticBombingMode Plane 2 SetStaticBombingMode Plane 0 SetStaticTargetStructure 1442 Plane 1 SetStaticTargetStructure 1442 Plane 2 SetStaticTargetStructure 1442 Structure 1442 SetRadarSymbol 1 Structure 1443 SetRadarSymbol 1 ProgressClear ProgressSetCaption 33032 ProgressSetFriendly 0 ProgressAddTargetStructure 1442 ProgressAddTargetStructure 1443 Structure 1431 Life = 0 ; Structure 1432 Life = 0 ; Structure 1433 Life = 0 ; Structure 1434 Life = 0 ; Structure 1435 Life = 0 ; Structure 1436 Life = 0 ; Structure 1437 Life = 0 ; Structure 1438 Life = 0 ; Structure 1439 Life = 0 ; Structure 1440 Life = 0 ; Structure 1441 Life = 0 ; } if Objective.IsCompleted Objective10 == TRUE && Var skipped10 == FALSE && Var MissionState == 10 endif { Var skipped10 = TRUE ; Structure 1442 Life = 0 ; Structure 1443 Life = 0 ; } if Var MissionState == 10 && ProgressGetValue <= 0.4 endif { Objective.Completed Objective10 Var MissionState = 11 ; Var Timer = 0 ; ProgressClear } if Var MissionState <= 10 && Plane 0 Life <= 0 && Plane 1 Life <= 0 && Plane 2 Life <= 0 endif { Var MissionState = 100 ; MissionLeave 2 MissionFailed DisableBombing } /* ------------------- End mission ------------------- */ if Var MissionState == 11 endif { Var Timer += 1 ; } if Var MissionState == 11 && Var Timer == 10 endif { MissionCompleted MissionLeave 5 DebriefingIndex 33020 DisableBombing DisableBombing } /* ------------------------------------------------------------------------------ END --------------------------------------------------------------------------------- */ EndScript