Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

Australian Radar Network circa 2010

 
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 >> Useful Material >> Australian Radar Network circa 2010 Page: [1]
Login
Message << Older Topic   Newer Topic >>
Australian Radar Network circa 2010 - 8/30/2017 9:22:03 AM   
coolum001

 

Posts: 7
Joined: 8/3/2017
Status: offline
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

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

 

Posts: 2816
Joined: 12/18/2014
From: Brooklyn, NY
Status: offline
Great, thanks!

Look forward to your scenario!

(in reply to coolum001)
Post #: 2
RE: Australian Radar Network circa 2010 - 8/30/2017 11:31:01 AM   
thewood1

 

Posts: 6529
Joined: 11/27/2005
Status: offline
Just curious why this wasn't done as a simple export/import. I am just wondering what the lua does.

(in reply to Rory Noonan)
Post #: 3
RE: Australian Radar Network circa 2010 - 8/31/2017 1:55:10 AM   
coolum001

 

Posts: 7
Joined: 8/3/2017
Status: offline
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

(in reply to thewood1)
Post #: 4
RE: Australian Radar Network circa 2010 - 9/1/2017 9:04:16 PM   
Rory Noonan

 

Posts: 2816
Joined: 12/18/2014
From: Brooklyn, NY
Status: offline
Hey coolum01,

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

Attachment (1)

(in reply to coolum001)
Post #: 5
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> Mods and Scenarios >> Useful Material >> Australian Radar Network circa 2010 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

1.703