Jump to content

How to make a potential engagement on CAP mission?


Recommended Posts

Posted

I'm interested in making a mission with a random chance that a potential enemy aircraft goes hostile.  Say similar to USN and Libya incidents. 

Currently I put opfor aircraft at HOLD weapons status. They don't engage me on merge but if I swoop in behind them after merge they go hot at some point.

 

Is there another way to do this?

 

Thanks 

Posted

One way to go about it. Create a moving zone around enemy units. Once you enter it, trigger a random number generator that sets flag to true or false based on whatever probability you desire. Set another trigger that changes their weapon status based on that flag (true=weapons free, or designated only, with you as a target; false=hold).

  • 1 month later...
  • 4 months later...
Posted

Could you use triggers and advance waypoint actions? Like once you hit that trigger there is a chance for that action to activate. I'll look at it when I get home and see what I can come up with.

Posted (edited)

moving attack trigger.miz

Since you know how to do the moving zone. What you do is create a route like shown. Make sure to delete the hostile units way point actions and add your own on the first way point. Set ROE to weapons hold and set last point to land at an air base. Add trigger actions to the hostile aircraft, icon looks like a quad drone. ROE - Weapons Free, Search then Engage, and last one switch way point to the landing point.

If you have any question on the triggers let me know. I made a mission where you start in the air behind a mig29 in a f16. Once you get within 5miles or so the mig will either attack or return to base. I made a message popup to see if my triggers were working so you dont need them. If you dont have the f16 just replace it with something you do have.

Edited by Diablo 1-1
Posted
On 9/25/2023 at 9:26 PM, Diablo 1-1 said:

moving attack trigger.miz 10.01 kB · 0 downloads

Since you know how to do the moving zone. What you do is create a route like shown. Make sure to delete the hostile units way point actions and add your own on the first way point. Set ROE to weapons hold and set last point to land at an air base. Add trigger actions to the hostile aircraft, icon looks like a quad drone. ROE - Weapons Free, Search then Engage, and last one switch way point to the landing point.

If you have any question on the triggers let me know. I made a mission where you start in the air behind a mig29 in a f16. Once you get within 5miles or so the mig will either attack or return to base. I made a message popup to see if my triggers were working so you dont need them. If you dont have the f16 just replace it with something you do have.

 

Thank you! Tremendously! Been working past 2 days haven't been able to check in.  Thanks much!!

  • 3 weeks later...
Posted
On 9/28/2023 at 8:59 AM, Diablo 1-1 said:

No problem. Again if you have questions I'll do my best to explain them. I'm not the best at explaining things.

Ok! My virpil throttle finally repaired.  I immediately launched and looked at your mission. It works flawlessly!! Thanks much again!

Posted (edited)
2 hours ago, TMP95 said:

Ok! My virpil throttle finally repaired.  I immediately launched and looked at your mission. It works flawlessly!! Thanks much again!

No problem! You can now use that and implement it in your own mission. Good luck with your endeavors. Fly safe

Edited by Diablo 1-1
  • Recently Browsing   0 members

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