Page 2 of 3

RE: WIP - Intermittent Emission

Posted: Mon Mar 22, 2021 8:09 pm
by thewood1
I think the entire idea revolves around being able to make missions more dynamic. Turn missions from static mission-specific entities into flexible templates that allows the following:

EMCOM
Speed/altitude/depth
Formation
weapon loadouts
simple lua actions
unit makeup
ROE/WRA
Maybe even damage levels and losses

And probably a few more I can't think of right now. They can be assigned to a group of units by hot-keys, waypoints, events, etc.

RE: WIP - Intermittent Emission

Posted: Tue Mar 23, 2021 12:41 am
by SeaQueen
Special Actions work, but I think you need something almost like macros.

You could do it that way, but it's a little clunky.

RE: WIP - Intermittent Emission

Posted: Thu Mar 25, 2021 2:50 pm
by FifthDomain
Really like this idea

RE: WIP - Intermittent Emission

Posted: Fri Mar 26, 2021 7:06 am
by Geoffropi
Hello,
Will ALL of the radars on one side blink on and off together, or is it radar-by-radar?
It is for each individual unit/group


We did some work on it, with better control on which type(s) of detected contact will "wake" the unit, added a custom preset, group Emcon preset, and inheritance from group toggle.

Image

As for Lua binding, these are the currently available functions, feel free to post your requests if there are specifics functions you would like to see.

ClearUnitEmconConfigs(UnitID)
-- Reinitialise the unit or group with default values for all config presets
Exemple :
ClearUnitEmconConfigs("TestUnit")


ClearAllSideUnitsEmconConfigs(SideNameOrID)
--Does the same as above but for all active units (including groups) of a side
Exemple :
ClearAllSideUnitsEmconConfigs("Portugal")


DuplicateEmconConfigToUnit(PresetAlertID, SourceAUNameOrID, TargetAUNameOrID)
-- Copy and paste a config preset from a source unit or group to a target unit or group
Exemple :
DuplicateEmconConfigToUnit("Yellow", "TestUnit2", "TestUnit")


DuplicateEmconConfigtoSide(PresetAlertID, SourceAUNameOrID, TargetSideNameOrID)
--Copy and paste a config preset from a unit to all units of a side
Exemple :
DuplicateEmconConfigtoSide("Yellow", "TestUnit2", "Portugal")


SetUnitIntermittentEmissionConfig(AUNameOrID, PresetAlertID, ConfigurationID, Value)
--Set one of the intermittent emission config for a selected unit or group and alert preset
Exemple :
SetUnitIntermittentEmissionConfig("TestUnit", "Yellow", "SleepModeDelay", 20)


SwitchUnitIntermittentEmission(AUNameOrID, PresetAlertID, Switch)
-- A shortcut to call SetUnitIntermittentEmissionConfig(AUNameOrID, PresetAlertID, "UseEmissionInterval", Switch, ScenarioContext)
Exemple :
SwitchUnitIntermittentEmission("TestUnit","Red",1)


SetSideEmconAlertness(SideNameOrID, AlertID)
--Set the side's Emcon alert level (Green, Blue, Yellow,Orange, Red)
Exemple :
SetSideEmconAlertness("Portugal","Yellow")




RE: WIP - Intermittent Emission

Posted: Fri Mar 26, 2021 9:30 am
by boogabooga
I recommend that 'realistic EMCON' be an optional scenario feature like "realistic submarine communications", etc.

This is not going to be everyone's cup of tea, and it might break old scenarios.

OTOH, when it is appropriate to have, we'll be glad to have it.

RE: WIP - Intermittent Emission

Posted: Fri Mar 26, 2021 9:32 am
by thewood1
I don't think it needs to be an optional switch. Just have the default be intermittent not being on. I would assume that alert level in older scenarios would be the highest level. From that point on people can do what they want.

RE: WIP - Intermittent Emission

Posted: Fri Mar 26, 2021 11:03 am
by Geoffropi
No worries, this won't break any scenario. The default setting is either continuous or not existing at all -> ignored.

RE: WIP - Intermittent Emission

Posted: Fri Mar 26, 2021 5:04 pm
by musurca
For the function SetUnitIntermittentEmissionConfig, would it be better if it followed the pattern already established in the Command Lua API for multiple arguments?

e.g. instead of
SetUnitIntermittentEmissionConfig("TestUnit", "Yellow", "SleepModeDelay", 20)

it would be
SetUnitIntermittentEmissionConfig("TestUnit", "Yellow", { SleepModeDelay=20, SomeOtherConfigID=2 } )

That way you can store configuration info as a table, and quickly swap out different setups. Unless I'm missing something about the way it's currently designed?

EDIT: It would also be good to have a GetUnitIntermittentEmissionConfig returned as a table, if possible.

RE: WIP - Intermittent Emission

Posted: Sat Mar 27, 2021 2:41 am
by KnightHawk75
ORIGINAL: musurca

For the function SetUnitIntermittentEmissionConfig, would it be better if it followed the pattern already established in the Command Lua API for multiple arguments?

e.g. instead of
SetUnitIntermittentEmissionConfig("TestUnit", "Yellow", "SleepModeDelay", 20)

it would be
SetUnitIntermittentEmissionConfig("TestUnit", "Yellow", { SleepModeDelay=20, SomeOtherConfigID=2 } )

That way you can store configuration info as a table, and quickly swap out different setups. Unless I'm missing something about the way it's currently designed?

EDIT: It would also be good to have a GetUnitIntermittentEmissionConfig returned as a table, if possible.
I definately concur on the absolute need for a getter (something EMCON still lacks today), and on the parameter suggestion. Beyond just the latter being in line with typical pattern, taking the table of options to change at once avoids needing multiple calls when changing various entries.

Seems a good addition and appreciate you guys taking some feedback on it during the dev cycle. I'm assuming if I want to control a specific sensor(s) on specific units (not all sensors of type that this feature covers which is def the most common use case for 98% of people) to flip on and off I'll still be able to do that via lua as I can now so long as I don't enable this new feature?


RE: WIP - Intermittent Emission

Posted: Sat Mar 27, 2021 9:59 am
by mikerohan
What does the message "Affects the side alertness!" mean? Just a clarification, please :)

I was expecting something like "It gets affected by the side alertness" (so if I change something within "green", everybody in "green" gets affected)... not the other way around...

But maybe it's something that I'm not understanding (english not my native language!)

Thanks!

RE: WIP - Intermittent Emission

Posted: Tue Mar 30, 2021 9:35 am
by Geoffropi
thank you for the feedbacks, Lua suggestions are implemented.

Mikerohan, it means the side's EMCON alert level is changed globally, For now, this is placed within the EMCON panel for convenience during development.

RE: WIP - Intermittent Emission

Posted: Tue Mar 30, 2021 3:00 pm
by mikerohan
I get it now. Thanks!

RE: WIP - Intermittent Emission

Posted: Tue Mar 30, 2021 10:26 pm
by trevor999
I noticed on the first post the screen shot shows the Bar Lock radar. Will this feature be applicable to SAM radars as well? For example, the SA-10b uses the Clam Shell as a Target Acquisition Radar (TAR) and the Flap Lid B for TTR/TER (Target Tracking Radar/Target Engagement Radar). On the sensor control panel, I can select one, both or none operating. Will the feature allow, for instance, the Clam Shell to be intermittent and the Flap Lid to automatically track and engage the target? Or more to the point, will this feature be compatible with platforms with different purpose radars?

Also, you mention a toggle "Wake when detecting threat". If there are one or several radars, and it/all happen to be off, how will it/any of them detect a threat? In most western military forces, data links are everywhere. However I'm sure there are other less advanced armed forces with a plethora of data links, so one radar that detected a threat wouldn't be able to (not at least easily/instantaneously)communicate to another radar site possibly scores of miles away.

I think it's a great idea and I hope I don't sound like I'm "splitting hairs".

RE: WIP - Intermittent Emission

Posted: Sat Apr 03, 2021 10:45 am
by AndrewJ
Would this be available for Sonar too?

It could be very useful to make a ping or two every fifteen minutes or half an hour, just to check for those quiet lurking threats, without continuously broadcasting your presence to the entire ocean.

(Says the guy who just had his frigate sunk because he was too lazy to turn off the pinger! [:D])

RE: WIP - Intermittent Emission

Posted: Sat Apr 03, 2021 10:52 am
by BDukes
You know you want to say it.. Just one ping

https://www.youtube.com/watch?v=jr0JaXfKj68

Mike

RE: WIP - Intermittent Emission

Posted: Sat Apr 03, 2021 10:59 am
by Gunner98
[:D]

RE: WIP - Intermittent Emission

Posted: Tue Apr 06, 2021 4:02 pm
by thewood1
One thing to consider is making alert level similar to ready times. If you stay on a high alert level for too long, you are forced to drop back a level for a set time. It might end up making things overly complicated, but I think there should be some incentive to not just throw everything at the highest level and leave it.

Maybe something like you can only be at red alert for six hours in a 24 hour period. Or maybe tie it to proficiency. Maybe the alert exhaustion forces a temporary drop in proficiency.

RE: WIP - Intermittent Emission

Posted: Tue Apr 06, 2021 4:18 pm
by Gunner98
Or maybe tie it to proficiency. Maybe the alert exhaustion forces a temporary drop in proficiency.

I do like this thought. Affects OODA Loop, maneuverability, weapons' accuracy, all the things that degrade with fatigue.

RE: WIP - Intermittent Emission

Posted: Tue Apr 06, 2021 8:56 pm
by SeaQueen
ORIGINAL: thewood1
Or maybe tie it to proficiency. Maybe the alert exhaustion forces a temporary drop in proficiency.

Please don't do that. The OODA loop mechanic is so brilliantly meaningful and simple.

RE: WIP - Intermittent Emission

Posted: Tue Apr 06, 2021 10:06 pm
by thewood1
I agree its simple, but how do you model staying at high alert levels for so long? It has to have some effect eventually.