Australian Radar Network circa 2010 (Full Version)

All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> Mods and Scenarios >> Useful Material



Message


coolum001 -> Australian Radar Network circa 2010 (8/30/2017 9:22:03 AM)

Hi

Data and Lua code to add the fixed Australian Defence and Civil radars as at about 2010; recent RASSP [Radar Sensor Procurement Programme] upgrades may require changes to this to be accurate as at 2017.

Lua code designed to be run in the Lua Console at scenario edit time (i.e. not linked to any event)

Notes:

- the 'side' assumed is 'ADF', change as needed (decided not to distinguish between Civil and ADF sites, as not needed in my draft scenarios)

- all radars are created with altitude=0ft, but they seem to conform to the topography OK

- all radars are set Active, as most are civil radars, and the rest are at known static locations




Rory Noonan -> RE: Australian Radar Network circa 2010 (8/30/2017 10:27:58 AM)

Great, thanks!

Look forward to your scenario!




thewood1 -> RE: Australian Radar Network circa 2010 (8/30/2017 11:31:01 AM)

Just curious why this wasn't done as a simple export/import. I am just wondering what the lua does.




coolum001 -> RE: Australian Radar Network circa 2010 (8/31/2017 1:55:10 AM)

Well, I'm a CMANO newbie with a software engineering background, so to me any CMANO problem is a nail asking to be hit with a Lua for-loop hammer :)

Seriously, my thought was that automatic creation and placement of radar facilities with Lua, meant that it would be easier to edit the Lua text files:
- to use a different generic facility from the database (that better matches the real-world capabilities) in the future;
- to adjust the orientation for each facility;
- to set the side for each facility
- to rename the facilities
comparing to using the map User Interface after an import.

As to what the Lua does:

For each radar in my table of radars, I call

ScenEdit_AddUnit({type = 'Facility', ...)


to create the radar, and then call

ScenEdit_SetEMCON('Unit', OzRadars[i].name, ...) 


to set it to be active.

Cheers




Rory Noonan -> RE: Australian Radar Network circa 2010 (9/1/2017 9:04:16 PM)

Hey coolum01,

I added your data to an .inst file, hope you don't mind. The work is attributed to you.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.8276367