SetHomePoint 2111.523438 384.555145 -1822.878540 /* ------------------- Vehicles ------------------- */ /* ------------------- Characters ------------------- */ /* ------------------- Ships ------------------- */ Ship 0 Add ships/Enterprise_CVN-65/enterprise.ini 1000.0 0.000000 -20000.0 0.0 0 Ship 0 SetActive 1 Ship 1 Add ships/ussmadox/ussmadox.ini 7000.0 0.000000 -2000.0 0.0 0 Ship 1 SetActive 1 Ship 1 SetRadarSymbol 0 Ship 1 AddPoint 3000.0 0.000000 -2000.0 Ship 2 Add ships/fletcher.ini 7200.0 0.000000 -1700.0 0.0 0 Ship 2 SetActive 1 Ship 2 AddPoint 3000.0 0.000000 -1700.0 Ship 3 Add ships/fletcher.ini 7200.0 0.000000 -2300.0 0.0 0 Ship 3 SetActive 1 Ship 3 AddPoint 3000.0 0.000000 -2300.0 /* P-04 */ Ship 4 Add ships/p04/p04.ini 500.0 0.000000 0.0 0.0 0 Ship 4 SetActive 0 Ship 4 AddPoint 2500.0 0.000000 -1000.0 Ship 4 SetSpeed 0.8 Ship 5 Add ships/p04/p04.ini 500.0 0.000000 -2000.0 0.0 0 Ship 5 SetActive 0 Ship 5 AddPoint 2500.0 0.000000 -2000.0 Ship 5 SetSpeed 0.8 Ship 6 Add ships/p04/p04.ini 500.0 0.000000 -4000.0 0.0 0 Ship 6 SetActive 0 Ship 6 AddPoint 2500.0 0.000000 -4000.0 Ship 6 SetSpeed 0.8 /* ------------------- Enemy planes ------------------- */ /* ------------------- Squadron 1 ------------------- */ Plane 0 Load planes/F8_Crusader/1.ini 7000.0 0.000000 -2000.0 0.0 1 Plane 0 SetBombingExperience 2 Plane 0 SetShipBombingMode Plane 0 SetScoutShip 1 4 7 Plane 0 SetActVariation 1 3 Plane 0 SetActive 1 Plane 1 Load planes/F8_Crusader/1.ini 700.0 200.0 -20500.0 0.0 1 Plane 1 SetBombingExperience 2 Plane 1 SetShipBombingMode Plane 1 SetScoutShip 1 4 7 Plane 1 SetActVariation 1 3 Plane 1 SetActive 1 Plane 2 Load planes/F8_Crusader/1.ini 1000.0 200.0 -20500.0 0.0 1 Plane 2 SetBombingExperience 2 Plane 2 SetShipBombingMode Plane 2 SetScoutShip 1 4 7 Plane 2 SetActVariation 1 3 Plane 2 SetActive 1 Plane 3 Load planes/F8_Crusader/1.ini 1300.0 200.0 -20500.0 0.0 1 Plane 3 SetBombingExperience 2 Plane 3 SetShipBombingMode Plane 3 SetScoutShip 1 4 7 Plane 3 SetActVariation 1 3 Plane 3 SetActive 1 Plane 4 Load planes/F8_Crusader/1.ini 1600.0 200.0 -20500.0 0.0 1 Plane 4 SetBombingExperience 2 Plane 4 SetShipBombingMode Plane 4 SetScoutShip 1 4 7 Plane 4 SetActVariation 1 3 Plane 4 SetActive 1 Player.ReloadSpecial planes/F8_Crusader/1.ini 7000.0 200.000000 -2000.0 0.0 Player.SpecialWaveEnable Player.ResetWave Player.AddToWave 0 Player.AddToWave 1 Player.AddToWave 2 Player.AddToWave 3 Player.AddToWave 4 Player.SetToNextPlaneInWave Player.PlanesWasChanged Player.AllowSwitch 1 Player.CannotRetireEnable /* ------------------- 7000.0 0.000000 -2000.0 0.0 Player.ReloadSpecial planes/F8_Crusader/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.SetToNextPlaneInWave Player.ToCarrier 1010.0 500.000000 -20000.0 0.0 Player.PlanesWasChanged Player.AllowSwitch 1 Player.CannotRetireEnable ------------------- */ Player.SetActWeapon 1 Var DefineFloat Timer Var DefineFloat MissionState Var DefineBool skipped1 Var DefineBool skipped2 /* ------------------------------------------------------------------------------ CHars Cutscene 1 --------------------------------------------------------------------------------- */ Ship 7 Add ships/p04/p04.ini 5872.679688 -0.136041 -2512.351563 0.988000 0 Ship 7 AddPoint 5872.679688 -14.687744 -2512.351563 Ship 7 AddPoint 6999.065430 -14.687744 -1792.460938 Ship 7 SetActive 0 Ship 8 Add ships/p04/p04.ini 5813.876953 -0.112714 -2304.509277 0.988000 0 Ship 8 AddPoint 5813.876953 -14.687744 -2304.509277 Ship 8 AddPoint 6921.044922 -14.687744 -1748.416748 Ship 8 SetActive 0 Ship 9 Add ships/p04/p04.ini 5455.995117 -0.112057 -2303.607422 0.988000 0 Ship 9 AddPoint 5455.995117 -14.687744 -2303.607422 Ship 9 AddPoint 6816.332520 -14.687744 -1726.830200 Ship 9 SetActive 0 Ship 10 Add ships/Enterprise_CVN-65/enterprise.ini -738.916809 0.000000 -654.427612 8.361370 0 Ship 10 SetActive 1 Plane 9 Load planes/F8_Crusader/1.ini -646.991577 30.170486 -698.390259 8.411850 0 Plane 9 AddScoutPoint 300.409668 100.312256 -1300.824951 Plane 9 SetActive 0 Plane 10 Load planes/F8_Crusader/1.ini -662.337769 30.252090 -727.510620 8.273297 0 Plane 10 SetActive 0 Plane 11 Load planes/F8_Crusader/1.ini -687.472778 30.099747 -669.211792 8.393552 0 Plane 11 SetActive 0 Plane 12 Load planes/F8_Crusader/1.ini -711.296265 30.150650 -686.319397 8.393552 0 Plane 12 SetActive 0 /* ------------------------------------------------------------------------------ CHars Cutscene 2 --------------------------------------------------------------------------------- */ Ship 11 Add ships/p04/p04.ini 5872.679688 -0.136041 -2512.351563 0.988000 0 Ship 11 AddPoint 5872.679688 -14.687744 -2512.351563 Ship 11 AddPoint 6999.065430 -14.687744 -1792.460938 Ship 11 SetActive 0 Ship 12 Add ships/p04/p04.ini 5813.876953 -0.112714 -2304.509277 0.988000 0 Ship 12 AddPoint 5813.876953 -14.687744 -2304.509277 Ship 12 AddPoint 6921.044922 -14.687744 -1748.416748 Ship 12 SetActive 0 Ship 13 Add ships/p04/p04.ini 5455.995117 -0.112057 -2303.607422 0.988000 0 Ship 13 AddPoint 5455.995117 -14.687744 -2303.607422 Ship 13 AddPoint 6816.332520 -14.687744 -1726.830200 Ship 13 SetActive 0 Plane 5 Load planes/F8_Crusader/1.ini 7387.409668 103.312256 -2005.824951 4.533901 0 Plane 5 AddScoutPoint 7387.409668 83.312256 -2005.824951 Plane 5 AddScoutPoint 5562.833984 83.312256 -2487.955566 Plane 5 SetPointScoutMode 1 Plane 5 SetActive 0 Plane 6 Load planes/F8_Crusader/1.ini 7465.402832 83.312256 -1933.826904 4.433901 0 Plane 6 AddScoutPoint 7465.402832 83.312256 -1933.826904 Plane 6 AddScoutPoint 5647.087891 83.312256 -2318.993896 Plane 6 SetPointScoutMode 1 Plane 6 SetActive 0 Plane 7 Load planes/F8_Crusader/1.ini 7371.433594 93.312256 -1908.047485 4.533901 0 Plane 7 AddScoutPoint 7371.433594 83.312256 -1908.047485 Plane 7 AddScoutPoint 5561.650879 83.312256 -2110.093262 Plane 7 SetPointScoutMode 1 Plane 7 SetActive 0 Plane 8 Load planes/F8_Crusader/1.ini 7555.345703 83.312256 -1883.903076 4.583901 0 Plane 8 AddScoutPoint 7555.345703 83.312256 -1883.903076 Plane 8 AddScoutPoint 5276.042969 83.312256 -2430.101074 Plane 8 SetPointScoutMode 1 Plane 8 SetActive 0 Plane 13 Load planes/F8_Crusader/1.ini 7387.409668 90.312256 -2005.824951 4.433901 0 Plane 13 AddScoutPoint 7387.409668 83.312256 -2005.824951 Plane 13 AddScoutPoint 5562.833984 83.312256 -2487.955566 Plane 13 SetPointScoutMode 1 Plane 13 SetActive 0 Plane 14 Load planes/F8_Crusader/1.ini 7465.402832 83.312256 -1933.826904 4.533901 0 Plane 14 AddScoutPoint 7465.402832 83.312256 -1933.826904 Plane 14 AddScoutPoint 5647.087891 83.312256 -2318.993896 Plane 14 SetPointScoutMode 1 Plane 14 SetActive 0 Plane 15 Load planes/F8_Crusader/1.ini 7371.433594 73.312256 -1908.047485 4.633901 0 Plane 15 AddScoutPoint 7371.433594 83.312256 -1908.047485 Plane 15 AddScoutPoint 5561.650879 83.312256 -2110.093262 Plane 15 SetPointScoutMode 1 Plane 15 SetActive 0 Plane 16 Load planes/F8_Crusader/1.ini 7555.345703 93.312256 -1883.903076 4.833901 0 Plane 16 AddScoutPoint 7555.345703 83.312256 -1883.903076 Plane 16 AddScoutPoint 5276.042969 83.312256 -2430.101074 Plane 16 SetPointScoutMode 1 Plane 16 SetActive 0 Ship 14 Add ships/ussmadox/ussmadox.ini 9000.0 0.000000 -2000.0 0.0 0 Ship 14 SetActive 1 Ship 14 AddPoint 3000.0 0.000000 -2000.0 Ship 15 Add ships/fletcher.ini 9200.0 0.000000 -1700.0 0.0 0 Ship 15 SetActive 1 Ship 15 AddPoint 3000.0 0.000000 -1700.0 Ship 16 Add ships/fletcher.ini 9200.0 0.000000 -2300.0 0.0 0 Ship 16 SetActive 1 Ship 16 AddPoint 3000.0 0.000000 -2300.0 Ship 17 Add ships/p04/p04.ini 5872.679688 -0.136041 -2512.351563 0.988000 0 Ship 17 AddPoint 5872.679688 -14.687744 -2512.351563 Ship 17 AddPoint 6999.065430 -14.687744 -1792.460938 Ship 17 SetActive 0 Ship 18 Add ships/p04/p04.ini 5813.876953 -0.112714 -2304.509277 0.988000 0 Ship 18 AddPoint 5813.876953 -14.687744 -2304.509277 Ship 18 AddPoint 6921.044922 -14.687744 -1748.416748 Ship 18 SetActive 0 Ship 19 Add ships/p04/p04.ini 5455.995117 -0.112057 -2303.607422 0.988000 0 Ship 19 AddPoint 5455.995117 -14.687744 -2303.607422 Ship 19 AddPoint 6816.332520 -14.687744 -1726.830200 Ship 19 SetActive 0 BeginScript /* ------------------------------------------------------------------------------------------------------------------------------- Cutscene 1 ---------------------------------------------------------------------------------------------------------------------------------- */ Ship 7 SetActive 1 Ship 8 SetActive 1 Ship 9 SetActive 1 if Time == 10 endif { CutSceneRecordingPosition 5 game/campaign/us/mission22/m22c1.cam 0 } if Time == 15 endif { Ship 7 SetActive 0 Ship 8 SetActive 0 Ship 9 SetActive 0 Ship 10 SetActive 1 Ship 10 CatapultUp Plane 9 SetActive 1 Plane 9 ToCarrier -646.991577 30.170486 -698.390259 8.411850 Plane 9 SetOnGroundMode Plane 9 NotRotateScrew 1 Plane 10 SetActive 1 Plane 10 ToCarrier -662.337769 30.252090 -727.510620 8.273297 Plane 10 SetOnGroundMode Plane 10 NotRotateScrew 1 Plane 11 SetActive 1 Plane 11 ToCarrier -687.472778 30.099747 -669.211792 8.393552 Plane 11 SetOnGroundMode Plane 11 NotRotateScrew 1 Plane 12 SetActive 1 Plane 12 ToCarrier -711.296265 30.150650 -686.319397 8.393552 Plane 12 SetOnGroundMode Plane 12 NotRotateScrew 1 CutSceneRecordingPosition 5 game/campaign/us/mission22/m22c2.cam 0 } if Time == 17 endif { Plane 9 SetDogfightMode /* Plane 9 AddScoutPointForward 2000 Plane 9 SetPointScoutMode 1 */ } if Time == 18 endif { Plane 9 SetAiEnabled 0 } if Time == 11 endif { Message.CutScene 180 992211 0 8 } if Time == 20 endif { Ship 10 SetActive 0 Plane 9 SetActive 0 Plane 10 SetActive 0 Plane 11 SetActive 0 Plane 12 SetActive 0 } /* ------------------------------------------------------------------------------------------------------------------------------- Cutscene 2 ---------------------------------------------------------------------------------------------------------------------------------- */ if Time == 22 endif { Ship 11 SetActive 1 Ship 12 SetActive 1 Ship 13 SetActive 1 Plane 5 SetActive 1 Plane 5 SetAiEnabled 0 Plane 6 SetActive 1 Plane 6 SetAiEnabled 0 Plane 7 SetActive 1 Plane 7 SetAiEnabled 0 Plane 8 SetActive 1 Plane 8 SetAiEnabled 0 CutSceneRecordingPosition 5 game/campaign/us/mission22/m22c3.cam 0 } if Time == 27 endif { Ship 14 SetActive 1 Ship 15 SetActive 1 Ship 16 SetActive 1 Ship 17 SetActive 1 Ship 18 SetActive 1 Ship 19 SetActive 1 Ship 1 SetActive 0 Ship 2 SetActive 0 Ship 3 SetActive 0 Ship 11 SetActive 0 Ship 12 SetActive 0 Ship 13 SetActive 0 } if Time == 32 endif { Plane 5 SetActive 0 Plane 6 SetActive 0 Plane 7 SetActive 0 Plane 8 SetActive 0 Plane 13 SetActive 1 Plane 13 SetAiEnabled 0 Plane 14 SetActive 1 Plane 14 SetAiEnabled 0 Plane 15 SetActive 1 Plane 15 SetAiEnabled 0 Plane 16 SetActive 1 Plane 16 SetAiEnabled 0 CutSceneRecordingPosition 5 game/campaign/us/mission22/m22c4_2.cam 0 } if Time == 23 endif { Message.CutScene 180 992221 0 8 } if Time == 37 endif { Ship 10 SetActive 0 Ship 11 SetActive 0 Ship 12 SetActive 0 Plane 13 SetActive 0 Plane 14 SetActive 0 Plane 15 SetActive 0 Plane 16 SetActive 0 Ship 14 SetActive 0 Ship 15 SetActive 0 Ship 16 SetActive 0 Ship 17 SetActive 0 Ship 18 SetActive 0 Ship 19 SetActive 0 } /* ------------------------------------------------------------------------------ BEGIN - TONKIN GULF PATROL --------------------------------------------------------------------------------- */ if Time == 2 endif { MusicPlayActionSlow Var skipped1 = FALSE ; Var skipped2 = FALSE ; } /* ------------------- Objective 1 - Defend USS Maddox. ------------------- */ if Time == 3 endif { Var MissionState = 1 ; Message.DialogTime 180 28001 0 6 Objective.Add Objective1 28000 0 } if Var MissionState == 1 endif { Var Timer += 1 ; } if Objective.IsCompleted Objective1 == TRUE && Var skipped1 == FALSE && Var MissionState == 1 endif { Var skipped1 = TRUE ; Objective.CompletedHide Objective1 Var MissionState = 2 ; Var Timer = 0 ; } if Var MissionState == 1 && Player.DistancePoint 2500.0 0.000000 -2000.0 < 5000 endif { Objective.CompletedHide Objective1 Var MissionState = 2 ; Var Timer = 0 ; } /* ------------------- Objective 2 - Destroy torpedo boats & defend USS Maddox. ------------------- */ if Var MissionState == 2 endif { Var Timer += 1 ; } if Var MissionState == 2 && Var Timer == 2 endif { CheckPoint } if Var MissionState == 2 && Var Timer == 4 endif { Message.DialogTime 180 28003 0 6 Objective.Add Objective2 28002 0 ProgressCounterClear ProgressCounterSetInverse ProgressCounterSetCaption 28010 ProgressCounterSetTotal 3 ProgressAddTargetShip 4 ProgressAddTargetShip 5 ProgressAddTargetShip 6 Ship 4 SetRadarSymbol 1 Ship 5 SetRadarSymbol 1 Ship 6 SetRadarSymbol 1 } if Var MissionState == 2 && Var Timer == 7 endif { Ship 4 FireTorpedo Ship 5 FireTorpedo Ship 6 FireTorpedo } if Var MissionState == 2 && Var Timer == 15 endif { Ship 4 FireTorpedo Ship 5 FireTorpedo Ship 6 FireTorpedo } if Var MissionState == 2 && Var Timer == 20 endif { Ship 4 FireTorpedo Ship 5 FireTorpedo Ship 6 FireTorpedo } if Objective.IsCompleted Objective2 == TRUE && Var skipped2 == FALSE && Var MissionState == 2 endif { Var skipped2 = TRUE ; Ship 4 Life = 0 ; Ship 5 Life = 0 ; Ship 6 Life = 0 ; } if Var MissionState == 2 && Ship 4 Life <= 0 && Ship 5 Life <= 0 && Ship 6 Life <= 0 endif { Objective.Completed Objective2 Var MissionState = 3 ; Var Timer = 0 ; ProgressCounterClear } /* ------------------- End mission ------------------- */ if Var MissionState == 3 endif { Var Timer += 1 ; } if Var MissionState == 3 && Var Timer == 10 endif { MissionCompleted MissionLeave 5 DebriefingIndex 28004 } if Player.Life <= 0 endif { DebriefingIndex 28005 } /* ------------------------------------------------------------------------------ END --------------------------------------------------------------------------------- */ EndScript