Controlling AI SSMs

Take command of air and naval assets from post-WW2 to the near future in tactical and operational scale, complete with historical and hypothetical scenarios and an integrated scenario editor.

Moderator: MOD_Command

Post Reply
User avatar
kevinkins
Posts: 2465
Joined: Wed Mar 08, 2006 11:54 am

Controlling AI SSMs

Post by kevinkins »

Placing a battery inside a inactive land strike mission and the missiles immediately fire at a hostile AB w/i range. How to keep them on the ground? I thought an inactive mission would override global RoE settings. I can keep them on the ground with a RoE hold setting on the SSM unit. But I would like to activate the SSM mission on an AI trigger.

Edit: ScenEdit_SetEMCON('Unit', 'SSM Bn (Musudan-1)', 'weapon_control_status_land=0')
Does not throw an error but does not change the RoE for the specific unit from hold to free.

Kevin
“The study of history lies at the foundation of all sound military conclusions and practice.”
Alfred Thayer Mahan
ExNusquam
Posts: 530
Joined: Mon Mar 03, 2014 11:26 pm
Location: Washington, D.C.

RE: Controlling AI SSMs

Post by ExNusquam »

IIRC, the correct format for adjusting WCS via LUA is:

Code: Select all

ScenEdit_SetDoctrine({side="Example", name="SSM Bn (Musudan-1"}, {weapon_control_status_land= "0"})
User avatar
kevinkins
Posts: 2465
Joined: Wed Mar 08, 2006 11:54 am

RE: Controlling AI SSMs

Post by kevinkins »

Thanks. That syntax works.

Does anyone have a non lua solution? I was able to hold missiles on the ground based on a mission activation time in another scenario I posted - "Baltic Ballet". Not sure why these guys are disregarding the inactive setting.

Thanks

Kevin
“The study of history lies at the foundation of all sound military conclusions and practice.”
Alfred Thayer Mahan
User avatar
Gunner98
Posts: 5957
Joined: Fri Apr 29, 2005 12:49 am
Location: The Great White North!
Contact:

RE: Controlling AI SSMs

Post by Gunner98 »

The Active/inActive mission should work to control them. Perhaps give the unit a weapons Hold at the start and the mission a weapons free?

B
Check out our novel, Northern Fury: H-Hour!: http://northernfury.us/
And our blog: http://northernfury.us/blog/post2/
Twitter: @NorthernFury94 or Facebook https://www.facebook.com/northernfury/
User avatar
kevinkins
Posts: 2465
Joined: Wed Mar 08, 2006 11:54 am

RE: Controlling AI SSMs

Post by kevinkins »

Maybe there is are inconsistencies in how each SSM type interacts with the mission editor. Or maybe there is a important lank strike mission setting. But a/c react to mission activate triggers consistently. Missiles are a bit of the mystery programming them for the AI side.

Kevin
“The study of history lies at the foundation of all sound military conclusions and practice.”
Alfred Thayer Mahan
mikmykWS
Posts: 7185
Joined: Tue Mar 22, 2005 4:34 pm

RE: Controlling AI SSMs

Post by mikmykWS »

Maybe I'm missing something but prior to lua this is how I held fire.

Create a zone that changes posture to hostile.
Assign the ssm batteries to strike missions that fire on hostiles.

Second way is a patrol mission with a prosecution zone and firing at in range contacts turned off. This will force the battery to only shoot at whats in the zone.

Mike
Fer_Cabo
Posts: 111
Joined: Thu Sep 17, 2015 2:39 pm

RE: Controlling AI SSMs

Post by Fer_Cabo »

Hi Mike, bear in mind that Kevinkin wants to make that part of an Event that, once triggered makes his missile launchers attack (but not before)
mikmykWS
Posts: 7185
Joined: Tue Mar 22, 2005 4:34 pm

RE: Controlling AI SSMs

Post by mikmykWS »

Ah ok.

You can activate the mission when you want either via lua or the mission editor itself.

Mike

User avatar
kevinkins
Posts: 2465
Joined: Wed Mar 08, 2006 11:54 am

RE: Controlling AI SSMs

Post by kevinkins »

Is my present scenario design, an inactive mission does not hold the SSM Bn (Musudan-2) from firing. But I can do so by setting the initial land ROE to Hold and then use lua to switch the ROE per the event firing. However in another design, the SSM Bn (SS-26 Stone [9K720 Iskander-M] TEL) held fire while the mission was inactive until an event activated the mission. No need to fiddle with the ROE setting. Thanks for zone tip.

Edit: I will do a small separate controlled study once I finish the scenario w/ the Musudan-2.

Kevin
“The study of history lies at the foundation of all sound military conclusions and practice.”
Alfred Thayer Mahan
ComDev
Posts: 3116
Joined: Fri May 12, 2006 1:20 pm
Contact:

RE: Controlling AI SSMs

Post by ComDev »

Inactive missions should hold weapons, no?

Do you have a savegame on this?

Thanks!
Image

Developer "Command: Modern Air/Naval Operations" project!
User avatar
kevinkins
Posts: 2465
Joined: Wed Mar 08, 2006 11:54 am

RE: Controlling AI SSMs

Post by kevinkins »

I am putting together a separate test to make sure I am not going crazy. Will post the results.

Kevin
“The study of history lies at the foundation of all sound military conclusions and practice.”
Alfred Thayer Mahan
Cik
Posts: 671
Joined: Wed Oct 05, 2016 3:22 am

RE: Controlling AI SSMs

Post by Cik »

restricting mission activation times always worked for me in controlling SSMs.

Post Reply

Return to “Command: Modern Operations series”