diff --git a/Documentation/AI.AI_A2A_Dispatcher.html b/Documentation/AI.AI_A2A_Dispatcher.html index abe745b2e..6234f6ff6 100644 --- a/Documentation/AI.AI_A2A_Dispatcher.html +++ b/Documentation/AI.AI_A2A_Dispatcher.html @@ -4873,14 +4873,11 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
Flash messages to player
-Flash messages to player
-Flash messages to player
-Flash messages to player
-Set destination airbase for next :Route() command.
- @@ -2787,9 +2784,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau - -Aircraft is on a depoly mission.
- @@ -2815,6 +2809,9 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau + +Aircraft is on a pickup mission.
+ @@ -4541,9 +4538,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau - -Set destination airbase for next :Route() command.
- @@ -4577,9 +4571,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau - -Aircraft is on a depoly mission.
- @@ -4605,6 +4596,9 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau + +Aircraft is on a pickup mission.
+ @@ -5173,9 +5167,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau - -Set destination airbase for next :Route() command.
- @@ -5209,9 +5200,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau - -Aircraft is on a depoly mission.
- @@ -5237,6 +5225,9 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau + +Aircraft is on a pickup mission.
+ @@ -6693,9 +6684,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau - -Set destination airbase for next :Route() command.
- @@ -6729,9 +6717,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau - -Aircraft is on a depoly mission.
- @@ -6757,6 +6742,9 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau + +Aircraft is on a pickup mission.
+ diff --git a/Documentation/AI.AI_Cargo_Helicopter.html b/Documentation/AI.AI_Cargo_Helicopter.html index ba7072f07..b6c23e96f 100644 --- a/Documentation/AI.AI_Cargo_Helicopter.html +++ b/Documentation/AI.AI_Cargo_Helicopter.html @@ -2908,28 +2908,22 @@ When Moose is loaded statically, (as one file), tracing is switched off by defaumeter
-kph
-meter
-kph
-meter
-kph
-meter
-kph
-This table contains the targets detected during patrol.
+ @@ -6506,6 +6509,9 @@ Note that this method is required, as triggers the next route when patrolling fo + +This table contains the targets detected during patrol.
+ @@ -7250,6 +7256,9 @@ Note that this method is required, as triggers the next route when patrolling fo + +This table contains the targets detected during patrol.
+ @@ -8882,6 +8891,9 @@ Note that this method is required, as triggers the next route when patrolling fo + +This table contains the targets detected during patrol.
+ diff --git a/Documentation/Cargo.CargoCrate.html b/Documentation/Cargo.CargoCrate.html index 58b55730c..f1bcf0170 100644 --- a/Documentation/Cargo.CargoCrate.html +++ b/Documentation/Cargo.CargoCrate.html @@ -1864,6 +1864,17 @@ Therefore, this class is considered to be deprecatedself.CargoObject:Destroy()
- -Now we spawn the new group based on the template created.
+self.CargoObject:Destroy()
- -Now we spawn the new group based on the template created.
+the y coordinate in meters.
+the y coordinate in meters.
+the y coordinate in meters.
+ + + +BASE:E( {PlayerUnit:GetName(), A2GSystem } )
+BASE:E( {PlayerUnit:GetName(), A2GSystem } )
+The AI is on by default when spawning a group.
+Don't repeat the group from Take-Off till Landing and back Take-Off by ReSpawning.
+ @@ -3631,6 +3661,20 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau + + + +The internal counter of the amount of spawning the has happened since SpawnStart.
+Overwrite unit names by default with group name.
+By default, no InitLimit
The AI is on by default when spawning a group.
+The internal counter of the amount of spawning the has happened since SpawnStart.
+Overwrite unit names by default with group name.
+By default, no InitLimit
Spawns a new static using a given template.
-The ME name of the HQ object
- - - -Prefix for logging
-switch alarm state RED
+self.SAMCheckRanges = {}
-The ME name of the HQ object
- - - -Prefix for logging
-switch alarm state RED
+self.SAMCheckRanges = {}
-Contains the counter how many units are currently alive.
- -Contains the counter how many units are currently alive.
- -Type of terminal to be used when spawning at an airbase.
-Type of terminal to be used when spawning at an airbase.
- - - -Type of terminal to be used when spawning at an airbase.
- - - -Create the CSV file.
+Create the CSV file.
+Radio queue of LSO.
+Radio queue of marshal.
+Radio queue of LSO.
+Radio queue of marshal.
+Radio queue of LSO.
+ + + +Radio queue of marshal.
+ + + +Data table at each position in the groove. Elements are of type AIRBOSS.GrooveData.
- - - -Set section lead of player flight.
+Make player section lead if he was not before.
diff --git a/Documentation/Ops.CSAR.html b/Documentation/Ops.CSAR.html index 2b0126db4..882170125 100644 --- a/Documentation/Ops.CSAR.html +++ b/Documentation/Ops.CSAR.html @@ -4373,11 +4373,14 @@ When Moose is loaded statically, (as one file), tracing is switched off by defautable of CSAR unit names
+Replacement woundedGroups
+table of CSAR unit names
+Replacement woundedGroups
+table of CSAR unit names
+Replacement woundedGroups
+Name of the class.
- - - -holds #CTLD_ENGINEERING objects
+Folderpath.
+time to repairor build a unit/group
+noob catch
Name of the class.
-holds #CTLD_ENGINEERING objects
+Folderpath.
+time to repairor build a unit/group
+noob catch
Name of the class.
-holds #CTLD_ENGINEERING objects
+Folderpath.
+time to repairor build a unit/group
+noob catch
Can transport crate.
-template for a group of 10 paratroopers
+template for a group of 10 paratroopers
+Use MSRS.SetVolume to define the SRS volume. Defaults to 1.0. Allowed values are between 0.0 and 1.0, from silent to loudest.
+Use MSRS.SetDefaultBackendGRPC to enable DCS-gRPC as an alternate backend for transmitting text-to-speech over SRS. +This can be useful if 'DCS-SR-ExternalAudio.exe' cannot be used in the environment, or to use Azure or AWS clouds for TTS. Note that DCS-gRPC does not (yet?) support +all of the features and options available with 'DCS-SR-ExternalAudio.exe'. Of note, only text-to-speech is supported and it it cannot be used to transmit audio files.
+ +DCS-gRPC must be installed and configured per the DCS-gRPC documentation and already running via either the 'autostart' mechanism +or a Lua call to 'GRPC.load()' prior to use of the alternate DCS-gRPC backend. If a cloud TTS provider is being used, the API key must be set via the 'Config\dcs-grpc.lua' +configuration file prior DCS-gRPC being started. DCS-gRPC can be used both with DCS dedicated server and regular DCS installations.
+ +To use the default local Windows TTS with DCS-gRPC, Windows 2019 Server (or newer) or Windows 10/11 are required. Voices for non-local languages and dialects may need to +be explicitly installed.
+ +To set the MSRS class to use the DCS-gRPC backend for all future instances, call the function MSRS.SetDefaultBackendGRPC().
Note - When using other classes that use MSRS with the alternate DCS-gRPC backend, pass them strings instead of nil values for non-applicable fields with filesystem paths, +such as the SRS path or Google credential path. This will help maximize compatibility with other classes that were written for the default backend.
+ +Basic Play Text-To-Speech example using alternate DCS-gRPC backend (DCS-gRPC not previously started):
+ +-- Start DCS-gRPC
+GRPC.load()
+-- Select the alternate DCS-gRPC backend for new MSRS instances
+MSRS.SetDefaultBackendGRPC()
+-- Create a SOUNDTEXT object.
+local text=SOUNDTEXT:New("All Enemies destroyed")
+-- MOOSE SRS
+local msrs=MSRS:New('', 305.0)
+-- Text-to speech with default voice after 30 seconds.
+msrs:PlaySoundText(text, 30)
+
+
+Basic example of using another class (ATIS) with SRS and the DCS-gRPC backend (DCS-gRPC not previously started):
+ +-- Start DCS-gRPC
+GRPC.load()
+-- Select the alternate DCS-gRPC backend for new MSRS instances
+MSRS.SetDefaultBackendGRPC()
+-- Create new ATIS as usual
+atis=ATIS:New("Nellis", 251, radio.modulation.AM)
+-- ATIS:SetSRS() expects a string for the SRS path even though it is not needed with DCS-gRPC
+atis:SetSRS('')
+-- Start ATIS
+atis:Start()
+
+
Add modulations.
+Table containing functions and variables to enable an alternate backend to transmit to SRS.
MSRS:New(PathToSRS, Frequency, Modulation, Volume, AltBackend)
Create a new MSRS object.
Play text file via STTS.
+Restores default SRS backend (DCS-SR-ExternalAudio.exe) to be used by all new MSRS class instances to transmit over SRS.
Set culture.
+Sets an alternate SRS backend to be used by MSRS to transmit over SRS for all new MSRS class instances.
+Sets DCS-gRPC as the default SRS backend for all new MSRS class instances.
+Set to use a specific voice.
Use google text-to-speech.
+Use google text-to-speech.
Get lat, long and alt from coordinate.
+Adds or replaces functions and variables in the current MSRS class instance to enable an alternate backends for transmitting to SRS.
Culture. Default "en-GB".
+Port. Default 5002.
+Create a new transmission and add it to the radio queue.
Mission time (abs) in seconds when the transmission started.
+Voice culture
Frequency.
+Voice gender
If true, transmission is currently playing.
+Label to be used
Text to be transmitted.
+Voice if any
+Volume
+| Fields and Methods inherited from MSRS_BACKEND_DCSGRPC | +Description | +
|---|---|
| + |
+ A table of functions that will add or replace the default MSRS class functions. + |
+
| + |
+ A table of variables that will add or replace the default MSRS class variables. + |
+
| + |
+ Version number of this alternate backend. |
Table containing functions and variables to enable an alternate backend to transmit to SRS.
+ +Culture. Default "en-GB".
+Port. Default 5002.
+Create a new MSRS object.
@@ -3984,6 +4195,19 @@ When Moose is loaded statically, (as one file), tracing is switched off by defauVolume - 1.0 is max, 0.0 is silence
++ #table + AltBackend +
+Optional table containing tables 'Functions' and 'Vars' which add/replace functions and variables for the MSRS instance to allow alternate backends for transmitting to SRS.
+Restores default SRS backend (DCS-SR-ExternalAudio.exe) to be used by all new MSRS class instances to transmit over SRS.
+ +MSRS
+#boolean:
+Returns 'true' on success.
+ +Sets an alternate SRS backend to be used by MSRS to transmit over SRS for all new MSRS class instances.
+ +MSRS
++ #table + Backend +
+A table containing a table Functions with new/replacement class functions and Vars with new/replacement variables.
#boolean:
+Returns 'true' on success.
+ +Sets DCS-gRPC as the default SRS backend for all new MSRS class instances.
+ +MSRS
+#boolean:
+Returns 'true' on success.
+ +Set to use a specific voice.
+ + +Will override gender and culture settings.
+ +MSRS
++ #string + Voice +
+Voice.
+ +self
+ ++ #string PathToCredentials
Use google text-to-speech.
+ +MSRS
++ #string + APIKey +
+API Key, usually a string of length 40 with characters and numbers.
+ +self
+ +Adds or replaces functions and variables in the current MSRS class instance to enable an alternate backends for transmitting to SRS.
+ +MSRS
++ #table + A +
+table containing a table Functions with new/replacement class functions and Vars with new/replacement variables.
+ Backend +
+self
+ +Table containing functions and variables to enable an alternate backend to transmit to SRS.
+ +Culture. Default "en-GB".
+Port. Default 5002.
+ + + +Create a new transmission and add it to the radio queue.
@@ -9186,6 +9704,71 @@ This can be used to submit multiple TTS messages and the class takes care that tRadio modulation if other then MSRS default.
++ #string + gender +
+Gender of the voice
+ ++ #string + culture +
+Culture of the voice
+ ++ #string + voice +
+Specific voice
+ ++ #number + volume +
+Volume setting
+ ++ #string + label +
+Label to be used
+Voice culture
+ +Voice gender
+ +Label to be used
+ +Voice if any
+ +Volume
+ +Alternate backend for MSRS to enable text-to-speech via DCS-gRPC.
+ + +A table containing functions and variables for MSRS to use DCS-gRPC DCS-gRPC 0.7.0 or newer as a backend to transmit over SRS.
+This is not a standalone class. Instead, variables and functions under the Vars and Functions tables get added to or replace MSRS variables/functions when activated.
A table of functions that will add or replace the default MSRS class functions.
+ +A table of variables that will add or replace the default MSRS class variables.
+ +Version number of this alternate backend.
+ +