Mitharg

Random Air Traffic Script

May 13th, 2021
731
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --↓↓ RAT ↓↓---------------------------------------------------------------------------------------------------------------------------------------------------------
  2. local F14Bskins = {
  3.     'VF-11 Red Rippers (1997)',
  4.     'VF-24 Renegades',
  5.     'VF-32 Fighting Swordsmen 101',
  6.     'VF-32 Fighting Swordsmen 102',
  7.     'VF-32 Fighting Swordsmen 103',
  8.     'VF-74 BeDevilers 1991',
  9.     'VF-101 Dark',
  10.     'VF-101 Grim Reapers Low Vis',
  11.     'VF-101 Red',
  12.     'VF-102 Diamondbacks',
  13.     'VF-102 Diamondbacks 102',
  14.     'VF-103 Jolly Rogers Hi Viz',
  15.     'VF-103 Last Ride',
  16.     'VF-103 Sluggers 206 (1995)',
  17.     'VF-103 Sluggers 207 (1991)',
  18.     'VF-142 Ghostriders',
  19.     'VF-143 Pukin Dogs CAG',
  20.     'VF-143 Pukin Dogs Low Vis',
  21.     'VF-143 Pukin Dogs Low Vis (1995)',
  22.     'VF-211 Fighting Checkmates'
  23. }
  24.  
  25. local F18Cskins = {
  26.     'VFA-34',
  27.     'VFA-37',
  28.     'VFA-83',
  29.     'VFA-87',
  30.     'VFA-97',
  31.     'VFA-106',
  32.     'VFA-106 high visibility',
  33.     'VFA-113',
  34.     'VFA-122',
  35.     'VFA-131',
  36.     'VFA-192',
  37.     'VFC-12',
  38.     'VMFA-122',
  39.     'VMFA-122 high visibility',
  40.     'VMFA-232',
  41.     'VMFA-232 high visibility',
  42.     'VMFA-251',
  43.     'VMFA-251 high visibility',
  44.     'VMFA-312',
  45.     'VMFA-312 high visibility',
  46.     'VMFA-314',
  47.     'VMFA-323',
  48.     'VMFA-323_high visibility',
  49.     'VMFA-531',
  50.     'VMFAT-101',
  51.     'VMFAT-101 high visibility',
  52.     'VMFAT-101 high visibility 2005',
  53.     'VX-31 CoNA'
  54. }
  55.  
  56. local f5e3skins = {
  57.     'US Aggressor VFC-13 01',
  58.     'US Aggressor VFC-13 25',
  59.     'US Aggressor VFC-13 28 Fict Splinter',
  60.     'US Aggressor VFC-13 40',
  61.     'US Aggressor VFC-111 01',
  62.     'US Aggressor VFC-111 105 WWII B',
  63.     'US Aggressor VFC-111 115',
  64.     'US Aggressor VFC-111 116',
  65.     'US Aggressor VMFT-401 02 2011',
  66.     'US USAF Grape 31',
  67.     'USA standard',
  68.     "USAF 'Southeast Asia'"
  69. }
  70.  
  71. local f15cskins = {
  72.     '12th Fighter SQN (AK)',
  73.     '58th Fighter SQN (EG)',
  74.     '65th Aggressor SQN (WA) Flanker',
  75.     '65th Aggressor SQN (WA) MiG',
  76.     '65th Aggressor SQN (WA) SUPER_Flanker',
  77.     '106th SQN (8th Airbase)',
  78.     '390th Fighter SQN',
  79.     '433rd Weapons SQN (WA)',
  80.     '493rd Fighter SQN (LN)',
  81.     'Ferris Scheme',
  82.     'HAF AEGEAN GHOST'
  83. }
  84.  
  85. local Harrierskins = {
  86.     'VMA-211',
  87.     'VMA-211D',
  88.     'VMA-214',
  89.     'VMA-214D',
  90.     'VMA-223D',
  91.     'VMA-231-1',
  92.     'VMA-231-2',
  93.     'VMA-231D',
  94.     'VMA-311',
  95.     'VMA-311D',
  96.     'VMA-513',
  97.     'VMA-513D',
  98.     'VMA-542',
  99.     'VMAT-203',
  100.     'VMAT-203S'
  101. }
  102.  
  103. local A10Cskins = {
  104.     '23rd TFW England AFB (EL)',
  105.     '25th FS Osan AB, Korea (OS)',
  106.     '47th FS Barksdale AFB, Louisiana (BD)',
  107.     '66th WS Nellis AFB, Nevada (WA)',
  108.     '74th FS Moody AFB, Georgia (FT)',
  109.     '104th FS Maryland ANG, Baltimore (MD)',
  110.     '118th FS Bradley ANGB, Connecticut (CT)',
  111.     '118th FS Bradley ANGB, Connecticut (CT) N621',
  112.     '172nd FS Battle Creek ANGB, Michigan (BC)',
  113.     '184th FS Arkansas ANG, Fort Smith (FS)',
  114.     '190th FS Boise ANGB, Idaho (ID)',
  115.     '354th FS Davis Monthan AFB, Arizona (DM)',
  116.     '355th FS Eielson AFB, Alaska (AK)',
  117.     '357th FS Davis Monthan AFB, Arizona (DM)',
  118.     '422nd TES Nellis AFB, Nevada (OT)'
  119. }
  120.  
  121. if enable_AirTraffic == true then
  122.     local RATF14B =
  123.         RAT:New('RAT_F14B', 'F14B managed'):Livery(F14Bskins):SetTakeoff('hot'):SetTerminalType(AIRBASE.TerminalType.OpenBig):SetROT('noreaction'):SetFLcruise(360):SetFLmin(
  124.         140
  125.     ):SetEPLRS(true):EnableATC(false)
  126.  
  127.     local RATF18C =
  128.         RAT:New('RAT_F18C', 'F18C managed'):Livery(F18Cskins):SetTakeoff('hot'):SetTerminalType(AIRBASE.TerminalType.OpenBig):SetROT('noreaction'):SetFLcruise(360):SetFLmin(
  129.         140
  130.     ):SetEPLRS(true):EnableATC(false)
  131.  
  132.     local RATF5E3 =
  133.         RAT:New('RAT_F5', 'F5 managed'):Livery(f5e3skins):SetTakeoff('hot'):SetTerminalType(AIRBASE.TerminalType.OpenBig):SetROT('noreaction'):SetFLcruise(360):SetFLmin(
  134.         140
  135.     ):SetEPLRS(true):EnableATC(false)
  136.  
  137.     local RATJF17 =
  138.         RAT:New('RAT_JF17', 'JF17 managed'):Livery(CeagleeIIskins):SetTakeoff('hot'):SetTerminalType(AIRBASE.TerminalType.OpenBig):SetROT('noreaction'):SetFLcruise(
  139.         360
  140.     ):SetFLmin(140):SetEPLRS(true):EnableATC(false)
  141.  
  142.     local RATF15C =
  143.         RAT:New('RAT_F15C', 'F15C managed'):Livery(f15cskins):SetTakeoff('hot'):SetTerminalType(AIRBASE.TerminalType.OpenBig):SetROT('noreaction'):SetFLcruise(360):SetFLmin(
  144.         140
  145.     ):SetEPLRS(true):EnableATC(false)
  146.  
  147.     local RATharrier =
  148.         RAT:New('RAT_Harrier', 'Harrier managed'):Livery(Harrierskins):SetTakeoff('hot'):SetTerminalType(AIRBASE.TerminalType.OpenBig):SetROT('noreaction'):SetFLcruise(
  149.         360
  150.     ):SetFLmin(140):SetEPLRS(true):EnableATC(false)
  151.  
  152.     local RATA10C =
  153.         RAT:New('RAT_A10C', 'A10C managed'):Livery(A10Cskins):SetTakeoff('hot'):SetTerminalType(AIRBASE.TerminalType.OpenBig):SetROT('noreaction'):SetFLcruise(360):SetFLmin(
  154.         140
  155.     ):SetEPLRS(true):EnableATC(false)
  156.  
  157.     local manager = RATMANAGER:New(MAX_Air_Traffic_Planes)
  158.     manager:Add(RATF14B, 1)
  159.     manager:Add(RATF18C, 1)
  160.     manager:Add(RATF5E3, 1)
  161.     manager:Add(RATJF17, 1)
  162.     manager:Add(RATF15C, 1)
  163.     manager:Add(RATharrier, 1)
  164.     manager:Add(RATA10C, 1)
  165.     manager:Start(2)
  166. end
  167. --↓↓ FIN ↓↓---------------------------------------------------------------------------------------------------------------------------------------------------------
  168.  
RAW Paste Data