Page 1 of 1

OutOfComms=”True”

Posted: Thu Jun 01, 2017 1:46 pm
by Real and Simulated Wars
Hello,

The comms disruption brought in for CoW is so exciting that it prompted me to try some lua scripting.

My first forays into this went well. I used some of the examples available online and lua is a very powerful tool.

However, when I try my version of this example shown in Warfaresims.com:

Code: Select all

ScenEdit_SetUnit({Side="NATO", Name=”Osiris”, OutOfComms=”True”})

I get an error. There is an unexpected character near a symbol, the console says. I know is not the unit name or the side. So it must be the OutOfComms part.

My question is: does OutOfComms part of the table requires some other piece of code? Is OutOfComms functional at this time?

Thanks,

JC

RE: OutOfComms=”True”

Posted: Thu Jun 01, 2017 1:50 pm
by mikmykWS
This is what mine looks like from Salvo in CoW
ScenEdit_SetUnit({Name="Guam SAM Bty (THAAD)", OutOfComms="True"})

Mike

RE: OutOfComms=”True”

Posted: Thu Jun 01, 2017 2:01 pm
by Real and Simulated Wars
Hi Mike,

Thanks for the quick response. What a mysterious thing ...

P/S I sent you a LinkedIn invite.

RE: OutOfComms=”True”

Posted: Thu Jun 01, 2017 2:01 pm
by Dimitris
I see that the quotes in the Name and OutOfComms properties are "italic" style whereas the quotes on Side are "straight". Maybe this is the reason? (Lua is sometimes nitpicky on character parsing.)

RE: OutOfComms=”True”

Posted: Thu Jun 01, 2017 2:04 pm
by mikmykWS
ORIGINAL: Chelco

Hi Mike,

Thanks for the quick response. What a mysterious thing ...

P/S I sent you a LinkedIn invite.

Thanks! Got it!

Mike

RE: OutOfComms=”True”

Posted: Thu Jun 01, 2017 2:15 pm
by Real and Simulated Wars
Thanks!

Dimitris, I think that has to be it. Can't wait to get home and try it.


RE: OutOfComms=”True”

Posted: Thu Jun 01, 2017 8:40 pm
by Real and Simulated Wars
Well, that was it. Thanks for your help. It's all working now.

Cheers,

JC

RE: OutOfComms=”True”

Posted: Sat Jun 03, 2017 12:49 am
by Real and Simulated Wars
At 1653 local time, Georgian SOF operator Nikoloz Kimerioni accidentally dropped the totality of the communications equipment of his team into the violent currents of a rain-swollen Khipsta River.
Image
Team Alpha has gone silent a few minutes after calling for CAS.

RE: OutOfComms=”True”

Posted: Sun Jun 04, 2017 1:16 pm
by Real and Simulated Wars
A couple of minutes earlier, eager to get a better sight at an unidentified group of men suspiciously moving on the slopes north of Abgara (12 km north of the Gudauta Military Airport), Nikoloz decided to take advantage of the clear lines of sight offered by the riverbank. Moving from boulder to boulder and attentively listening to his earpiece, he settled for a tall rock. He could see the two A-10Cs he called for support, and waited with much anticipation for a readback. But he lost his step and sled down the rock, barely avoiding falling into the waters. His radio, along with the Tactical Tailor pouch, easily detached from his plate carrier because of a lousy MOLLE job. Both took a dip into the waters of the river, never to be seen again.

This blog post is about how to set up a communications disruption in CMANO and how such disruptions affect the tactical picture of the player and his virtual units.

I wanted to simulate a couple of A-10Cs (Flight 544) staying in a holding position, waiting for calls from a land unit (SOF Team Alpha). And from there, the land unit's radio gone.

RE: OutOfComms=”True”

Posted: Sun Jun 04, 2017 1:17 pm
by Real and Simulated Wars
To edit an scenario with communications disruption, the first thing to do is to set it up in a way that allows such thing.
Image
Editor->Scenario Features + Realism Settings. Check the Communications Disruption option.

RE: OutOfComms=”True”

Posted: Sun Jun 04, 2017 1:19 pm
by Real and Simulated Wars
I then created a ASuW (ground mission) with a patrol area in the sea (red area in the screenshot below) and assigned the two A-10Cs to it (Flight 544). I know there are no targets in the "patrol area" so it is more like a holding position for the A-10Cs to loiter.
Image
There are plenty of places to learn how to add a mission in CMANO. Note how I ticked on the option to let the A-10Cs to investigate targets outside the patrol area.

By allowing the A-10Cs to investigate contacts outside the patrol area, the A-10Cs will rapidly go an check out contacts obtained by other units like SOF Team Alpha. This is a rather lousy/lazy way to simulate a CAS request from the SOF Team Alpha. But it works just fine in this low unit density scenario.

RE: OutOfComms=”True”

Posted: Sun Jun 04, 2017 1:23 pm
by Real and Simulated Wars
And now, how to set up the communications disruption. In this Warfaresims.com article, it is explained that it can be done in a variety of ways. From just checking an option in the unit properties menu, to manually setting the damage of the hardware used for communications.

The third option, which is also explained in the article, is to use some lua scripting. I know nothing about programming, but I decided to give it a try. Setting up a comms disruption via a trigger was quite easy, I just used the code shown the Warfaresims.com article.

Image
I created an event that is triggered at the time in which Nikolai dropped off his radio into the water. The action (shown in the left window) was to leave the SOF Team Alpha out of communications.

The lua command that is activated when the (rather unfortunate) event comes to life is:

ScenEdit_SetUnit({Name="SOF Team Alpha", OutOfComms="True"})

That's the same code shown in the article, with the name of the unit changed off course.

RE: OutOfComms=”True”

Posted: Sun Jun 04, 2017 1:25 pm
by Real and Simulated Wars
And that's it! The action can take place without my intervention. So I just click "play" and sit back to watch what happens.

Image
Start of the scenario. SOF Team Alpha is on patrol north of Gudauta airbase. Flight 544 is moving towards their holding position.

RE: OutOfComms=”True”

Posted: Sun Jun 04, 2017 1:26 pm
by Real and Simulated Wars
Image
And a repetition of the tactical picture of the moment that Nikoloz took a bad step.

RE: OutOfComms=”True”

Posted: Sun Jun 04, 2017 1:28 pm
by Real and Simulated Wars
Image
Flight 544 continues their mission against the Abkhazian insurgents. Even without any contact with SOF Team Alpha, Flight 544's virtual commander "remembers" the contact position and now it has identified it as a hostile Abkhazian dismounted militia.

RE: OutOfComms=”True”

Posted: Sun Jun 04, 2017 1:28 pm
by Real and Simulated Wars
But as you can see from the message log's gray entries, SOF Team Alpha is getting into trouble.

Many thanks to Mike and Dimitris from WarfareSims with their help with the lua script.

To be continued.

RE: OutOfComms=”True”

Posted: Sun Jun 04, 2017 2:13 pm
by Dimitris
Sweet! Can't wait for the rest.