Jump to content

Random Aircraft Patrol spawn for a persistent online mission


Tank50us

Recommended Posts

I'm building a persistent online mission for my group and I'm wanting to have instances where, at random times while the server is running, various aircraft will spawn from different airfields, patrol their respective zones, and RTB when they hit Bingo fuel or run out of weapons, and it be constant, with no spaces being taken up at the airfields or carriers.

 

Is there any way to do this? If so, let me know, I could use the help to make the map feel a bit more 'alive' on the next iteration.

Link to comment
Share on other sites

There are lots of ways to do this, a lot easier to code it than make it all work in ME. It's not a simple thing to do as there would be a number of variables to consider but it's not a difficult programming task. I could probably help you put something together, drop me a PM on Discord. PravusJSB#9484

Creator & Developer of XSAF ::An AI model that wants to kill you, and needs no help from humans.

Discord: PravusJSB#9484   twitch.tv/pravusjsb  https://www.patreon.com/XSAF  https://discord.gg/pC9EBe8vWU https://bmc.link/johnsbeaslu

Work with me on Fiverr: https://www.fiverr.com/pravusjsb

Link to comment
Share on other sites

Moos has a few plugins that may suite you:
1. Cap plus gci:
https://flightcontrol-master.github.io/MOOSE_DOCS/Documentation/AI.AI_A2A_Dispatcher.html

2. Cap in zone:
https://flightcontrol-master.github.io/MOOSE_DOCS/Documentation/AI.AI_Cap.html

3. Just patrolling:
https://flightcontrol-master.github.io/MOOSE_DOCS/Documentation/AI.AI_Patrol.html

I think the latter two rely on an event to start operations, but I hope you can use your own triggers for that.

I have used other moose scripts before and I can recommend them. It was long time ago, so I may not be the one to answer your technical questions.

Wysłane z mojego MI MAX 3 przy użyciu Tapatalka

Link to comment
Share on other sites

  • 2 weeks later...

I usually use RAT (Random Air Traffic) scripts with M.O.O.S.E.

You can limit them to only red or blue AF's as in the example below.

 

local RAT=RAT:New("RAT1")  -- must match unit name in mission editor
RAT:SetCoalition("sameonly")  
RAT:SetCoalitionAircraft("blue")  -- or "red"
RAT:SetTakeoffHot()  -- or Cold or Air

RAT:Spawn(8)  -- or any number you want

🇺🇦  SLAVA UKRAINI  🇺🇦

MoBo - ASUS 990FX R2 Sabertooth,     CPU - AMD FX 9590 @4.7Gb. No OC
RAM - GSkill RipJaws DDR3 32 Gb @2133 MHZ,   GPU - EVGA GeForce GTX 1660Ti 6Gb DDR5 OC'd, Core 180MHz, Memory 800MHz
Game drive - Samsung 980 M.2 EVO 1Tb SSD,    OS Drive - 860 EVO 500Gb SATA SSD, Win10 Pro 22H2

Controls - Thrustmaster T-Flight HOTAS X,   Monitor - LG 32" 1920 X 1080,   PSU - Prestige ATX-PR800W PSU

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...