mirror of
https://github.com/FlightControl-Master/MOOSE_MISSIONS.git
synced 2026-08-22 16:04:35 +00:00
Add files via upload
This commit is contained in:
@@ -9,13 +9,14 @@
|
|||||||
-- Basic demo of AWACS functionality. You can join one of the planes
|
-- Basic demo of AWACS functionality. You can join one of the planes
|
||||||
-- and switch to AM 255 to listen in. Also, check out the F10 menu.
|
-- and switch to AM 255 to listen in. Also, check out the F10 menu.
|
||||||
-------------------------------------------------------------------------
|
-------------------------------------------------------------------------
|
||||||
-- Date: May 2022
|
-- Date: Nov 2023
|
||||||
-------------------------------------------------------------------------
|
-------------------------------------------------------------------------
|
||||||
|
|
||||||
---- These are set in ME trigger
|
---- These are set in the MSRS Config file - see https://flightcontrol-master.github.io/MOOSE_DOCS_DEVELOP/Documentation/Sound.SRS.html##(MSRS).LoadConfigFile
|
||||||
local hereSRSPath = mySRSPath or "C:\\Program Files\\DCS-SimpleRadio-Standalone"
|
MSRS.LoadConfigFile()
|
||||||
local hereSRSPort = mySRSPort or 5002
|
local hereSRSPath = MSRS.path or "C:\\Program Files\\DCS-SimpleRadio-Standalone"
|
||||||
local hereSRSGoogle = mySRSGKey --or "C:\\Program Files\\DCS-SimpleRadio-Standalone\\yourkey.json"
|
local hereSRSPort = MSRS.port or 5002
|
||||||
|
local hereSRSGoogle = MSRS.google --or "C:\\Program Files\\DCS-SimpleRadio-Standalone\\yourkey.json"
|
||||||
|
|
||||||
--- SETTINGS
|
--- SETTINGS
|
||||||
_SETTINGS:SetLocale("en")
|
_SETTINGS:SetLocale("en")
|
||||||
@@ -92,7 +93,7 @@ testawacs:SetAwacsDetails(CALLSIGN.AWACS.Darkstar,1,30,280,88,25)
|
|||||||
-- Set up SRS
|
-- Set up SRS
|
||||||
if hereSRSGoogle then
|
if hereSRSGoogle then
|
||||||
-- use Google
|
-- use Google
|
||||||
testawacs:SetSRS(hereSRSPath,"female","en-GB",hereSRSPort,"en-GB-Wavenet-F",0.9,hereSRSGoogle)
|
testawacs:SetSRS(hereSRSPath,"female","en-GB",hereSRSPort,MSRS.Voices.Google.Standard.en_GB_Standard_F,0.9,hereSRSGoogle)
|
||||||
else
|
else
|
||||||
-- use Windows
|
-- use Windows
|
||||||
testawacs:SetSRS(hereSRSPath,"male","en-GB",hereSRSPort,nil,0.9)
|
testawacs:SetSRS(hereSRSPath,"male","en-GB",hereSRSPort,nil,0.9)
|
||||||
@@ -104,7 +105,7 @@ testawacs:DrawFEZ()
|
|||||||
testawacs:SetRejectionZone(ZONE:FindByName("Red Border"),true)
|
testawacs:SetRejectionZone(ZONE:FindByName("Red Border"),true)
|
||||||
testawacs:AddCAPAirWing(AwacsAW2)
|
testawacs:AddCAPAirWing(AwacsAW2)
|
||||||
testawacs:SetAICAPDetails(CALLSIGN.F16.Rattler,4,4,300)
|
testawacs:SetAICAPDetails(CALLSIGN.F16.Rattler,4,4,300)
|
||||||
testawacs:SetModernEraAgressive()
|
testawacs:SetModernEraAggressive()
|
||||||
|
|
||||||
testawacs:__Start(5)
|
testawacs:__Start(5)
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user