SetHomePoint 2111.523438 384.555145 -1822.878540 RecordLoadingBeginPS3 missionpacks/mission24.pack2 /* ------------------- Vehicles ------------------- */ Vehicle 0 Add vehicles/aaa.ini 3049.457031 9.492508 723.355042 0.000000 0 Vehicle 0 SetPlaneScout 1 -1 0 Vehicle 0 SetActive 1 Vehicle 1 Add vehicles/aaa.ini 3837.440674 7.884338 1218.156494 0.000000 0 Vehicle 1 SetPlaneScout 1 -1 0 Vehicle 1 SetActive 1 Vehicle 2 Add vehicles/aaa.ini 884.571045 6.415634 2275.940430 0.000000 0 Vehicle 2 SetPlaneScout 1 -1 0 Vehicle 2 SetActive 1 Vehicle 3 Add vehicles/aaa.ini -642.271362 7.324539 1065.173218 0.000000 0 Vehicle 3 SetPlaneScout 1 -1 0 Vehicle 3 SetActive 1 Vehicle 4 Add vehicles/aaa.ini -2848.500977 8.018066 -2206.953369 0.000000 0 Vehicle 4 SetPlaneScout 1 -1 0 Vehicle 4 SetActive 1 Vehicle 5 Add vehicles/aaa.ini -3989.100586 8.449356 -5031.048828 0.000000 0 Vehicle 5 SetPlaneScout 1 -1 0 Vehicle 5 SetActive 1 /* ------------------- Ships ------------------- */ Ship 0 Add ships/Enterprise_CVN-65/enterprise.ini 1000.0 0.000000 -5000.0 0.0 1 Ship 0 SetActive 1 Ship 1 Add ships/porpoise.ini 6050.0 0.000000 -3000.0 0.0 1 Ship 1 SetActive 1 Ship 2 Add ships/p04/p04.ini 2300.0 0.000000 -900.0 0.0 0 Ship 2 SetActive 1 Ship 2 AddPoint 2200.0 0.000000 -1000.0 Ship 2 SetSpeed 0.8 Ship 2 SetPlaneScout 1 -1 0 Ship 3 Add ships/p04/p04.ini 2700.0 0.000000 -1100.0 0.0 0 Ship 3 SetActive 1 Ship 3 AddPoint 2500.0 0.000000 -2000.0 Ship 3 SetSpeed 0.8 Ship 3 SetPlaneScout 1 -1 0 Ship 4 Add ships/p04/p04.ini 2500.0 0.000000 -800.0 0.0 0 Ship 4 SetActive 1 Ship 4 AddPoint 2100.0 0.000000 -1000.0 Ship 4 SetSpeed 0.8 Ship 4 SetPlaneScout 1 -1 0 /* ------------------- Enemy planes ------------------- */ /* ------------------- Squadron 1 ------------------- */ Plane 0 Load planes/ch53/2.ini 400.0 200.0 -5500.0 0.0 1 Plane 0 SetActive 1 Plane 1 Load planes/cobra/1.ini 1200.0 150.0 -5000.0 0.0 1 Plane 1 SetActive 1 Plane 2 Load planes/cobra/1.ini 800.0 150.0 -5000.0 0.0 1 Plane 2 SetActive 1 InitializeAnimalsWithCasteaways 2500.0 0.000000 -1000.0 1 Player.ReloadSpecial planes/ch53/2.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.PlaceOnCarrier 0 Player.PlanesWasChanged Player.AllowSwitch 0 Player.CannotRetireEnable Var DefineFloat Timer Var DefineFloat MissionState Var DefineBool skipped1 Var DefineBool skipped1_2 Var DefineBool skipped2 Var DefineBool obj1_rescued Var DefineBool obj1_showedGreenArea Var DefineBool obj2_showedRedArea Var DefineBool obj2_showedGreenArea Var DefineBool obj2_showedTut Var DefineBool obj2_showedTut2 Var DefineFloat tutState Var DefineBool cameraChanged Var DefineBool cameraChangedEnd DebriefingIndex 30005 RecordLoadingEndPS3 /* ------------------------------------------------------------------------------ BEGIN - OPERATION THUNDERHEAD --------------------------------------------------------------------------------- */ BeginScript if Time == 1 endif { ShowSmokeRedPoint 0.5 1 2550.0 0.000000 -1000.0 HideDropingZone HideZone HideBombingArea HideGreenArea ClearMsgTutorial MusicPlayActionSlow Var skipped1 = FALSE ; Var skipped1_2 = FALSE ; Var skipped2 = FALSE ; Var obj1_rescued = FALSE ; Var obj1_showedGreenArea = FALSE ; Var obj2_showedRedArea = FALSE ; Var obj2_showedGreenArea = FALSE ; Var obj2_showedTut = FALSE ; Var obj2_showedTut2 = FALSE ; Var Timer = 0 ; Var tutState = 0 ; PlayPreloadedVideo videos/m24cs01.bik SetWeather 0 Player.EnableRope Player.MakeEmptyArmaments Player.DropSEALHeightWarningOff } /* ------------------- Objective 1 - Locate & rescue SEALs. ------------------- */ if Time == 3 endif { Var MissionState = 1 ; Message.DialogTime 180 30001 0 6 Objective.Add Objective1 30000 0 Ship 2 SetRadarSymbol 1 Ship 3 SetRadarSymbol 1 Ship 4 SetRadarSymbol 1 } /* Rope down */ if Var MissionState == 1 && Var tutState == 0 && Var obj1_rescued == FALSE && Player.OnGround == FALSE && Var obj2_showedTut == FALSE && Time > 15 && Player.HasCH53 == TRUE endif { Var obj2_showedTut = TRUE ; ShowMsgTutorial 11201 } if Var MissionState == 1 && Var tutState == 0 && Var obj2_showedTut == TRUE && Player.UsedRopeDown == TRUE endif { ClearMsgTutorial Var tutState = 1 ; } /* Rope up */ if Var MissionState == 1 && Var tutState == 1 && Var obj2_showedTut2 == FALSE endif { Var obj2_showedTut2 = TRUE ; ShowMsgTutorial 11202 } if Var MissionState == 1 && Var tutState == 1 && Var obj2_showedTut2 == TRUE && Player.UsedRopeUp == TRUE endif { ClearMsgTutorial Player.AllowSwitch 1 } if Var MissionState == 1 && Player.RopeDistancePoint 2500.0 0.000000 -1000.0 > 20 && Var obj1_rescued == FALSE endif { HideGreenArea } if Var MissionState == 1 && Player.RopeDistancePoint 2500.0 0.000000 -1000.0 < 20 && Var obj1_rescued == FALSE && Var obj1_showedGreenArea == FALSE endif { Var obj1_showedGreenArea = TRUE ; HideBombingArea ShowGreenArea 2500.0 0.000000 -1000.0 0.5 SetGreenAreaScaleY 2.0 } if Var MissionState == 1 && Player.RopeDistancePoint 2500.0 0.000000 -1000.0 < 100 && Var obj1_rescued == FALSE && Var obj1_showedGreenArea == FALSE endif { HideSmokeRedPoint } if Var MissionState == 1 && Player.RopeDistancePoint 2500.0 0.000000 -1000.0 < 100 && Var cameraChanged == FALSE endif { ShowMsgTutorial 10111 Var cameraChanged = TRUE ; } if Var MissionState == 1 && Var cameraChanged == TRUE && Player.ChangedCameraView == TRUE && Var cameraChangedEnd == FALSE endif { ClearMsgTutorial Var cameraChangedEnd = TRUE ; } if Var MissionState == 1 && Player.RopeDistancePoint 2500.0 0.000000 -1000.0 < 20 && Var obj1_rescued == FALSE endif { Var Timer += 1 ; } if Var MissionState == 1 && Player.RopeDistancePoint 2500.0 0.000000 -1000.0 > 20 && Var obj1_rescued == FALSE && Var Timer > 0 endif { Var Timer = 0 ; Var obj1_showedGreenArea = FALSE ; Var obj2_showedRedArea = FALSE ; } if Var MissionState == 1 && Var obj1_rescued == FALSE && Var Timer > 5 endif { ShowMsgTutorial 11202 } if Var MissionState == 1 && Var obj1_rescued == FALSE && Var Timer > 5 && Player.RopeIsUp == TRUE endif { Var obj1_rescued = TRUE ; Var Timer = 0 ; HideGreenArea DestroyAnimals HideBombingArea ClearMsgTutorial Player.DisableRope } if Var MissionState == 1 && Var obj1_rescued == TRUE endif { Var Timer += 1 ; } if Objective.IsCompleted Objective1 == TRUE && Var skipped1 == FALSE && Var MissionState == 1 endif { Var obj1_rescued = TRUE ; Var Timer = 0 ; HideGreenArea DestroyAnimals HideBombingArea ClearMsgTutorial Player.DisableRope Var skipped1 = TRUE ; Objective.Completed Objective1 Var Timer = 10 ; } if Var MissionState == 1 && Var obj1_rescued == TRUE && Var Timer == 5 endif { Objective.Completed Objective1 } if Var MissionState == 1 && Var obj1_rescued == TRUE && Var Timer == 12 endif { Objective.Add Objective1_2 30006 0 ShowDropingZoneNoPick 1000.0 28.0 -5000.0 } if Objective.IsCompleted Objective1_2 == TRUE && Var skipped1_2 == FALSE && Var MissionState == 1 endif { HideDropingZone HideZone HideBombingArea HideGreenArea ClearMsgTutorial Var skipped1_2 = TRUE ; Objective.Completed Objective1_2 Var MissionState = 2 ; Var Timer = 0 ; Var obj2_showedRedArea = FALSE ; Player.DisableRope } if Var MissionState == 1 && Var obj1_rescued == TRUE && Player.DistancePoint 1000.0 0.000000 -5000.0 < 500 && Player.OnGround == TRUE && Player.HasCH53 == TRUE endif { HideDropingZone Objective.Completed Objective1_2 Var MissionState = 2 ; Var Timer = 0 ; Var obj2_showedRedArea = FALSE ; ClearMsgTutorial } /* ------------------- Objective 2 - Deliver SEALs back to submarine location. ------------------- */ if Var MissionState == 2 endif { Var Timer += 1 ; } if Var MissionState == 2 && Var Timer == 5 endif { PlayVideo videos/m24cs02.bik } if Var MissionState == 2 && Var Timer == 7 endif { SetWeather 1 } if Var MissionState == 2 && Var Timer == 10 endif { Message.DialogTime 180 30003 0 6 Objective.Add Objective2 30002 0 ShowZone 6000.0 0.000000 -3000.0 1.5 Player.DisableRope Player.ReloadAmmo ClearMsgTutorial Player.DropSEALHeightWarningOn Var obj2_showedGreenArea = FALSE ; ProgressClear ProgressSetCaption 11205 ProgressManualModeEnable ProgressSetValue 1.0 ProgressSetFriendly 1 } if Var MissionState == 2 && Var Timer == 11 endif { CheckPoint } if Objective.IsCompleted Objective2 == TRUE && Var skipped2 == FALSE && Var MissionState == 2 endif { Var skipped2 = TRUE ; Objective.Completed Objective2 Var MissionState = 3 ; Var Timer = 0 ; } if Var MissionState == 2 && Player.DistancePoint 6000.0 0.000000 -3000.0 < 400 && Var obj2_showedGreenArea == FALSE endif { Var obj2_showedGreenArea = TRUE ; ShowGreenArea 6000.0 0.000000 -3000.0 1.0 SetGreenAreaScaleY 2.0 } if Var MissionState == 2 && Player.DistancePoint 6000.0 0.000000 -3000.0 < 30 && Player.Altitude < 10 && Player.HasCH53 == TRUE endif { ShowDropSEALMessage } if Var MissionState == 2 && Player.DistancePoint 6000.0 0.000000 -3000.0 > 30 endif { HideDropSEALMessage } if Var MissionState == 2 && Player.Altitude > 10 endif { HideDropSEALMessage } if Var MissionState == 2 && Player.DistancePoint 6000.0 0.000000 -3000.0 < 30 && Player.Altitude < 10 && Player.NumRemainingBombs == 4 endif { ProgressSetValue 1.0 } if Var MissionState == 2 && Player.DistancePoint 6000.0 0.000000 -3000.0 < 30 && Player.Altitude < 10 && Player.NumRemainingBombs == 3 endif { ProgressSetValue 0.75 } if Var MissionState == 2 && Player.DistancePoint 6000.0 0.000000 -3000.0 < 30 && Player.Altitude < 10 && Player.NumRemainingBombs == 2 endif { ProgressSetValue 0.5 } if Var MissionState == 2 && Player.DistancePoint 6000.0 0.000000 -3000.0 < 30 && Player.Altitude < 10 && Player.NumRemainingBombs == 1 endif { ProgressSetValue 0.25 } if Var MissionState == 2 && Player.DistancePoint 6000.0 0.000000 -3000.0 < 30 && Player.Altitude < 10 && Player.NumRemainingBombs == 0 endif { ProgressSetValue 0.0 } if Var MissionState == 2 && Player.DistancePoint 6000.0 0.000000 -3000.0 < 30 && Player.NumRemainingBombs <= 0 endif { Objective.Completed Objective2 Var MissionState = 3 ; Var Timer = 0 ; } if Var MissionState == 2 && Player.DistancePoint 6000.0 0.000000 -3000.0 > 30 && Player.DroppedSeal == TRUE && Player.HasCH53 == TRUE endif { MissionFailed Var MissionState = 100 ; MissionLeave 3 } if Var MissionState == 2 && Player.Altitude > 10 && Player.DroppedSeal == TRUE && Player.HasCH53 == TRUE endif { MissionFailed Var MissionState = 100 ; MissionLeave 3 } /* ------------------- End mission ------------------- */ if Var MissionState == 3 endif { Var Timer += 1 ; } if Var MissionState == 3 && Var Timer == 10 endif { MissionCompleted MissionLeave 5 DebriefingIndex 30004 } /* ------------------------------------------------------------------------------ END --------------------------------------------------------------------------------- */ EndScript