Jump to content

Recommended Posts

Posted

Hi all,

Say I wanted to make a FAC mission. Would it be possible to have a trigger to place random units on the map. Say I was to make a pool of 6 or seven different enemy platoons/divisions each with its own position on the map and at a trigger a script runs and tells the game to place 1 of those 6 or 7 platoons/divisions on the map? The one thing about mission making that bugs me is there is no longevity. Once one has done the mission its done. And if one has created the mission there are no real surprises. I was wondering if it was, in anyway, possible to add some kind of randomness?

Good Grief

Posted (edited)

It doesn't require MIST at all. This can be done with only triggers and late activation/uncontrolled. However MIST as usual is more capable if you can use it.

 

One simple way with triggers:

 

Mission Start Trigger > Flag Set Random value 1-6

 

Place 6 groups on map

 

If Flag value = 1, spawn group 1, etc

 

While the positions are fixed beforehand, if there are enough copies of a group, it's location will appear very random. I've done this with SAM sites. One SAM group is copied ~10 times and only one spawns per iteration of the mission. If there are 5 different SAM sites and they're all random, you get a lot of different possible combinations.

Edited by Exorcet

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

 

  • ED Team
Posted (edited)

Yup, mist or even the Random Condition in the ME might work, but possible you could get all the units or none.

 

MIST is better if you want random locations so you yourself wont know where things will be places...

Edited by NineLine

64Sig.png
Forum RulesMy YouTube • My Discord - NineLine#0440• **How to Report a Bug**

1146563203_makefg(6).png.82dab0a01be3a361522f3fff75916ba4.png  80141746_makefg(1).png.6fa028f2fe35222644e87c786da1fabb.png  28661714_makefg(2).png.b3816386a8f83b0cceab6cb43ae2477e.png  389390805_makefg(3).png.bca83a238dd2aaf235ea3ce2873b55bc.png  216757889_makefg(4).png.35cb826069cdae5c1a164a94deaff377.png  1359338181_makefg(5).png.e6135dea01fa097e5d841ee5fb3c2dc5.png

Posted

The thing about purely random positioning with MIST is that you might end up with silly locations (EWR on top of a mountain or building for example) unless you're careful with limits.

 

Even with simple triggering, you won't know exactly where to look for a group, especially if you make enough copies. It doesn't take long with Ctrl+C and Ctrl+V.

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

 

  • Recently Browsing   0 members

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