mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-08-15 10:47:21 +00:00
* less noise
This commit is contained in:
parent
cec045045e
commit
eb5a72fc27
@ -268,6 +268,8 @@
|
|||||||
-- Unfortunately, it is not possible to determine the duration of the complete transmission. So once the transmission is finished, there might be some radio silence before
|
-- Unfortunately, it is not possible to determine the duration of the complete transmission. So once the transmission is finished, there might be some radio silence before
|
||||||
-- the next iteration begins. You can fine tune the time interval between transmissions with the @{#ATIS.SetQueueUpdateTime}() function. The default interval is 90 seconds.
|
-- the next iteration begins. You can fine tune the time interval between transmissions with the @{#ATIS.SetQueueUpdateTime}() function. The default interval is 90 seconds.
|
||||||
--
|
--
|
||||||
|
-- An SRS Setup-Guide can be found here: [Moose TTS Setup Guide](https://github.com/FlightControl-Master/MOOSE_GUIDES/blob/master/documents/Moose%20TTS%20Setup%20Guide.pdf)
|
||||||
|
--
|
||||||
-- # Examples
|
-- # Examples
|
||||||
--
|
--
|
||||||
-- ## Caucasus: Batumi
|
-- ## Caucasus: Batumi
|
||||||
|
|||||||
@ -512,7 +512,7 @@ function COMMANDCENTER:AssignTask( TaskGroup )
|
|||||||
|
|
||||||
if Task then
|
if Task then
|
||||||
|
|
||||||
self:I( "Assigning task " .. Task:GetName() .. " using auto assign method " .. self.AutoAssignMethod .. " to " .. TaskGroup:GetName() .. " with task priority " .. AssignPriority )
|
self:T( "Assigning task " .. Task:GetName() .. " using auto assign method " .. self.AutoAssignMethod .. " to " .. TaskGroup:GetName() .. " with task priority " .. AssignPriority )
|
||||||
|
|
||||||
if not self.AutoAcceptTasks == true then
|
if not self.AutoAcceptTasks == true then
|
||||||
Task:SetAutoAssignMethod( ACT_ASSIGN_MENU_ACCEPT:New( Task.TaskBriefing ) )
|
Task:SetAutoAssignMethod( ACT_ASSIGN_MENU_ACCEPT:New( Task.TaskBriefing ) )
|
||||||
|
|||||||
@ -413,7 +413,7 @@ end
|
|||||||
-- @param Wrapper.Group#GROUP PlayerGroup The GROUP of the player joining the Mission.
|
-- @param Wrapper.Group#GROUP PlayerGroup The GROUP of the player joining the Mission.
|
||||||
-- @return #boolean true if Unit is part of a Task in the Mission.
|
-- @return #boolean true if Unit is part of a Task in the Mission.
|
||||||
function MISSION:JoinUnit( PlayerUnit, PlayerGroup )
|
function MISSION:JoinUnit( PlayerUnit, PlayerGroup )
|
||||||
self:I( { Mission = self:GetName(), PlayerUnit = PlayerUnit, PlayerGroup = PlayerGroup } )
|
self:T( { Mission = self:GetName(), PlayerUnit = PlayerUnit, PlayerGroup = PlayerGroup } )
|
||||||
|
|
||||||
local PlayerUnitAdded = false
|
local PlayerUnitAdded = false
|
||||||
|
|
||||||
@ -571,7 +571,7 @@ do -- Group Assignment
|
|||||||
local MissionGroupName = MissionGroup:GetName()
|
local MissionGroupName = MissionGroup:GetName()
|
||||||
|
|
||||||
self.AssignedGroups[MissionGroupName] = MissionGroup
|
self.AssignedGroups[MissionGroupName] = MissionGroup
|
||||||
self:I( string.format( "Mission %s is assigned to %s", MissionName, MissionGroupName ) )
|
self:T( string.format( "Mission %s is assigned to %s", MissionName, MissionGroupName ) )
|
||||||
|
|
||||||
return self
|
return self
|
||||||
end
|
end
|
||||||
@ -698,7 +698,7 @@ end
|
|||||||
function MISSION:AddTask( Task )
|
function MISSION:AddTask( Task )
|
||||||
|
|
||||||
local TaskName = Task:GetTaskName()
|
local TaskName = Task:GetTaskName()
|
||||||
self:I( { "==> Adding TASK ", MissionName = self:GetName(), TaskName = TaskName } )
|
self:T( { "==> Adding TASK ", MissionName = self:GetName(), TaskName = TaskName } )
|
||||||
|
|
||||||
self.Tasks[TaskName] = Task
|
self.Tasks[TaskName] = Task
|
||||||
|
|
||||||
@ -717,7 +717,7 @@ end
|
|||||||
function MISSION:RemoveTask( Task )
|
function MISSION:RemoveTask( Task )
|
||||||
|
|
||||||
local TaskName = Task:GetTaskName()
|
local TaskName = Task:GetTaskName()
|
||||||
self:I( { "<== Removing TASK ", MissionName = self:GetName(), TaskName = TaskName } )
|
self:T( { "<== Removing TASK ", MissionName = self:GetName(), TaskName = TaskName } )
|
||||||
|
|
||||||
self:F( TaskName )
|
self:F( TaskName )
|
||||||
self.Tasks[TaskName] = self.Tasks[TaskName] or { n = 0 }
|
self.Tasks[TaskName] = self.Tasks[TaskName] or { n = 0 }
|
||||||
|
|||||||
@ -1576,6 +1576,8 @@ function UTILS.GMTToLocalTimeDifference()
|
|||||||
return 3 -- Damascus is UTC+3 hours
|
return 3 -- Damascus is UTC+3 hours
|
||||||
elseif theatre==DCSMAP.MarianaIslands then
|
elseif theatre==DCSMAP.MarianaIslands then
|
||||||
return 10 -- Guam is UTC+10 hours.
|
return 10 -- Guam is UTC+10 hours.
|
||||||
|
elseif theatre==DCSMAP.Falklands then
|
||||||
|
return -3 -- Fireland is UTC-3 hours.
|
||||||
else
|
else
|
||||||
BASE:E(string.format("ERROR: Unknown Map %s in UTILS.GMTToLocal function. Returning 0", tostring(theatre)))
|
BASE:E(string.format("ERROR: Unknown Map %s in UTILS.GMTToLocal function. Returning 0", tostring(theatre)))
|
||||||
return 0
|
return 0
|
||||||
|
|||||||
@ -2395,7 +2395,7 @@ do -- Route methods
|
|||||||
-- @return DCS#Task Task.
|
-- @return DCS#Task Task.
|
||||||
-- @return #boolean If true, path on road is possible. If false, task will route the group directly to its destination.
|
-- @return #boolean If true, path on road is possible. If false, task will route the group directly to its destination.
|
||||||
function CONTROLLABLE:TaskGroundOnRoad( ToCoordinate, Speed, OffRoadFormation, Shortcut, FromCoordinate, WaypointFunction, WaypointFunctionArguments )
|
function CONTROLLABLE:TaskGroundOnRoad( ToCoordinate, Speed, OffRoadFormation, Shortcut, FromCoordinate, WaypointFunction, WaypointFunctionArguments )
|
||||||
self:I( { ToCoordinate = ToCoordinate, Speed = Speed, OffRoadFormation = OffRoadFormation, WaypointFunction = WaypointFunction, Args = WaypointFunctionArguments } )
|
self:T( { ToCoordinate = ToCoordinate, Speed = Speed, OffRoadFormation = OffRoadFormation, WaypointFunction = WaypointFunction, Args = WaypointFunctionArguments } )
|
||||||
|
|
||||||
-- Defaults.
|
-- Defaults.
|
||||||
Speed = Speed or 20
|
Speed = Speed or 20
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user