From 01fe4a77123b0ed0deab02758fa44efc7c89550f Mon Sep 17 00:00:00 2001
From: Applevangelist The Defender Default Settings over all Squadrons.
The Defender Default Settings over all Squadrons.
+ + + +The Defender Default Settings over all Squadrons.
+ + + +The Defender Default Settings over all Squadrons.
+ + + +No loading happened, so we need to pickup something else.
+No loading happened, so we need to pickup something else.
+No loading happened, so we need to pickup something else.
+No loading happened, so we need to pickup something else.
+Set destination airbase for next :Route() command.
+ @@ -2784,6 +2787,9 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau + +Aircraft is on a depoly mission.
+ @@ -2809,9 +2815,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau - -Aircraft is on a pickup mission.
- @@ -4538,6 +4541,9 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau + +Set destination airbase for next :Route() command.
+ @@ -4571,6 +4577,9 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau + +Aircraft is on a depoly mission.
+ @@ -4596,9 +4605,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau - -Aircraft is on a pickup mission.
- @@ -5167,6 +5173,9 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau + +Set destination airbase for next :Route() command.
+ @@ -5200,6 +5209,9 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau + +Aircraft is on a depoly mission.
+ @@ -5225,9 +5237,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau - -Aircraft is on a pickup mission.
- @@ -6684,6 +6693,9 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau + +Set destination airbase for next :Route() command.
+ @@ -6717,6 +6729,9 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau + +Aircraft is on a depoly mission.
+ @@ -6742,9 +6757,6 @@ 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 b6c23e96f..ba7072f07 100644 --- a/Documentation/AI.AI_Cargo_Helicopter.html +++ b/Documentation/AI.AI_Cargo_Helicopter.html @@ -2908,22 +2908,28 @@ When Moose is loaded statically, (as one file), tracing is switched off by defaumeter
+kph
+meter
+kph
+meter
+kph
+meter
+kph
+self.CargoObject:Destroy()
+ +Then we register the new group in the database
-Now we spawn the new group based on the template created.
-self.CargoObject:Destroy()
+ +Then we register the new group in the database
-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.
- @@ -3661,20 +3655,6 @@ 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
+SPAWN.SpawnInitModex + + + +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
+SPAWN.SpawnInitModex + + + +Spawns a new static using a given template.
+Kickspeed
+Kickspeed
+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.
+ + + +Coalition of the associcated airbase.
+Coalition of the associated airbase.
Set case to that of lead.
+Set stack flag.
+ +Make player section lead if he was not before.
+Set section lead of player flight.
Set Stable Hover
+Set time stamp.
-Band modulation.
- - - -table of CSAR unit names
-Replacement woundedGroups
- -contain a table for each SAR with all units he has with the original names
+counter for saved pilots
- -counter for successful rescue landings at FARP/AFB/MASH
- -table of CSAR unit names
-Replacement woundedGroups
- -contain a table for each SAR with all units he has with the original names
+counter for saved pilots
- -counter for successful rescue landings at FARP/AFB/MASH
- -table of CSAR unit names
-Replacement woundedGroups
- -contain a table for each SAR with all units he has with the original names
+counter for saved pilots
- -counter for successful rescue landings at FARP/AFB/MASH
- -Name of the class.
+use as counter
+ +Beacons
+tables
+Folderpath.
-noob catch
+time to repairor build a unit/group
@@ -8458,7 +8497,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defauName of the class.
+use as counter
+ +Beacons
+tables
+Folderpath.
-noob catch
+time to repairor build a unit/group
@@ -18037,7 +18115,7 @@ However, if you create a new folder inside the miz file, which contains the sounName of the class.
+use as counter
+ +Beacons
+tables
+Folderpath.
-noob catch
+time to repairor build a unit/group
@@ -20443,7 +20560,7 @@ However, if you create a new folder inside the miz file, which contains the sounFlag for direct loading.
+Flag for direct loading.
+ + + +template for a group of 10 paratroopers
- - - -template for a group of 10 paratroopers
- - - -Name of the class.
+Name of the standard config file
+Path to the standard config file
+Label showing up on the SRS radio overlay. Default is "ROBOT". No spaces allowed.
+Get central SRS configuration to be able to play tts over SRS radio using the DCS-SR-ExternalAudio.exe.
Specifc voce.
+Specific voce.
The main event handling function...
+| Fields and Methods inherited from MSRS.GRPCOptions | +Description | +
|---|---|
| + | + + | +
| + | + + | +
| + | + + | +
| + | + + | +
| + | + + | +
| + | + + | +
| + | + + | +
| + | + + | +
| + | + + | +
| + | + + | +
| Fields and Methods inherited from MSRS.ProviderOptions | +Description | +
|---|---|
| + | + + | +
| + | + + | +
| + | + + | +
| + | + + | +
| + | + |
Name of the class.
+Name of the standard config file
+ +Path to the standard config file
+ +Specifc voce.
+Specific voce.
Get central SRS configuration to be able to play tts over SRS radio using the DCS-SR-ExternalAudio.exe.
MSRS
++ #string + Path +
+Path to config file, defaults to "C:\Users\
+ #string + Filename +
+File to load, defaults to "Moose_MSRS.lua"
+ ++ #boolean + ConfigLoaded +
+#boolean:
+success
+ + 0) Benefits: Centralize configuration of SRS, keep paths and keys out of the mission source code, making it safer and easier to move missions to/between servers,
+ and also make config easier to use in the code.
+ 1) Create a config file named "Moose_MSRS.lua" at this location "C:\Users\<yourname>\Saved Games\DCS\Config" (or wherever your Saved Games folder resides).
+ 2) The file needs the following structure:
+
+ -- Moose MSRS default Config
+ MSRS_Config = {
+ Path = "C:\\Program Files\\DCS-SimpleRadio-Standalone", -- adjust as needed
+ Port = 5002, -- adjust as needed
+ Frequency = {127,243}, -- must be a table, 1..n entries!
+ Modulation = {0,0}, -- must be a table, 1..n entries, one for each frequency!
+ Volume = 1.0,
+ Coalition = 0, -- 0 = Neutral, 1 = Red, 2 = Blue
+ Coordinate = {0,0,0}, -- x,y,alt - optional
+ Culture = "en-GB",
+ Gender = "male",
+ Google = "C:\\Program Files\\DCS-SimpleRadio-Standalone\\yourfilename.json", -- path to google json key file - optional
+ Label = "MSRS",
+ Voice = "Microsoft Hazel Desktop",
+ -- gRPC (optional)
+ GRPC = { -- see https://github.com/DCS-gRPC/rust-server
+ coalition = "blue", -- blue, red, neutral
+ DefaultProvider = "gcloud", -- win, gcloud, aws, or azure, some of the values below depend on your cloud provider
+ gcloud = {
+ key = "<API Google Key>", -- for gRPC Google API key
+ --secret = "", -- needed for aws
+ --region = "",-- needed for aws
+ defaultVoice = MSRS.Voices.Google.Standard.en_GB_Standard_F,
+ },
+ win = {
+ defaultVoice = "Hazel",
+ },
+ }
+ }
+
+ 3) Load the config into the MSRS raw class before you do anything else:
+
+ MSRS.LoadConfigFile() -- Note the "." here
+
+ This will populate variables for the MSRS raw class and all instances you create with e.g. `mysrs = MSRS:New()`
+ Optionally you can also load this per **single instance** if so needed, i.e.
+
+ mysrs:LoadConfig(Path,Filename)
+
+ 4) Use the config in your code like so, variable names are basically the same as in the config file, but all lower case, examples:
+
+ -- Needed once only
+ MESSAGE.SetMSRS(MSRS.path,nil,MSRS.google,243,radio.modulation.AM,nil,nil,
+ MSRS.Voices.Google.Standard.de_DE_Standard_B,coalition.side.BLUE)
+
+ -- later on in your code
+
+ MESSAGE:New("Test message!",15,"SPAWN"):ToSRS(243,radio.modulation.AM,nil,nil,MSRS.Voices.Google.Standard.fr_FR_Standard_C)
+
+ -- Create new ATIS as usual
+ atis=ATIS:New(AIRBASE.Caucasus.Batumi, 123, radio.modulation.AM)
+ atis:SetSRS(nil,nil,nil,MSRS.Voices.Google.Standard.en_US_Standard_H)
+ --Start ATIS
+ atis:Start()
+
+Full path to the google credentials JSON file, e.g. "C:\Users\username\Downloads\service-account-file.json".
+Full path to the google credentials JSON file, e.g. "C:\Users\username\Downloads\service-account-file.json". Can also be the Google API key.
Name of the class.
+ + + +Name of the standard config file
+ +Path to the standard config file
+ +Specifc voce.
+Specific voce.
@@ -9234,6 +9657,198 @@ When moose is loading dynamically (for moose class development), tracing is swit + + + + +GRPC options
+ +set to false to suppress flash messages
-set to false to suppress flash messages
-set to false to suppress flash messages
-set to false to suppress flash messages
-Coordinate of the mark.
- - - -Text displayed in the mark panel.
+ + + +Coordinate of the mark.
- - - -Text displayed in the mark panel.
+ + + +Coordinate of the mark.
- - - -Text displayed in the mark panel.
+ + + +