Jump to content

Rectangular or Square Trigger Zones?


Backy 51

Recommended Posts

Does anyone know of a way to make rectangular or square trigger zones instead of the circular radius offered in the ME?

 

I would like to establish some trigger actions based on entry or exit from an airspace corridor and I want to know if you "bust" the corridor line.

 

Manually dropping dozens of small circular trigger zones to approximate a rectangular corridor is a royal PITA!

 

Any ideas?


Edited by Backy 51

I don't need no stinkin' GPS! (except for PGMs :D) :pilotfly:

[sIGPIC][/sIGPIC]

 

Link to comment
Share on other sites

Off the shelf in DCS no.... But!

 

Have a look at ZONE_POLYGON class as part of the MOOSE framework.

 

Can you code?

 

Sven

[TABLE][sIGPIC][/sIGPIC]|

[/TABLE]

Link to comment
Share on other sites

I guess it's time for me to learn Moose. My coding experience was with ancient BASIC millions of years ago. wink.gif

 

Sven, your tutorials look great ... I just need to be able to devote the time to watch them.

 

Can an old dog be taught new tricks? biggrin.gif


Edited by Backy 51

I don't need no stinkin' GPS! (except for PGMs :D) :pilotfly:

[sIGPIC][/sIGPIC]

 

Link to comment
Share on other sites

I guess it's time for me to learn Moose. biggrin.gif

 

 

Can an old dog be taught new tricks?

 

 

Always. As long as the bait is kept fresh!

 

It is not hard. Send me your email in a private msg.

There is a forum to learn stuff...

 

Also have a look at the MOOSE for dummies videos if you have time.

Maybe they help to get started...

 

Suggest you look into SPAWN and RAT as a start.

There are easy classes that show quickly fun results.

[TABLE][sIGPIC][/sIGPIC]|

[/TABLE]

Link to comment
Share on other sites

Backy,

 

There are videos from FlightControl illustrating how to set up the Lua Development Environment. Highly recommend you follow those. It's not explicitly required, but it's silly not to. You will have access to SO much more information and will waste far less time if you do.

 

The (shockingly robust) documentation for MOOSE gets baked right inside, so you can see immediately what all the methods are for a class, and also have a syntax typo flagged.

 

The example missions are so unbelievably detailed that you can harvest huge chunks of functionality from them directly and adapt it to your use case instead of writing from scratch.

 

Banner EDForum2020.jpg

Have fun. Don't suck. Kill bad guys. 👍

https://discord.gg/blacksharkden/

Link to comment
Share on other sites

Hi,

There're functions for this available in MIST (by Grimes).

I'm terribly incompetent when it comes to codes/scripting and using MIST is about as far as I'm able to get in this field (tried to get into MOOSE but with no success. I'll have to give it another shot sometime)

 

From your description it seems that you could use mist.flagFunc.units_in_polygon

http://wiki.hoggit.us/view/Units_in_polygon

 

 

HTH,

Assaf.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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