SetHomePoint 2111.523438 384.555145 -1822.878540 RecordLoadingBeginPS3 missionpacks/mission18.pack2 Vehicle 0 Add vehicles/m16a2.ini -15760.0 200.0 -12717.0 0.0 0 Vehicle 0 SetActive 1 Vehicle 1 Add vehicles/pt76/pt76.ini -16246.0 200.0 -13372.0 0.0 0 Vehicle 1 SetActive 1 Vehicle 2 Add vehicles/m16a2.ini -16863.0 200.0 -14020.0 0.0 0 Vehicle 2 SetActive 1 Vehicle 3 Add vehicles/pt76/pt76.ini -15770.0 200.0 -12717.0 0.0 0 Vehicle 3 SetActive 1 Vehicle 4 Add vehicles/m16a2.ini -16256.0 200.0 -13392.0 0.0 0 Vehicle 4 SetActive 1 Vehicle 5 Add vehicles/pt76/pt76.ini -16853.0 200.0 -14000.0 0.0 0 Vehicle 5 SetActive 1 Vehicle 6 Add vehicles/m16a2.ini -15730.0 200.0 -12717.0 0.0 0 Vehicle 6 SetActive 1 Vehicle 7 Add vehicles/pt76/pt76.ini -16236.0 200.0 -13342.0 0.0 0 Vehicle 7 SetActive 1 Vehicle 8 Add vehicles/m16a2.ini -16823.0 200.0 -14010.0 0.0 0 Vehicle 8 SetActive 1 Vehicle 9 Add vehicles/pt76/pt76.ini -15730.0 200.0 -12707.0 0.0 0 Vehicle 9 SetActive 1 Vehicle 10 Add vehicles/m16a2.ini -16216.0 200.0 -13372.0 0.0 0 Vehicle 10 SetActive 1 Vehicle 11 Add vehicles/pt76/pt76.ini -16823.0 200.0 -14000.0 0.0 0 Vehicle 11 SetActive 1 /* ------------------- Enemy planes ------------------- */ Plane 9 Load planes/mig21/1.ini 0.0 3000.0 0.0 0.0 0 Plane 9 SetDogfightExperience 3 Plane 9 SetDogfightMode Plane 9 SetScoutPlane 1 0 3 Plane 9 SetActive 0 Plane 10 Load planes/mig21/1.ini -1000.0 3000.0 0.0 0.0 0 Plane 10 SetDogfightExperience 3 Plane 10 SetDogfightMode Plane 10 SetScoutPlane 1 0 3 Plane 10 SetActive 0 Plane 11 Load planes/mig21/1.ini 0.0 3000.0 -2000.0 0.0 0 Plane 11 SetDogfightExperience 3 Plane 11 SetDogfightMode2 Plane 11 SetScoutPlane 1 0 3 Plane 11 SetActive 0 Plane 12 Load planes/mig21/1.ini -1500.0 3000.0 -1500.0 0.0 0 Plane 12 SetDogfightExperience 3 Plane 12 SetDogfightMode2 Plane 12 SetScoutPlane 1 0 3 Plane 12 SetActive 0 /* ------------------- Squadron 1 ------------------- */ Plane 0 Load planes/b52/1.ini -15000.0 3000.0 -20000.0 0.0 1 Plane 0 SetActive 1 Plane 1 Load planes/b52/1.ini -15200.0 3000.0 -20200.0 0.0 1 Plane 1 SetActive 1 Plane 2 Load planes/b52/1.ini -14800.0 3000.0 -20200.0 0.0 1 Plane 2 SetActive 1 Plane 3 Load planes/F4_Phantom/1.ini -15400.0 3000.0 -20400.0 0.0 1 Plane 3 SetActive 0 Plane 4 Load planes/F4_Phantom/1.ini -14600.0 3000.0 -20400.0 0.0 1 Plane 4 SetActive 0 /* ------------------- Squadron 2 ------------------- */ Plane 5 Load planes/F4_Phantom/1.ini -5000.0 3000.0 -5000.0 0.0 1 Plane 5 SetDogfightExperience 2 Plane 5 SetDogfightMode Plane 5 SetScoutPlane 1 9 13 Plane 5 SetActive 0 Plane 6 Load planes/F4_Phantom/1.ini -5200.0 3000.0 -5200.0 0.0 1 Plane 6 SetDogfightExperience 2 Plane 6 SetDogfightMode Plane 6 SetScoutPlane 1 9 13 Plane 6 SetActive 0 Plane 7 Load planes/F4_Phantom/1.ini -4800.0 3000.0 -5200.0 0.0 1 Plane 7 SetDogfightExperience 2 Plane 7 SetDogfightMode Plane 7 SetScoutPlane 1 9 13 Plane 7 SetActive 0 /* ------------------- Squadron 3 ------------------- */ Plane 8 Load planes/uh_1/1.ini -14000.0 400.0 -12000.0 0.0 1 Plane 8 SetActive 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.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_AA_destroyed Var DefineFloat numFriendlyHits DebriefingIndex 24008 RecordLoadingEndPS3 /* ------------------------------------------------------------------------------ BEGIN - OPERATION NIAGARA II --------------------------------------------------------------------------------- */ BeginScript if Time == 1 endif { HideDropingZone HideZone HideBombingArea HideGreenArea DestroyBombingAreas PlayPreloadedVideo videos/m18cs01.bik } if Time == 2 endif { MusicPlayActionSlow Var skipped1 = FALSE ; Var skipped2 = FALSE ; Var skipped3 = FALSE ; Var obj3_AA_destroyed = FALSE ; Var numFriendlyHits = 0 ; } /* ------------------- Objective 1 - Bomb enemy ground troops, avoid friendly casualties. ------------------- */ if Time == 4 endif { Var MissionState = 1 ; Message.DialogTime 180 24001 0 6 Objective.Add Objective1 24000 0 EnableBombing CreateBombingArea -15770.0 0.0 -12717.0 4.0 15.0 4.0 1200.0 CreateBombingArea -16256.0 0.0 -13382.0 4.0 15.0 4.0 1200.0 CreateBombingArea -16863.0 0.0 -14000.0 4.0 15.0 4.0 1200.0 SetGreenAreaScaleY 5.0 ShowGreenArea -15815.0 0.0 -13216.0 9.0 ShowGreenArea -16391.0 0.0 -13906.0 9.0 ShowGreenArea -17108.0 0.0 -14265.0 9.0 ShowGreenArea -16897.0 0.0 -13650.0 9.0 ShowGreenArea -16155.0 0.0 -12882.0 9.0 ProgressClear ProgressSetCaption 24016 ProgressAddTargetBombingAreas EnableAutoCheckInsideForbiddenArea ClearBombingForbiddenAreas SetBombingRadiusForbidden 300.0 AddBombingForbiddenArea -15815.0 0.0 -13216.0 AddBombingForbiddenArea -16391.0 0.0 -13906.0 AddBombingForbiddenArea -17108.0 0.0 -14265.0 AddBombingForbiddenArea -16897.0 0.0 -13650.0 AddBombingForbiddenArea -16155.0 0.0 -12882.0 } if Var MissionState == 1 && IsInsideForbiddenArea == TRUE && Player.PressedSecondaryFire == TRUE endif { ShowMsgFriendlyFire Var numFriendlyHits += 1 ; } if Var MissionState == 1 endif { Player.ResetFiredWeaponCheck } if Var MissionState == 1 && Var numFriendlyHits == 3 endif { MissionFailed Var MissionState = 100 ; MissionLeave 2 } if Objective.IsCompleted Objective1 == TRUE && Var skipped1 == FALSE && Var MissionState == 1 endif { Var skipped1 = TRUE ; Structure 0 SetRadarSymbol -1 Objective.Completed Objective1 Var MissionState = 2 ; Var Timer = 0 ; ProgressClear DisableBombing HideGreenArea DestroyBombingAreas } if Var MissionState == 1 && ProgressGetValue <= 0 endif { Structure 0 SetRadarSymbol -1 Objective.Completed Objective1 Var MissionState = 2 ; Var Timer = 0 ; ProgressClear DisableBombing HideGreenArea DestroyBombingAreas } /* ------------------- Objective 2 - Intercept enemy fighters. ------------------- */ if Var MissionState == 2 endif { Var Timer += 1 ; } if Var MissionState == 2 && Var Timer == 10 endif { PlayVideo videos/m18cs02.bik } if Var MissionState == 2 && Var Timer == 12 endif { Plane 9 SetActive 1 Plane 10 SetActive 1 Plane 11 SetActive 1 Plane 0 SetActive 1 Plane 1 SetActive 1 Plane 2 SetActive 1 Plane 3 SetActive 0 Plane 4 SetActive 0 Plane 0 SetDogfightExperience 2 Plane 0 SetDogfightMode Plane 1 SetDogfightExperience 2 Plane 1 SetDogfightMode Plane 2 SetDogfightExperience 2 Plane 2 SetDogfightMode Plane 5 SetActive 1 Plane 6 SetActive 1 Plane 7 SetActive 1 Player.ReloadSpecial planes/F4_Phantom/1.ini 0.0 0.0 0.0 0.0 Player.SpecialWaveEnable Player.ResetWave Player.AddToWave 5 Player.AddToWave 6 Player.AddToWave 7 Player.SetToNextPlaneInWave Player.PlanesWasChanged Player.AllowSwitch 1 Player.CannotRetireEnable } if Var MissionState == 2 && Var Timer == 15 endif { Message.DialogTime 180 24003 0 6 Objective.Add Objective2 24002 0 ProgressClear ProgressSetCaption 11700 ProgressSetFriendly 1 ProgressAddTargetPlane 0 ProgressAddTargetPlane 1 ProgressAddTargetPlane 2 } if Var MissionState == 2 && Var Timer == 16 endif { CheckPoint } if Var MissionState == 2 && Plane 0 Life <= 0 && Plane 1 Life <= 0 && Plane 2 Life <= 0 endif { MissionLeave 3 Var MissionState = 100 ; MissionFailed } if Objective.IsCompleted Objective2 == TRUE && Var skipped2 == FALSE && Var MissionState == 2 endif { Var skipped2 = TRUE ; Plane 9 SetLife 0 Plane 10 SetLife 0 Plane 11 SetLife 0 } if Var MissionState == 2 && Plane 9 Life <= 0 && Plane 10 Life <= 0 && Plane 11 Life <= 0 endif { Objective.Completed Objective2 Var MissionState = 4 ; Var Timer = 0 ; } /* ------------------- End mission ------------------- */ if Var MissionState == 4 endif { Var Timer += 1 ; } if Var MissionState == 4 && Var Timer == 10 endif { MissionCompleted MissionLeave 5 DebriefingIndex 24007 } /* ------------------------------------------------------------------------------ END --------------------------------------------------------------------------------- */ EndScript