ED Forums - View Single Post - [MOOSE] RAT - Random Air Traffic
View Single Post
Old 05-10-2018, 01:45 PM   #168
funkyfranky
Senior Member
 
funkyfranky's Avatar
 
Join Date: Sep 2015
Location: Asgård
Posts: 2,313
Default RAT v2.2 Showcases

High Frequency Outbound Traffic At McCarran International



Seven aircraft are spawned at McCarran and begin their journey. Each time an aircraft takes off, a new aircraft is spawned at McCarran. This generates a lot of outbound traffic.
The aircraft will fly to a zone at Lake Mead and will be despawned there.

MOOSE RAT script:
Code:
-- Liveries
local b737skins={"Air Algerie", "Air Berlin", "Air France", "airBaltic", "Airzena", "AM", "American_Airlines", "British Airways", "C40s", "Clean", "Disney", "EA", "easyjet", "FINNAIR", "HARIBO", "JA", "Jet2", "kulula", "LH", "Lufthansa BA", "Lufthansa KR", "OLD_BA", "OMAN AIR", "PAN AM", "Polskie Linie Lotnicze LOT", "QANTAS", "RYANAIR", "SouthWest Lone Star", "ThomsonFly", "TNT",  "Ukraine Airlines", "UPS"}

local b737=RAT:New("RAT_B737", "B737 Outbound")
b737:SetDeparture("McCarran International Airport")
b737:SetDestination("RAT Zone")
b737:Livery(b737skins)
b737:SetMaxRespawnTriedWhenSpawnedOnRunway(0)
b737:StatusReports(false)
b737:SetSpawnDelay(60)
b737:SetSpawnInterval(10)
b737:SetTakeoff("cold")
b737:RespawnInAirNotAllowed()
b737:RespawnAfterTakeoff()
b737:Spawn(7)
Activate Uncontrolled Aircraft



44 aircraft are spawned at Henderson Executive Airport in uncontrolled state. Only 30 are activated and begin their mission. They will be respawned (again in uncontrolled state) at the airport they arrived and continue from there once they get activated.

During the mission only 30 aircraft will be active. The aircraft that get activated are selected randomly from the pool of uncontrolled aircraft.

MOOSE RAT script:
Code:
-- Skins
local cessnaskins={"Blank", "D-EKVW", "HellenicAF", "Muster", "N9672H", "SEagle_blue", "SEagle_red", "USAF-Academy", "V5-BUG", "VH-JGA"}

local cessna=RAT:New("RAT_CESSNA", "Cessna Henderson")
cessna:SetDeparture("Henderson Executive Airport")
cessna:Livery(cessnaskins)
cessna:SetSpawnDelay(30)
cessna:SetSpawnInterval(0.5)
cessna:Uncontrolled()
cessna:ActivateUncontrolled(30, 120, 120, 0.5)
cessna:ContinueJourney()
cessna:Spawn(44)
Attached Files
File Type: miz McCarran_Outbound.miz (196.5 KB, 226 views)
File Type: miz Uncontrolled_Demo.miz (196.0 KB, 186 views)
__________________
Multiple exclamation marks, are a sure sign of a diseased mind.
i7-8700K | Asus RTX 2080Ti Strix OC | 32 GB Ram 3200 MHz DDR-4 | Asus Maximus Hero X | Samung EVO 960 Pro SSD | VKB Gunfighter Pro | MFG Crosswind | Rift S
RAT - On the Range - Rescue Helo - Recovery Tanker - Warehouse - Airboss

Last edited by funkyfranky; 05-10-2018 at 01:49 PM.
funkyfranky is offline   Reply With Quote