Jump to content

How to create a convoy of random vehicles


Death Merchant

Recommended Posts

Hey guys, I need a bit of help.

I'm trying to create a convoy of random units. It's getting old killing the same convoys over and over.

I'm using MOOSE and MIST as well as some DCS functions to randomize start locations and destinations, but the only way I know how to create a convoy is to build it in the ME and set it to late activation. After a few missions we start to recognize the convoys and know exactly where any AA is.

Is there a way to build a convoy of random units?

Thanks,
DM

[PC] ASUS X570E - Ryzen 9  5950X - RX 6900 XT - 32GB 3600Mhz

Hornet, A-4E-C, Huey, Ka-50, Mi-8, F-15E, F-14

Join us on Death Dealers PvE server.

Link to comment
Share on other sites

You could build many convoys and only choose one to activate. This is also probably better than a purely random generator because one of those could pick an immobile SAM, a building, troops, etc and ruin the convoy.

Awaiting: DCS F-15C

Win 10 i5-9600KF 4.6 GHz 64 GB RAM RTX2080Ti 11GB -- Win 7 64 i5-6600K 3.6 GHz 32 GB RAM GTX970 4GB -- A-10C, F-5E, Su-27, F-15C, F-14B, F-16C missions in User Files

 

Link to comment
Share on other sites

10 minutes ago, Exorcet said:

You could build many convoys and only choose one to activate. This is also probably better than a purely random generator because one of those could pick an immobile SAM, a building, troops, etc and ruin the convoy.

Thanks for the input. That's what we are doing now. It seems I may just have to create a large number of convoys to keep it interesting.

I was hoping that there was an easy way to create a random convoy by choosing units from a list, but there doesn't seem to be. I know I could create a random group using the Mission Scripting Environment, but it would take a lot of coding.

Now I'm thinking I may just spawn Units and use something like a Follow command or Escort to form a quasi-convoy. I think I'm going to look into that.

[PC] ASUS X570E - Ryzen 9  5950X - RX 6900 XT - 32GB 3600Mhz

Hornet, A-4E-C, Huey, Ka-50, Mi-8, F-15E, F-14

Join us on Death Dealers PvE server.

Link to comment
Share on other sites

1 hour ago, Death Merchant said:

I was hoping that there was an easy way to create a random convoy by choosing units from a list, but there doesn't seem to be.

Currently not. Enclosed is a (98% finished) mission that randomly chooses convoys from an existing list of convoys and spawns them. The mission uses DML's 'cloners' to spawn groups from templates (which in itself can be randomized) and RND flag randomizers to choose one flag out of n each time they activate. DML's not as flexible as mist or moose, but should be easier to integrate with your missions when you need standard stuff like randomized group spawns while retaining Mission Editor control (DML uses trigger zones for all design stuff and requires no Lua knowledge). 

Island Defender.miz

Link to comment
Share on other sites

You could use scripting with "mist":

https://wiki.hoggitworld.com/view/Mission_Scripting_Tools_Documentation

 

- Make all the different combos in VAR tables. You can even make unit types in a table to select in each position in the group.

- Use mist.random to select what table group is used or unit is used in each group position.

- Then use mist.dynadd to add the group.

If you want to get in to scripting that is 

 I am making this at one point, but haven't had the time. To many other projects 😊

🙂


Edited by Kanelbolle
Link to comment
Share on other sites

Almost done.

Just need to test it a bit more, and run it on my WARGAMES server for a few days to see that it is working as it should. The code is a hot mess, but it seam to work.

The script supports : CountryID, AttackCoalition, GroupSize, Skill, Speed, SpawnZone, AirbaseId, TargetAirbaseId, TargetZone
And if you don't specify TargetAirbaseId or TargetZone it will find a enemy airbase and attack it.

 


Edited by Kanelbolle
Link to comment
Share on other sites

Thanks for the help on this. Your script is awesome. I've been scripting for a while with both MIST and MOOSE, but there is a bit of a learning curve. Looking at scripts like yours is very helpful. I've learned a lot from it.

DM

[PC] ASUS X570E - Ryzen 9  5950X - RX 6900 XT - 32GB 3600Mhz

Hornet, A-4E-C, Huey, Ka-50, Mi-8, F-15E, F-14

Join us on Death Dealers PvE server.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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