From fc32252db7f9564119541eb803af3093686592e7 Mon Sep 17 00:00:00 2001 From: Applevangelist Date: Wed, 22 Nov 2023 18:35:04 +0100 Subject: [PATCH] xx --- Moose Development/Moose/AI/AI_A2G_Dispatcher.lua | 6 +++--- Moose Development/Moose/Sound/SRS.lua | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Moose Development/Moose/AI/AI_A2G_Dispatcher.lua b/Moose Development/Moose/AI/AI_A2G_Dispatcher.lua index 4dc1329c8..0a4089ce7 100644 --- a/Moose Development/Moose/AI/AI_A2G_Dispatcher.lua +++ b/Moose Development/Moose/AI/AI_A2G_Dispatcher.lua @@ -1351,14 +1351,14 @@ do -- AI_A2G_DISPATCHER -- 1. the **distance of the closest airbase to target**, being smaller than the **Defend Radius**. -- 2. the **distance to any defense reference point**. -- - -- The **default** defense radius is defined as **400000** or **40km**. Override the default defense radius when the era of the warfare is early, or, + -- The **default** defense radius is defined as **40000** or **40km**. Override the default defense radius when the era of the warfare is early, or, -- when you don't want to let the AI_A2G_DISPATCHER react immediately when a certain border or area is not being crossed. -- -- Use the method @{#AI_A2G_DISPATCHER.SetDefendRadius}() to set a specific defend radius for all squadrons, -- **the Defense Radius is defined for ALL squadrons which are operational.** -- -- @param #AI_A2G_DISPATCHER self - -- @param #number DefenseRadius (Optional, Default = 200000) The defense radius to engage detected targets from the nearest capable and available squadron airbase. + -- @param #number DefenseRadius (Optional, Default = 20000) The defense radius to engage detected targets from the nearest capable and available squadron airbase. -- @return #AI_A2G_DISPATCHER -- @usage -- @@ -1373,7 +1373,7 @@ do -- AI_A2G_DISPATCHER -- function AI_A2G_DISPATCHER:SetDefenseRadius( DefenseRadius ) - self.DefenseRadius = DefenseRadius or 100000 + self.DefenseRadius = DefenseRadius or 40000 self.Detection:SetAcceptRange( self.DefenseRadius ) diff --git a/Moose Development/Moose/Sound/SRS.lua b/Moose Development/Moose/Sound/SRS.lua index 12460f737..537825b1b 100644 --- a/Moose Development/Moose/Sound/SRS.lua +++ b/Moose Development/Moose/Sound/SRS.lua @@ -1266,7 +1266,7 @@ function MSRS:LoadConfigFile(Path,Filename) MSRS.gender = MSRS_Config.Gender or "male" MSRS.google = MSRS_Config.Google if MSRS_Config.Provider then - self.ttsprovider = MSRS_Config.Provider + MSRS.ttsprovider = MSRS_Config.Provider end MSRS.Label = MSRS_Config.Label or "MSRS" MSRS.voice = MSRS_Config.Voice --or MSRS.Voices.Microsoft.Hazel