Jump to content

BigEye EWR Script


Go to solution Solved by leonardo_c,

Recommended Posts

the venerable EWRS Script by Steggles has recently stopped working and the original repository is no longer maintained.

since the original code does not shine for readability, at least in my lua skills, I decided to start a new implementation from scratch based on Moose. (requires at least Moose 2.9.3)

https://gitlab.com/quelcertoleo/big-eye-ewr

in its first MVP version, the script does what it is supposed to. To report detected contacts by EWR, AWACS and radar equipped ground units to players.

as any of these scripts, many options can be customized. this screenshot is from an early test version. in its current state it supports:

* zero configuration required on mission editor (no requirements on unit or group names), except loading Moose and EWRS script

* bulls/self reference

* numerical or cardinal track of detected unit

* international system or imperial

* reports every 15, 30 or 60 seconds

* contacts ordered by distance to reference (player or bulls, configurable in preferences)

* bogey dope

* GCI mode

* switch to 12-hour format for reporting when units closer than 5 miles

vlcsnap-2023-12-08-15h21m21s733.png

Example screenshot with al three reports for demo purpose:

Digital_Combat_Simulator_Black_Shark_Screenshot_2023.12.06_-_20.52.44.49.png

The format is compact and non invasive of precious screen space.

Digital_Combat_Simulator_Black_Shark_Screenshot_2023.12.03_-_18.25.16.07.png

Feel free to contribute, I have already planned a set of features that I'd like to have, in order of priority:

* automatically focus reports on nearest contact after merge


Edited by leonardo_c
  • Like 2
  • Thanks 3
Link to comment
Share on other sites

Pushed GCI feature in Develop Branch, this one is particularly nice.

1) Subscribe to tasking -> EWR will assign the highest priority threat that has entered protected airspace (a Moose ZONE_POLYGON defined in Mission Editor)

2) when contact is closer than 5nm the report format will change and switch from bearing in degrees to 12-hour clock format

3) when target is destroyed (either by player or by any other event) the GCI tasking will be closed

https://gitlab.com/quelcertoleo/big-eye-ewr/-/tree/develop?ref_type=heads

vlcsnap-2023-12-08-15h20m49s444.png

vlcsnap-2023-12-08-15h20m56s063.png

vlcsnap-2023-12-08-15h21m21s733.png

vlcsnap-2023-12-08-15h22m30s496.png


Edited by leonardo_c
  • Thanks 1
Link to comment
Share on other sites

  • 3 weeks later...
  • leonardo_c changed the title to BigEye EWR Script
  • 1 month later...
On 1/18/2024 at 3:15 AM, leonardo_c said:

Pushed a new version in develop branch.

Contacts are now ordered by distance and not threat level and a configurable cutoff distance has been added. This cutoff distance can be configured through F10 menu.

https://gitlab.com/quelcertoleo/big-eye-ewr/-/tree/develop?ref_type=heads

Thank you for your work 🙏 

Would it be possible to provide a simple demo mission please ? 😇

I tried to make a simple mission with your script, with an AWACS.

I get the options through F10 menu, I get message like scanning and so on…but it isn’t reporting me any contact despite the basic AWACS giving me contact through radio.

EWR.gciMaximumRange = 100000 -- meters

Is it 100km from the detecting unit or from the fighter ?

Thanks


Edited by jojo

Mirage fanatic !

I7-7700K/ MSI RTX3080/ RAM 64 Go/ SSD / TM Hornet stick-Virpil WarBRD + Virpil CM3 Throttle + MFG Crosswind + Reverb G2.

Flickr gallery: https://www.flickr.com/gp/71068385@N02/728Hbi

Link to comment
Share on other sites

  • 1 month later...

I have had a short look into the script; it seems like you have to modify the prefixes for the filter, that builds the detection-network in order for it to work:

-- prefixes used in mission editor for EWR units
EWR.blueCoalitionRadarPrefixes = { "Blue AWACS", "Blue SAM", "Blue EWR" }
EWR.redCoalitionRadarPrefixes = { "Red AWACS", "Red SAM", "Red EWR" }

... or, instead of modifying the prefixes, just name the units / groups in your ME accordingly, your AWACS for example "Blue AWACS 001".

Hope that helps 😀

Link to comment
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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