mirror of
https://github.com/FlightControl-Master/MOOSE_MISSIONS.git
synced 2026-08-19 03:35:37 +00:00
Add files via upload
This commit is contained in:
+14
-6
@@ -1,6 +1,8 @@
|
|||||||
|
---
|
||||||
-- Name: RAT-010 - Traffic at McCarran International
|
-- Name: RAT-010 - Traffic at McCarran International
|
||||||
-- Author: funkyfranky
|
-- Author: funkyfranky
|
||||||
-- Date Created: 24 Sep 2017
|
-- Date Created: 24 Sep 2017
|
||||||
|
-- Updated: 10 Oct 2023
|
||||||
--
|
--
|
||||||
-- # Situation:
|
-- # Situation:
|
||||||
--
|
--
|
||||||
@@ -16,6 +18,8 @@
|
|||||||
-- Create RAT object from KC-135 template.
|
-- Create RAT object from KC-135 template.
|
||||||
local kc135=RAT:New("RAT_KC135")
|
local kc135=RAT:New("RAT_KC135")
|
||||||
|
|
||||||
|
kc135:SetCoalition("same")
|
||||||
|
|
||||||
-- Set departure zones. We need takeoff "air" for that.
|
-- Set departure zones. We need takeoff "air" for that.
|
||||||
kc135:SetDeparture({"RAT Zone North", "RAT Zone East"})
|
kc135:SetDeparture({"RAT Zone North", "RAT Zone East"})
|
||||||
|
|
||||||
@@ -23,7 +27,7 @@ kc135:SetDeparture({"RAT Zone North", "RAT Zone East"})
|
|||||||
kc135:SetTakeoff("air")
|
kc135:SetTakeoff("air")
|
||||||
|
|
||||||
-- Aircraft will fly to McCarran
|
-- Aircraft will fly to McCarran
|
||||||
kc135:SetDestination("McCarran International Airport")
|
kc135:SetDestination(AIRBASE.Nevada.McCarran_International_Airport)
|
||||||
|
|
||||||
-- Spawn two aircraft.
|
-- Spawn two aircraft.
|
||||||
kc135:Spawn(2)
|
kc135:Spawn(2)
|
||||||
@@ -32,8 +36,10 @@ kc135:Spawn(2)
|
|||||||
-- Create RAT object from E-3A template.
|
-- Create RAT object from E-3A template.
|
||||||
local e3=RAT:New("RAT_E3")
|
local e3=RAT:New("RAT_E3")
|
||||||
|
|
||||||
|
e3:SetCoalition("same")
|
||||||
|
|
||||||
-- Aircraft are spawned at McCarran. Destinations are random.
|
-- Aircraft are spawned at McCarran. Destinations are random.
|
||||||
e3:SetDeparture("McCarran International Airport")
|
e3:SetDeparture(AIRBASE.Nevada.McCarran_International_Airport)
|
||||||
|
|
||||||
-- Enable respawn after landing with a delay of six minutes.
|
-- Enable respawn after landing with a delay of six minutes.
|
||||||
e3:RespawnAfterLanding(360)
|
e3:RespawnAfterLanding(360)
|
||||||
@@ -46,10 +52,10 @@ e3:Spawn(2)
|
|||||||
local yak=RAT:New("RAT_YAK")
|
local yak=RAT:New("RAT_YAK")
|
||||||
|
|
||||||
-- These are the airports a Yak-40 gets a parking slot.
|
-- These are the airports a Yak-40 gets a parking slot.
|
||||||
yak:SetDeparture({"Tonopah Airport", "Tonopah Test Range Airfield", "Henderson Executive Airport", "Nellis AFB", "Groom Lake", "Laughlin Airport"})
|
yak:SetDeparture({AIRBASE.Nevada.Tonopah_Airport, AIRBASE.Nevada.Tonopah_Test_Range_Airfield, AIRBASE.Nevada.Henderson_Executive_Airport, AIRBASE.Nevada.Nellis_AFB, AIRBASE.Nevada.Groom_Lake_AFB, AIRBASE.Nevada.Laughlin_Airport})
|
||||||
|
|
||||||
-- Destination McCarran.
|
-- Destination McCarran.
|
||||||
yak:SetDestination("McCarran International Airport")
|
yak:SetDestination(AIRBASE.Nevada.McCarran_International_Airport)
|
||||||
|
|
||||||
-- Spawn eight Yak-40.
|
-- Spawn eight Yak-40.
|
||||||
yak:Spawn(8)
|
yak:Spawn(8)
|
||||||
@@ -58,11 +64,13 @@ yak:Spawn(8)
|
|||||||
-- Create RAT object from E-3A template.
|
-- Create RAT object from E-3A template.
|
||||||
local tf51=RAT:New("RAT_TF51")
|
local tf51=RAT:New("RAT_TF51")
|
||||||
|
|
||||||
|
tf51:SetCoalition("same")
|
||||||
|
|
||||||
-- Departure airport will be chosen from this list.
|
-- Departure airport will be chosen from this list.
|
||||||
tf51:SetDeparture({"Henderson Executive Airport", "Boulder City Airport", "Echo Bay"})
|
tf51:SetDeparture({AIRBASE.Nevada.Henderson_Executive_Airport, AIRBASE.Nevada.Boulder_City_Airport, AIRBASE.Nevada.Echo_Bay})
|
||||||
|
|
||||||
-- All will fly to McCarran.
|
-- All will fly to McCarran.
|
||||||
tf51:SetDestination("McCarran International Airport")
|
tf51:SetDestination(AIRBASE.Nevada.McCarran_International_Airport)
|
||||||
|
|
||||||
-- Spawn four TF-51D
|
-- Spawn four TF-51D
|
||||||
tf51:Spawn(4)
|
tf51:Spawn(4)
|
||||||
|
|||||||
Reference in New Issue
Block a user