Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

Marking Contacts with a Stance (Hostile/Unfriendly) in EVENT

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> Mods and Scenarios >> Marking Contacts with a Stance (Hostile/Unfriendly) in EVENT Page: [1]
Login
Message << Older Topic   Newer Topic >>
Marking Contacts with a Stance (Hostile/Unfriendly) in ... - 9/27/2017 9:20:03 AM   
No New Messages
Fer_Cabo
Matrix Trooper


 

Posts: 111
Joined: 9/17/2015
Status: offline
Hi folks,

Any idea for a LUA Script (to be used in an ACTION when, triggered by a Unit from one SIDE is detected or spends a certain amount of time inside a defined Zone/Area) that MARKS the intruder as "Unfriendly" or "Hostile"?

I know you can use the EXCLUSION ZONES feature, but these are not flexible, since they don't discriminate the SIDES of the intruding units.

For instance: The ROK cannot set up an EXCLUSION ZONE over its sovereign territory that only marks as "Hostile" DPRK aircraft (and not US or Japanese ones...)

Thanks!
Post #: 1
RE: Marking Contacts with a Stance (Hostile/Unfriendly)... - 9/30/2017 8:55:32 PM   
No New Messages
thewood1
Matrix Legion of Merit


 

Posts: 6529
Joined: 11/27/2005
Status: offline
Having an exclusion zone dedicated to a specific side or sides is actually a cool feature. I would suggest putting a request in the feature request thread. It could be done through lua and maybe combined with events, but it gives me a headache thinking about it.

(in reply to Fer_Cabo)
Post #: 2
RE: Marking Contacts with a Stance (Hostile/Unfriendly)... - 10/1/2017 6:05:33 AM   
No New Messages
michaelm75au
Matrix Legion of Merit



Posts: 13500
Joined: 5/5/2001
From: Melbourne, Australia
Status: offline
Here is a simplistic example:
A fixed zone has been created around a DDG (sideB).
The event is triggered by an aircraft entering the zone or by an aircraft remaining in the zone for several minutes.
There is also a condition that will check that the aircraft is 'known' as a contact to the DDG. [Added this as with the area triggers, they are based on the actual unit being the triggered, rather than a contact visible to the detecting side. Discovered another defect in that conditions are ignored when the 'unit in area' is triggered. Logged]
The action is to mark the contact as 'unfriendly' if it comes within 10 NM of the DDG.
[There is a defect in that the Lua posture is treating 'U' as unknown rather than unfriendly; unknown should be 'X'. Logged]
If you load up the scenario, the P3 should fly across the DDG's zone, and change from a green neutral to a yellow unknown after a few minutes.

Attachment (1)

_____________________________

Michael

(in reply to thewood1)
Post #: 3
RE: Marking Contacts with a Stance (Hostile/Unfriendly)... - 10/1/2017 1:07:21 PM   
No New Messages
thewood1
Matrix Legion of Merit


 

Posts: 6529
Joined: 11/27/2005
Status: offline
Good to know, I thought I was doing something wrong. The "U" thing was driving me crazy.

(in reply to michaelm75au)
Post #: 4
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> Mods and Scenarios >> Marking Contacts with a Stance (Hostile/Unfriendly) in EVENT Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.703