RogueRunner Posted January 23, 2019 Share Posted January 23, 2019 try \Program Files\Eagle Dynamics\DCS World OpenBeta\Bazar\Liveries\C-130 :thumbup: With the price of ammunition these days do not expect a warning shot. Link to comment Share on other sites More sharing options...
vctpil Posted January 25, 2019 Share Posted January 25, 2019 (edited) Hi Vincent! Sorry, my reply was aimed at Seance12, who had "Commute" with a lower case "c". Your script with the capital "C" is correct. You actually have another issue. Believe it or not, a C-130 is too big for Creech AFB. It has nothing to do with RAT, it is a DCS setting. You can try to place a C-130 to takeoff from ramp at Creech AFB and you will see that it snaps to another airbase. That is correct. After landing on Creech AFB, the C-130 disappears in the middle of the runway, and stop the commute function. So, I tried Tonopah to Nellis, and it works great. After landing in Nellis, the aircraft taxi to the ramp, stop, disappear and the same aircraft appears to fly to Tonopah. Despite this DCS limitations, there is still a lot of possibilities. Thanks, Vincent Edited January 25, 2019 by vctpil IAMD Ryzen 9 5900X 12x 3.7 to 4.8Ghz - 32Go DDR4 3600Mhz - GeForce RTX 3080 - Samsung Odyssey G7 QLED - AIMXY Link to comment Share on other sites More sharing options...
funkyfranky Posted January 28, 2019 Author Share Posted January 28, 2019 Sure .. here I'm ataching my parameter script, and a Mission where it is used (tough the mission is for the C-101 and uses the VPC Airfield Scenery Mod, so I'm not sure if you will be able to run it). Hi Rudel, sorry for the late reply. Here is a version of the script with delays: local an26=RAT:New("RAT-An26", "An-26") an26:SetCoalitionAircraft("red") an26:SetCoalition("sameonly") an26:SetTakeoff("cold") an26:SetSpawnDelay(1) an26:Spawn(1) local Ka50=RAT:New("RAT-Ka50", "Ka-50") Ka50:SetCoalitionAircraft("red") Ka50:SetCoalition("sameonly") Ka50:SetTakeoff("cold") Ka50:SetSpawnDelay(2) Ka50:Spawn(1) local Mi26=RAT:New("RAT-Mi26", "Mi-26") Mi26:SetCoalitionAircraft("red") Mi26:SetCoalition("sameonly") Mi26:SetTakeoff("cold") Mi26:SetSpawnDelay(3) Mi26:Spawn(1) local Mi8=RAT:New("RAT-Mi8", "Mi-8") Mi8:SetCoalitionAircraft("red") Mi8:SetCoalition("sameonly") Mi8:SetTakeoff("cold") Mi8:SetSpawnDelay(4) Mi8:Spawn(1) local an30=RAT:New("RAT-An30", "An-30") an30:SetCoalitionAircraft("red") an30:SetCoalition("sameonly") an30:SetTakeoff("cold") an30:SetSpawnDelay(5) an30:Spawn(1) local Il76=RAT:New("RAT-Il76", "Il-76") Il76:SetCoalitionAircraft("red") Il76:SetCoalition("sameonly") Il76:SetTakeoff("cold") Il76:SetTerminalType(AIRBASE.TerminalType.OpenBig) Il76:SetSpawnDelay(6) Il76:Spawn(1) local A50=RAT:New("RAT-A50", "A-50") A50:SetCoalitionAircraft("red") A50:SetCoalition("sameonly") A50:SetTakeoff("cold") A50:SetTerminalType(AIRBASE.TerminalType.OpenBig) A50:SetSpawnDelay(7) A50:Spawn(1) It's just a second between each spawn so that the routine knows that a parking spot is already taken when spawning the next. It's a very nice setup at the airbase btw :thumbup: A warrior's mission is to foster the success of others. i9-12900K | MSI RTX 3080Ti Suprim X | 128 GB Ram 3200 MHz DDR-4 | MSI MPG Edge Z690 | Samung EVO 980 Pro SSD | Virpil Stick, Throttle and Collective | MFG Crosswind | HP Reverb G2 RAT - On the Range - Rescue Helo - Recovery Tanker - Warehouse - Airboss Link to comment Share on other sites More sharing options...
Rudel_chw Posted January 28, 2019 Share Posted January 28, 2019 Hi Rudel, sorry for the late reply. Here is a version of the script with delays: Thanks a lot, will try it tonight It's a very nice setup at the airbase btw :thumbup: :) thanks, I tried not to overdo it so that the AI traffic is not affected Best regards For work: iMac mid-2010 of 27" - Core i7 870 - 6 GB DDR3 1333 MHz - ATI HD5670 - SSD 256 GB - HDD 2 TB - macOS High Sierra For Gaming: 34" Monitor - Ryzen 3600X - 32 GB DDR4 2400 - nVidia GTX1070ti - SSD 1.25 TB - HDD 10 TB - Win10 Pro - TM HOTAS Cougar - Oculus Rift CV1 Mobile: iPad Pro 12.9" of 256 GB Link to comment Share on other sites More sharing options...
McShetty Posted February 21, 2019 Share Posted February 21, 2019 I'm trying to use Uncontrolled and ActivateUncontrolled. Is there a way to make aircraft spawn in certain spots rather than just randomly all over the airport? i.e. Spawn 4x F/A-18s and always have them to come up in spots 5, 6, 7, 8. This also makes sure client spots are not blocked. I just want them to look organized before they go off on their flights. Link to comment Share on other sites More sharing options...
Castello Posted March 14, 2019 Share Posted March 14, 2019 Hi, fantastic work with this Script, it really brings the DCS World to life! Does anyone know how to add specific suffixes to the RAT Aircraft that are spawned? We are using LOT4ATC and it recognises #FF:xxxx where xxxx is the 4 digit Mode C Squawk code. When RAT spawns a new aircraft based upon the template aircraft, it gives it a name that is a code, to make it unique. Does anyone know how I can force these aircraft to have "#FF:xxxx" added to the end of this name? This will allow ATCs and ABMs on LOT4ATC to identify civilian aircraft by Squawk. Thanks :) Link to comment Share on other sites More sharing options...
HILOK Posted March 26, 2019 Share Posted March 26, 2019 hi guys, this is really a fabulous addition to DCS! thank you very much!! i am new to this, and the link for the doc in one of the introductory posts is dead. so, i took one of the instant mission scripts, and adapted it to my needs, but i am getting errors at mission start. could someone please have a look and tell me what's wrong? -- Author: cdpkobra -- Author: funkyfranky -- Author: HiLok 03/2019 ------------------------------------------------------------------------------------------------------------ -- Templates local a320=RAT:New("RAT_A320") --local a380=RAT:New("RAT_A380") local b727=RAT:New("RAT_B727") local b737=RAT:New("RAT_B737") local b747=RAT:New("RAT_B747") local b757=RAT:New("RAT_B757") local cessna=RAT:New("RAT_Cessna") -- Templates AIR local a320air=RAT:New("RAT_A320air") --local a380air=RAT:New("RAT_A380air") local b727air=RAT:New("RAT_B727air") local b737air=RAT:New("RAT_B737air") local b747air=RAT:New("RAT_B747air") local b757air=RAT:New("RAT_B757air") local cessnaair=RAT:New("RAT_Cessnaair") -------------------------------------------------------------------------------------------- -- Skins local a320skins={"American Airlines", "Frontier", "JetBlue"} --local a380skins={"Air France", "BA", "China Southern", "Emirates", "KA", "LH", "Qantas Airways", "QTR", "SA", "TA"} local b727skins={"ZERO G", "UNITED Old", "Southwest", "FedEx", "American Airlines", "Delta Airlines", "Delta Airlines OLD", "Northwest", "UNITED"} local b737skins={"AM", "American_Airlines", "C40s", "Disney", "JA", "SouthWest Lone Star", "UPS"} local b747skins={"AF", "AI", "CP", "IM", "KLM", "LH", "NW", "TA", "QA", "TA"} local b757skins={"AA", "BA", "Delta", "DHL", "Swiss", "Thomson"} local cessnaskins={"Muster", "N9572H", "SEagle blue", "SEagle red", "USAF-Academy"} a320:Livery(a320skins) --a380:Livery(a380skins) b727:Livery(b727skins) b737:Livery(b737skins) b747:Livery(b747skins) b757:Livery(b757skins) cessna:Livery(cessnaskins) -- Skins AIR a320air:Livery(a320skins) b727air:Livery(b727skins) b737air:Livery(b737skins) b747air:Livery(b747skins) b757air:Livery(b757skins) cessnaair:Livery(cessnaskins) -------------------------------------------------------------------------------------------- --Cruise flight levels [corrected by HILOK] a320:SetFLmin(295) a320:SetFLmax(370) a320:SetFLcruise(350) a320air:SetFLmin(295) a320air:SetFLmax(370) a320air:SetFLcruise(350) ---a380:SetFLmin(295) ---a380:SetFLmax(360) ---a380:SetFLcruise(330) ---a380air:SetFLmin(295) ---a380air:SetFLmax(360) ---a380air:SetFLcruise(330) b727:SetFLmin(295) b727:SetFLmax(360) b727:SetFLcruise(340) b727air:SetFLmin(295) b727air:SetFLmax(360) b727air:SetFLcruise(340) b737:SetFLmin(295) b737:SetFLmax(410) b737:SetFLcruise(370) b737air:SetFLmin(295) b737air:SetFLmax(410) b737air:SetFLcruise(370) b747:SetFLmin(295) b747:SetFLmax(390) b747:SetFLcruise(360) b747air:SetFLmin(295) b747air:SetFLmax(390) b747air:SetFLcruise(360) b757:SetFLmin(295) b757:SetFLmax(370) b757:SetFLcruise(360) b757air:SetFLmin(295) b757air:SetFLmax(370) b757air:SetFLcruise(360) cessna:SetFLmin(7) cessna:SetFLmax(115) cessna:SetFLcruise(85) cessnaair:SetFLmin(7) cessnaair:SetFLmax(115) cessnaair:SetFLcruise(85) -------------------------------------------------------------------------------------------- -- Fixed Departures -- template all airports except Mina: ({"Beatty Airport","Boulder City Airport","Creech AFB","Echo Bay","groom Lake AFB","Henderson Executive Airport","Jean Airport","Laughlin Airport","Lincoln County","McCarran International Airport","Mesquite","Nellis AFB","North Las Vegas","Pahute Mesa Airstrip","Tonopah Airport","Tonopah test Range Airfield"}) a320:SetDeparture({"McCarran International Airport","North Las Vegas"}) --a380:SetDeparture() b727:SetDeparture({"McCarran International Airport","North Las Vegas"}) b737:SetDeparture({"McCarran International Airport","North Las Vegas"}) b747:SetDeparture("McCarran International Airport") b757:SetDeparture("McCarran International Airport") cessna:SetDeparture({"Beatty Airport","Boulder City Airport","Henderson Executive Airport","North Las Vegas"}) -------------------------------------------------------------------------------------------- -- Fixed Destinations a320:SetDestination({"McCarran International Airport","North Las Vegas"}) --a380:SetDestination() b727:SetDestination({"McCarran International Airport","North Las Vegas"}) b737:SetDestination({"McCarran International Airport","North Las Vegas"}) b747:SetDestination("McCarran International Airport") b757:SetDestination("McCarran International Airport") cessna:SetDestination({"Beatty Airport","Boulder City Airport","Henderson Executive Airport","North Las Vegas"}) -------------------------------------------------------------------------------------------- -- Fixed Destinations AIR a320air:SetDestination({"McCarran International Airport","North Las Vegas"}) --a380air:SetDestination() b727air:SetDestination({"McCarran International Airport","North Las Vegas"}) b737air:SetDestination({"McCarran International Airport","North Las Vegas"}) b747air:SetDestination("McCarran International Airport") b757air:SetDestination("McCarran International Airport") cessnaair:SetDestination({"Beatty Airport","Boulder City Airport","Henderson Executive Airport","North Las Vegas"}) -------------------------------------------------------------------------------------------- -- Spawn numbers a320:Spawn(3) --a380:Spawn(2) b727:Spawn(2) b737:Spawn(3) b747:Spawn(4) b757:Spawn(4) cessna:Spawn(5) -------------------------------------------------------------------------------------------- -- Spawn numbers AIR a320air:SetTakeoff("air") a320air:Spawn(3) --a380air:SetTakeoff("air") --a380air:Spawn(3) b727air:SetTakeoff("air") b727air:Spawn(3) b737air:SetTakeoff("air") b737air:Spawn(3) b747air:SetTakeoff("air") b747air:Spawn(3) b757air:SetTakeoff("air") b757air:Spawn(3) cessnaair:SetTakeoff("air") cessnaair:Spawn(3) -------------------------------------------------------------------------------------------- -- EOF -- error msg i get attached... thanks everyone HiLok Link to comment Share on other sites More sharing options...
Rudel_chw Posted March 26, 2019 Share Posted March 26, 2019 could someone please have a look and tell me what's wrong? It looks like your civil aircrafts are in one coalition and there are no airports available for that coalition. For example, all your airbases are blue or red and the aircrafts are on the neutral coalition. I prefer to have my civil RAT on neutral coalition, like this: b747:SetCoalitionAircraft("neutral") b747:SetCountry(country.id.SWITZERLAND) this way, the red or blue AI combat units wont attack them, the only downside is that neutral units dont appear on the F10 map. For work: iMac mid-2010 of 27" - Core i7 870 - 6 GB DDR3 1333 MHz - ATI HD5670 - SSD 256 GB - HDD 2 TB - macOS High Sierra For Gaming: 34" Monitor - Ryzen 3600X - 32 GB DDR4 2400 - nVidia GTX1070ti - SSD 1.25 TB - HDD 10 TB - Win10 Pro - TM HOTAS Cougar - Oculus Rift CV1 Mobile: iPad Pro 12.9" of 256 GB Link to comment Share on other sites More sharing options...
HILOK Posted March 26, 2019 Share Posted March 26, 2019 (edited) thanks for your reply, rudel. but, assuming you are right, would the traffic still take-off and land on the designated airports? because this is what the RAT airplanes do. and they also appear on the allied flight list in the briefing... or is this independent of the RAT settings? from the figures in the error msg, it appears only aircraft that get spawned on ground are affected, except for the cessnas. this is also reflected during runtime: at mission begin, there are no a/c on mccarran nor on vegas north. Edited March 26, 2019 by HILOK addl info Link to comment Share on other sites More sharing options...
funkyfranky Posted March 26, 2019 Author Share Posted March 26, 2019 could someone please have a look and tell me what's wrong? Hi HiLok, The problem is that you set a rather high minimum flight level by a320:SetFLmin(295) This has the effect that all destinations are excluded, where the aircraft cannot reach that altitude (and descent again) for the given distance and default (moderate) climb rates. For example, McCarran Intl and North Las Vegas are not far enough apart that an airliner could ever reach that cruise altitude. Remove or modify that restriction and you should be fine :) (Or alternatively allow airports further away as destination. Always bear in mind that the airports have to be big enough for airliners.) A warrior's mission is to foster the success of others. i9-12900K | MSI RTX 3080Ti Suprim X | 128 GB Ram 3200 MHz DDR-4 | MSI MPG Edge Z690 | Samung EVO 980 Pro SSD | Virpil Stick, Throttle and Collective | MFG Crosswind | HP Reverb G2 RAT - On the Range - Rescue Helo - Recovery Tanker - Warehouse - Airboss Link to comment Share on other sites More sharing options...
HILOK Posted March 27, 2019 Share Posted March 27, 2019 thanks for your assistance, funkyfranky! i thought i solve the problem by letting the mentioned a/c go to zones instead, but now i am not getting any traffic at all! not even air spawned traffic that worked well before. no error messages either. any ideas? new code (did not touch the rest of the code): -- Fixed Destinations a320:SetDestination({"RAT zone NE","RAT zone SE"}) --a320:SetDestination({"McCarran International Airport","North Las Vegas"}) --a380:SetDestination() b727:SetDestination({"RAT zone NE","RAT zone SE"}) --b727:SetDestination({"McCarran International Airport","North Las Vegas"}) b737:SetDestination({"RAT zone NE","RAT zone SE"}) --b737:SetDestination({"McCarran International Airport","North Las Vegas"}) b747:SetDestination({"RAT zone NE","RAT zone SE"}) --b747:SetDestination("McCarran International Airport") b757:SetDestination({"RAT zone NE","RAT zone SE"}) --b757:SetDestination("McCarran International Airport") cessna:SetDestination({"Beatty Airport","Boulder City Airport","Henderson Executive Airport","North Las Vegas"}) trigger zones as shown in image attached. thanks HiLok Link to comment Share on other sites More sharing options...
funkyfranky Posted March 27, 2019 Author Share Posted March 27, 2019 i thought i solve the problem by letting the mentioned a/c go to zones instead, but now i am not getting any traffic at all! not even air spawned traffic that worked well before. no error messages either. any ideas? If nothing spawns this strongly suggests that there is a typo or something which completely breaks the script. Check the DCS log file and/or post it here. A warrior's mission is to foster the success of others. i9-12900K | MSI RTX 3080Ti Suprim X | 128 GB Ram 3200 MHz DDR-4 | MSI MPG Edge Z690 | Samung EVO 980 Pro SSD | Virpil Stick, Throttle and Collective | MFG Crosswind | HP Reverb G2 RAT - On the Range - Rescue Helo - Recovery Tanker - Warehouse - Airboss Link to comment Share on other sites More sharing options...
HILOK Posted March 28, 2019 Share Posted March 28, 2019 thanks, funkyfranky. meanwhile i got the traffic back during mission runtime -no idea what caused THAT problem. anyway...after some trial & error, i finally got it working, but frankly i dont understand exactly how :D new code (remainder of the code posted before: same same) -- Fixed Destinations a320:SetDestination({"RAT_zone_NE","RAT_zone_SE"}) a320:DestinationZone() --a320:ReturnZone() --a320:SetDestination({"McCarran International Airport","North Las Vegas"}) --a380:SetDestination() b727:SetDestination({"RAT_zone_NE","RAT_zone_SE"}) --b727:ReturnZone() --b727:SetDestination({"McCarran International Airport","North Las Vegas"}) b737:SetDestination({"RAT_zone_NE","RAT_zone_SE"}) --b737:ReturnZone() --b737:SetDestination({"McCarran International Airport","North Las Vegas"}) b747:SetDestination({"RAT_zone_NE","RAT_zone_SE"}) --b747:ReturnZone() --b747:SetDestination("McCarran International Airport") b757:SetDestination({"RAT_zone_NE","RAT_zone_SE"}) --b757:ReturnZone() --b757:SetDestination("McCarran International Airport") cessna:SetDestination({"Beatty Airport","Boulder City Airport","Henderson Executive Airport","North Las Vegas"}) -------------------------------------------------------------------------------------------- apparently this line did the trick: a320:DestinationZone() but i dont get why it would affect all other a/c types as well. maybe you could give me a little hint? anyhow, i am very glad it is now working, and it does like a charm :thumbup: thanks Link to comment Share on other sites More sharing options...
funkyfranky Posted March 28, 2019 Author Share Posted March 28, 2019 but i dont get why it would affect all other a/c types as well. maybe you could give me a little hint? Oh that can happen very easily. For example, a little typo in the script causes the script to exit with an error. Then even the correct stuff is often not executed any more. Happens to me all the time ;) A warrior's mission is to foster the success of others. i9-12900K | MSI RTX 3080Ti Suprim X | 128 GB Ram 3200 MHz DDR-4 | MSI MPG Edge Z690 | Samung EVO 980 Pro SSD | Virpil Stick, Throttle and Collective | MFG Crosswind | HP Reverb G2 RAT - On the Range - Rescue Helo - Recovery Tanker - Warehouse - Airboss Link to comment Share on other sites More sharing options...
HILOK Posted March 28, 2019 Share Posted March 28, 2019 :D sure, that's coding, right? if you have time, could you pls take a moment and clarify how the DestinationZone() property/command(?) affects all aircraft spawned, although i applied it to the a320 group only? thanks Link to comment Share on other sites More sharing options...
funkyfranky Posted March 28, 2019 Author Share Posted March 28, 2019 if you have time, could you pls take a moment and clarify how the DestinationZone() property/command(?) affects all aircraft spawned, although i applied it to the a320 group only? If you have only zones as destination, the script should actually automatically notice that and DestinationZone() should not be necessary. Aircraft will fly to one of the destination zones and get despawned when they arrive. DestinationZone() should only be necessary if you have only airports in the destination list and do not want the aircraft to land. If DestinationZone() is set in this case, the ac will fly to a zone around the airport and be despawned in air. Can be useful if you send big aircraft to small air strips where they cannot land. Saves you the time to create an extra trigger zone around that airbase. Not sure why you need to set it for the a320. You can try to comment that line. But it really does not hurt either to leave it in :) A warrior's mission is to foster the success of others. i9-12900K | MSI RTX 3080Ti Suprim X | 128 GB Ram 3200 MHz DDR-4 | MSI MPG Edge Z690 | Samung EVO 980 Pro SSD | Virpil Stick, Throttle and Collective | MFG Crosswind | HP Reverb G2 RAT - On the Range - Rescue Helo - Recovery Tanker - Warehouse - Airboss Link to comment Share on other sites More sharing options...
HILOK Posted March 28, 2019 Share Posted March 28, 2019 hmmm, interesting. and strange. because you are describing what i would have expected, when looking at the example code and the doc. but in fact i got the errors (see posts above), when implementing zones without the command DestinationZone... Link to comment Share on other sites More sharing options...
HILOK Posted April 9, 2019 Share Posted April 9, 2019 just a quick follow up on my nevada script. works quite ok, occasionally some errors or plane crashes... : ) however, all jets taking off from RWY 25 at north las vegas crash at the end of the runway. maybe someone has an idea regarding this issue? here's the code, in case anybody wants to use (or correct) it: -- Author: HiLok 03/2019 -- Notes: local b757air=RAT:New("RAT_B757air") -- removed due to error: no valid destination found -------------------------------------------------------------------------------------------- -- Aircraft -------------------------------------------------------------------------------- local a320=RAT:New("RAT_A320") local b727=RAT:New("RAT_B727") local b737=RAT:New("RAT_B737") local b747=RAT:New("RAT_B747") local b757=RAT:New("RAT_B757") local cessna=RAT:New("RAT_Cessna") local huey=RAT:New("RAT_UH1H") -- AIR local a320air=RAT:New("RAT_A320air") local b727air=RAT:New("RAT_B727air") local b737air=RAT:New("RAT_B737air") local b747air=RAT:New("RAT_B747air") local cessnaair=RAT:New("RAT_Cessnaair") local hueyair=RAT:New("RAT_UH1Hair") -- std skins, std cruise level a320:DestinationZone() a320:ATC_Messages(false) -- Skins ----------------------------------------------------------------------------------- local a320skins={"American Airlines", "Frontier", "JetBlue"} local b727skins={"ZERO G", "UNITED Old", "Southwest", "FedEx", "American Airlines", "Delta Airlines", "Delta Airlines OLD", "Northwest", "UNITED"} local b737skins={"AM", "American_Airlines", "C40s", "Disney", "JA", "SouthWest Lone Star", "UPS"} local b747skins={"AF", "AI", "CP", "IM", "KLM", "LH", "NW", "TA", "QA", "TA"} local b757skins={"AA", "BA", "Delta", "DHL", "Swiss", "Thomson"} local cessnaskins={"Muster", "N9572H", "SEagle blue", "SEagle red", "USAF-Academy"} a320:Livery(a320skins) b727:Livery(b727skins) b737:Livery(b737skins) b747:Livery(b747skins) b757:Livery(b757skins) cessna:Livery(cessnaskins) -- AIR a320air:Livery(a320skins) b727air:Livery(b727skins) b737air:Livery(b737skins) b747air:Livery(b747skins) cessnaair:Livery(cessnaskins) -- Cruise FL ------------------------------------------------------------------------------- a320:SetFLmin(280) a320:SetFLmax(370) a320:SetFLcruise(350) a320air:SetFLmin(280) a320air:SetFLmax(370) a320air:SetFLcruise(350) b727:SetFLmin(280) b727:SetFLmax(360) b727:SetFLcruise(340) b727air:SetFLmin(280) b727air:SetFLmax(360) b727air:SetFLcruise(340) b737:SetFLmin(280) b737:SetFLmax(410) b737:SetFLcruise(370) b737air:SetFLmin(280) b737air:SetFLmax(410) b737air:SetFLcruise(370) b747:SetFLmin(280) b747:SetFLmax(390) b747:SetFLcruise(360) b747air:SetFLmin(280) b747air:SetFLmax(390) b747air:SetFLcruise(360) b757:SetFLmin(280) b757:SetFLmax(370) b757:SetFLcruise(360) cessna:SetFLmin(7) cessna:SetFLmax(115) cessna:SetFLcruise(85) cessnaair:SetFLmin(7) cessnaair:SetFLmax(115) cessnaair:SetFLcruise(85) -- Departures ------------------------------------------------------------------------------ -- all except Mina: "Beatty Airport","Boulder City Airport","Creech AFB","Echo Bay","groom Lake AFB","Henderson Executive Airport","Jean Airport","Laughlin Airport","Lincoln County","McCarran International Airport","Mesquite","Nellis AFB","North Las Vegas","Pahute Mesa Airstrip","Tonopah Airport","Tonopah test Range Airfield" a320:SetDeparture({"McCarran International Airport","North Las Vegas"}) b727:SetDeparture({"McCarran International Airport","North Las Vegas"}) b737:SetDeparture({"McCarran International Airport","North Las Vegas"}) b747:SetDeparture("McCarran International Airport") b757:SetDeparture("McCarran International Airport") cessna:SetDeparture({"Beatty Airport","Boulder City Airport","Henderson Executive Airport","North Las Vegas"}) huey:SetDeparture({"Boulder City Airport","Henderson Executive Airport","McCarran International Airport","Nellis AFB","North Las Vegas"}) -- Destinations ---------------------------------------------------------------------------- a320:SetDestination({"RAT_zone_NE","RAT_zone_SE"}) b727:SetDestination({"RAT_zone_NE","RAT_zone_SE"}) b737:SetDestination({"RAT_zone_NE","RAT_zone_SE"}) b747:SetDestination({"RAT_zone_NE","RAT_zone_SE"}) b757:SetDestination({"RAT_zone_NE","RAT_zone_SE"}) cessna:SetDestination({"Beatty Airport","Boulder City Airport","Henderson Executive Airport","North Las Vegas"}) huey:SetDeparture({"Boulder City Airport","Henderson Executive Airport","McCarran International Airport","Nellis AFB","North Las Vegas"}) -- AIR a320air:SetDestination({"McCarran International Airport","North Las Vegas"}) b727air:SetDestination({"McCarran International Airport","North Las Vegas"}) b737air:SetDestination({"McCarran International Airport","North Las Vegas"}) b747air:SetDestination("McCarran International Airport") cessnaair:SetDestination({"Beatty Airport","Boulder City Airport","Henderson Executive Airport","North Las Vegas"}) hueyair:SetDeparture({"Boulder City Airport","Henderson Executive Airport","McCarran International Airport","Nellis AFB","North Las Vegas"}) -- Traffic Density ------------------------------------------------------------------------- a320:Spawn(2) b727:Spawn(2) b737:Spawn(2) b747:Spawn(3) b757:Spawn(3) cessna:Spawn(3) huey:Spawn(1) -- AIR a320air:SetTakeoff("air") a320air:Spawn(2) b727air:SetTakeoff("air") b727air:Spawn(2) b737air:SetTakeoff("air") b737air:Spawn(2) b747air:SetTakeoff("air") b747air:Spawn(2) cessnaair:SetTakeoff("air") cessnaair:Spawn(3) hueyair:SetTakeoff("air") hueyair:Spawn(1) -- EOF ------------------------------------------------------------------------------------- Link to comment Share on other sites More sharing options...
Seance12 Posted April 12, 2019 Share Posted April 12, 2019 Justa quick question: I am trying to tweak the timings and settings to you Activate Uncontrolled Aircraft and if I put in "ActivateUncontrolled(30, 120, 120, 0.5)", it works, and my question is what do the numbers represent? Link to comment Share on other sites More sharing options...
funkyfranky Posted April 16, 2019 Author Share Posted April 16, 2019 "ActivateUncontrolled(30, 120, 120, 0.5)", it works, and my question is what do the numbers represent? Number of max AC activated and time parameters for activating, c.f. https://flightcontrol-master.github.io/MOOSE_DOCS_DEVELOP/Documentation/Functional.Rat.html##(RAT).ActivateUncontrolled A warrior's mission is to foster the success of others. i9-12900K | MSI RTX 3080Ti Suprim X | 128 GB Ram 3200 MHz DDR-4 | MSI MPG Edge Z690 | Samung EVO 980 Pro SSD | Virpil Stick, Throttle and Collective | MFG Crosswind | HP Reverb G2 RAT - On the Range - Rescue Helo - Recovery Tanker - Warehouse - Airboss Link to comment Share on other sites More sharing options...
Pianoman Posted May 4, 2019 Share Posted May 4, 2019 This is such a great addition to DCS, thanks very much. However, I don't know if it's me but the A320 Emirates livery is not showing correctly ... just as a white aircraft. The other A320s seem to be okay, just this one. I looked in the Emirates folder and there isn't a "description.lua" file (as there is with all the others) ... could that be it ? Link to comment Share on other sites More sharing options...
SgtRob Posted May 5, 2019 Share Posted May 5, 2019 This is such a great addition to DCS, thanks very much. However, I don't know if it's me but the A320 Emirates livery is not showing correctly ... just as a white aircraft. The other A320s seem to be okay, just this one. I looked in the Emirates folder and there isn't a "description.lua" file (as there is with all the others) ... could that be it ? Definitely yes. But there is one in the original folder. Just check your downloaded file. Or use another description.lua, copy it into the Emirates folder, edit it that it points to the correct .dds and you're done. Link to comment Share on other sites More sharing options...
Pianoman Posted May 5, 2019 Share Posted May 5, 2019 Thanks phrantic, I copied and edited another description.lua and the Emirates livery is now showing up correctly ... thanks again Link to comment Share on other sites More sharing options...
SgtRob Posted May 5, 2019 Share Posted May 5, 2019 Np mate. Glad you got it working. :) Link to comment Share on other sites More sharing options...
ENO Posted May 17, 2019 Share Posted May 17, 2019 (edited) Best. 13. Pages. Ever. This is an awesome, easy to use tool that instantly enhances the ambiance of any mission- Just getting some activity in the world is a huge boost. I've started with some simple enhancements demonstrated in the initial videos and now hunting around for the script for the activating uncontrolled units- I think that's where the real money can be. I see the basic scripts in the documentation in the link provided in one of the initial posts- but where can I find the script used to activate the uncontrolled units? Is there a brief sample of how that looks? Edit: High Frequency Outbound Traffic At McCarran International 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: -- 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) Nevermind- found it! But I am curious about what these numbers represent? cessna:ActivateUncontrolled(30, 120, 120, 0.5) I see this is "Uncontrolled are activated randomly after certain time intervals..." Are these just random intervals in seconds with more potential for 120 seconds to be selected? Does .5 just say the randomness will be within 50% of the other numbers? A bit confused by that. (EDIT again- I'm an idiot... it's literally a few posts above this one. Sorry guys. ) Where can I find the "definitions" for the scripts? Edited May 18, 2019 by ENO "ENO" Type in anger and you will make the greatest post you will ever regret. "Sweetest's" Military Aviation Art Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now