From 6a582908336763b3d458d17b7891c8d1901f0ee5 Mon Sep 17 00:00:00 2001
From: FlightControl
Date: Wed, 21 Jun 2017 10:55:35 +0200
Subject: [PATCH 1/2] Updates
---
.../Moose/AI/AI_A2A_Dispatcher.lua | 143 ++++++++++++--
docs/Documentation/AI_A2A_Dispatcher.html | 186 ++++++++++++++++--
docs/Documentation/AI_Patrol.html | 3 +
docs/Documentation/Designate.html | 1 +
docs/Documentation/Detection.html | 1 +
docs/Documentation/Movement.html | 4 +
docs/Documentation/Point.html | 1 -
docs/Documentation/Settings.html | 2 +-
docs/Documentation/Spawn.html | 34 +++-
docs/Documentation/SpawnStatic.html | 1 +
docs/Documentation/Spot.html | 4 +
docs/Documentation/Task_Cargo.html | 1 -
12 files changed, 347 insertions(+), 34 deletions(-)
diff --git a/Moose Development/Moose/AI/AI_A2A_Dispatcher.lua b/Moose Development/Moose/AI/AI_A2A_Dispatcher.lua
index 9429bf1b3..1d808ec74 100644
--- a/Moose Development/Moose/AI/AI_A2A_Dispatcher.lua
+++ b/Moose Development/Moose/AI/AI_A2A_Dispatcher.lua
@@ -385,8 +385,13 @@ do -- AI_A2A_DISPATCHER
-- DetectionSetGroup:FilterPrefixes( { "DF CCCP AWACS", "DF CCCP EWR" } )
-- DetectionSetGroup:FilterStart()
--
+ -- -- Here we define detection to be done by area, with a grouping radius of 3000.
+ -- Detection = DETECTION_AREAS:New( DetectionSetGroup, 30000 )
+ --
-- -- Setup the A2A dispatcher, and initialize it.
- -- A2ADispatcher = AI_A2A_DISPATCHER:New( DetectionSetGroup, 30000 )
+ -- A2ADispatcher = AI_A2A_DISPATCHER:New( Detection )
+ --
+ --
--
-- -- Initialize the dispatcher, setting up a border zone. This is a polygon,
-- -- which takes the waypoints of a late activated group with the name CCCP Border as the boundaries of the border area.
@@ -515,10 +520,7 @@ do -- AI_A2A_DISPATCHER
-- @field #AI_A2A_DISPATCHER
AI_A2A_DISPATCHER = {
ClassName = "AI_A2A_DISPATCHER",
- Mission = nil,
Detection = nil,
- Tasks = {},
- SweepZones = {},
}
@@ -539,8 +541,7 @@ do -- AI_A2A_DISPATCHER
--- AI_A2A_DISPATCHER constructor.
-- @param #AI_A2A_DISPATCHER self
- -- @param #string The Squadron Name. This name is used to control the squadron settings in the A2A dispatcher, and also in communication to human players.
- -- @param Core.Set#SET_GROUP DetectionSetGroup The @{Set} of group objects that will setup the Early Warning Radar network.
+ -- @param Functional.Detection#DETECTION_BASE Detection The DETECTION object that will detects targets using the the Early Warning Radar network.
-- @param #number GroupingRadius The radius in meters wherein detected planes are being grouped as one target area.
-- For airplanes, 6000 (6km) is recommended, and is also the default value of this parameter.
-- @return #AI_A2A_DISPATCHER self
@@ -549,10 +550,8 @@ do -- AI_A2A_DISPATCHER
-- -- Set a new AI A2A Dispatcher object, based on an EWR network with a 6 km grouping radius.
--
--
- function AI_A2A_DISPATCHER:New( DetectionSetGroup, GroupingRadius )
+ function AI_A2A_DISPATCHER:New( Detection )
- local Detection = DETECTION_AREAS:New( DetectionSetGroup, GroupingRadius )
-
-- Inherits from DETECTION_MANAGER
local self = BASE:Inherit( self, DETECTION_MANAGER:New( nil, Detection ) ) -- #AI_A2A_DISPATCHER
@@ -1025,9 +1024,9 @@ do -- AI_A2A_DISPATCHER
local Cap = self.DefenderSquadrons[SquadronName].Cap
if Cap then
- Cap.LowInterval = LowInterval
- Cap.HighInterval = HighInterval
- Cap.Probability = Probability
+ Cap.LowInterval = LowInterval or 300
+ Cap.HighInterval = HighInterval or 600
+ Cap.Probability = Probability or 1
Cap.CapLimit = CapLimit
Cap.Scheduler = Cap.Scheduler or SCHEDULER:New( self )
local Scheduler = Cap.Scheduler -- Core.Scheduler#SCHEDULER
@@ -2015,4 +2014,122 @@ do
self:CAP( SquadronName )
end
-end
\ No newline at end of file
+end
+
+do
+
+ --- AI_A2A_DISPATCHER_GCICAP class.
+ -- @type AI_A2A_DISPATCHER_GCICAP
+ -- @extends #AI_A2A_DISPATCHER
+
+ --- # AI\_A2A\_DISPATCHER\_GCICAP class, extends @{AI#AI_A2A_DISPATCHER}
+ --
+ -- 
+ --
+ -- The @{#AI_A2A_DISPATCHER} class is designed to create an automatic air defence system for a coalition.
+ --
+ --
+ -- 
+ --
+ -- It includes automatic spawning of Combat Air Patrol aircraft (CAP) and Ground Controlled Intercept aircraft (GCI) in response to enemy air movements that are detected by a ground based radar network.
+ -- CAP flights will take off and proceed to designated CAP zones where they will remain on station until the ground radars direct them to intercept detected enemy aircraft or they run short of fuel and must return to base (RTB). When a CAP flight leaves their zone to perform an interception or return to base a new CAP flight will spawn to take their place.
+ -- If all CAP flights are engaged or RTB then additional GCI interceptors will scramble to intercept unengaged enemy aircraft under ground radar control.
+ -- With a little time and with a little work it provides the mission designer with a convincing and completely automatic air defence system.
+ -- In short it is a plug in very flexible and configurable air defence module for DCS World.
+ --
+ -- Note that in order to create a two way A2A defense system, two AI\_A2A\_DISPATCHER_GCICAP defense system may need to be created, for each coalition one.
+ -- This is a good implementation, because maybe in the future, more coalitions may become available in DCS world.
+ --
+ -- ## 1. AI\_A2A\_DISPATCHER\_GCICAP constructor:
+ --
+ -- The @{#AI_A2A_DISPATCHER_GCICAP.New}() method creates a new AI\_A2A\_DISPATCHER\_GCICAP instance.
+ -- There are two parameters required, a list of prefix group names that collects the groups of the EWR network, and a radius in meters,
+ -- that will be used to group the detected targets.
+ --
+ -- ### 1.1. Define the **EWR network**:
+ --
+ -- As part of the AI\_A2A\_DISPATCHER\_GCICAP constructor, a list of prefixes must be given of the group names defined within the mission editor,
+ -- that define the EWR network.
+ --
+ -- An EWR network, or, Early Warning Radar network, is used to early detect potential airborne targets and to understand the position of patrolling targets of the enemy.
+ --
+ -- 
+ --
+ -- Typically EWR networks are setup using 55G6 EWR, 1L13 EWR, Hawk sr and Patriot str ground based radar units.
+ -- These radars have different ranges and 55G6 EWR and 1L13 EWR radars are Eastern Bloc units (eg Russia, Ukraine, Georgia) while the Hawk and Patriot radars are Western (eg US).
+ -- Additionally, ANY other radar capable unit can be part of the EWR network! Also AWACS airborne units, planes, helicopters can help to detect targets, as long as they have radar.
+ -- The position of these units is very important as they need to provide enough coverage
+ -- to pick up enemy aircraft as they approach so that CAP and GCI flights can be tasked to intercept them.
+ --
+ -- 
+ --
+ -- Additionally in a hot war situation where the border is no longer respected the placement of radars has a big effect on how fast the war escalates.
+ -- For example if they are a long way forward and can detect enemy planes on the ground and taking off
+ -- they will start to vector CAP and GCI flights to attack them straight away which will immediately draw a response from the other coalition.
+ -- Having the radars further back will mean a slower escalation because fewer targets will be detected and
+ -- therefore less CAP and GCI flights will spawn and this will tend to make just the border area active rather than a melee over the whole map.
+ -- It all depends on what the desired effect is.
+ --
+ -- EWR networks are **dynamically maintained**. By defining in a **smart way the names or name prefixes of the groups** with EWR capable units, these groups will be **automatically added or deleted** from the EWR network,
+ -- increasing or decreasing the radar coverage of the Early Warning System.
+ --
+ -- See the following example to setup an EWR network containing EWR stations and AWACS.
+ --
+ -- -- Setup the A2A GCICAP dispatcher, and initialize it.
+ -- A2ADispatcher = AI_A2A_DISPATCHER_GCICAP:New( { "DF CCCP AWACS", "DF CCCP EWR" }, 30000 )
+ --
+ -- The above example creates a new AI_A2A_DISPATCHER_GCICAP instance, and stores this in the variable (object) **A2ADispatcher**.
+ -- The first parameter is are the prefixes of the group names that define the EWR network.
+ -- The A2A dispatcher will filter all active groups with a group name starting with **DF CCCP AWACS** or **DF CCCP EWR** to be included in the EWR network.
+ --
+ -- ### 1.2. Define the detected **target grouping radius**:
+ --
+ -- As a second parameter of the @{#AI_A2A_DISPATCHER_GCICAP.New}() method, a radius in meters must be given. The radius indicates that detected targets need to be grouped within a radius of 30km.
+ -- The grouping radius should not be too small, but also depends on the types of planes and the era of the simulation.
+ -- Fast planes like in the 80s, need a larger radius than WWII planes.
+ -- Typically I suggest to use 30000 for new generation planes and 10000 for older era aircraft.
+ --
+ -- Note that detected targets are constantly re-grouped, that is, when certain detected aircraft are moving further than the group radius, then these aircraft will become a separate
+ -- group being detected. This may result in additional GCI being started by the dispatcher! So don't make this value too small!
+ --
+ -- ## 2. AI_A2A_DISPATCHER_DOCUMENTATION is derived from @{#AI_A2A_DISPATCHER},
+ -- so all further documentation needs to be consulted in this class
+ -- for documentation consistency.
+ --
+ -- @field #AI_A2A_DISPATCHER_GCICAP
+ AI_A2A_DISPATCHER_GCICAP = {
+ ClassName = "AI_A2A_DISPATCHER_GCICAP",
+ Detection = nil,
+ }
+
+
+ --- AI_A2A_DISPATCHER_GCICAP constructor.
+ -- @param #AI_A2A_DISPATCHER_GCICAP self
+ -- @param #list<#string> EWRPrefixes A list of prefixes that of groups that setup the Early Warning Radar network.
+ -- @param #number GroupingRadius The radius in meters wherein detected planes are being grouped as one target area.
+ -- For airplanes, 6000 (6km) is recommended, and is also the default value of this parameter.
+ -- @return #AI_A2A_DISPATCHER_GCICAP
+ -- @usage
+ --
+ -- -- Set a new AI A2A Dispatcher object, based on an EWR network with a 30 km grouping radius
+ -- -- This for ground and awacs installations.
+ --
+ -- A2ADispatcher = AI_A2A_DISPATCHER_GCICAP:New( { "BlueEWRGroundRadars", "BlueEWRAwacs" }, 30000 )
+ --
+ function AI_A2A_DISPATCHER_GCICAP:New( EWRPrefixes, GroupingRadius )
+
+ local SetGroup = SET_GROUP:New()
+ SetGroup:FilterPrefixes( EWRPrefixes )
+ SetGroup:FilterStart()
+
+ local Detection = DETECTION_AREAS:New( SetGroup, GroupingRadius )
+
+ local self = BASE:Inherit( self, AI_A2A_DISPATCHER:New( Detection ) ) -- #AI_A2A_DISPATCHER_GCICAP
+
+ self:__Start( 5 )
+
+ return self
+ end
+
+end
+
diff --git a/docs/Documentation/AI_A2A_Dispatcher.html b/docs/Documentation/AI_A2A_Dispatcher.html
index 947d2b9c5..636c554ab 100644
--- a/docs/Documentation/AI_A2A_Dispatcher.html
+++ b/docs/Documentation/AI_A2A_Dispatcher.html
@@ -130,6 +130,16 @@

+The #AIA2ADISPATCHER class is designed to create an automatic air defence system for a coalition.
+
+
+
+ | AI_A2A_DISPATCHER_GCICAP |
+
+AI_A2A_DISPATCHER_GCICAP class, extends AI#AIA2ADISPATCHER
+
+
+
The #AIA2ADISPATCHER class is designed to create an automatic air defence system for a coalition.
|
@@ -329,7 +339,7 @@
- | AI_A2A_DISPATCHER:New(The, DetectionSetGroup, GroupingRadius) |
+ AI_A2A_DISPATCHER:New(Detection, GroupingRadius) |
AIA2ADISPATCHER constructor.
|
@@ -584,6 +594,16 @@
AI_A2A_DISPATCHER:onafterGCI(From, Event, To, Target, DefendersMissing, AIGroups) |
+ |
+
+
+
+
+
@@ -982,8 +1002,13 @@ But you can also define other zone types instead, like moving zones.
DetectionSetGroup:FilterPrefixes( { "DF CCCP AWACS", "DF CCCP EWR" } )
DetectionSetGroup:FilterStart()
+ -- Here we define detection to be done by area, with a grouping radius of 3000.
+ Detection = DETECTION_AREAS:New( DetectionSetGroup, 30000 )
+
-- Setup the A2A dispatcher, and initialize it.
- A2ADispatcher = AI_A2A_DISPATCHER:New( DetectionSetGroup, 30000 )
+ A2ADispatcher = AI_A2A_DISPATCHER:New( Detection )
+
+
-- Initialize the dispatcher, setting up a border zone. This is a polygon,
-- which takes the waypoints of a late activated group with the name CCCP Border as the boundaries of the border area.
@@ -1101,6 +1126,96 @@ Therefore if F4s are wanted as a coalition’s CAP or GCI aircraft Germany will
+
+
+
+-
+
+ #AI_A2A_DISPATCHER_GCICAP
+
+AI_A2A_DISPATCHER_GCICAP
+
+
+-
+
+
AI_A2A_DISPATCHER_GCICAP class, extends AI#AIA2ADISPATCHER
+
+
+
+The #AIA2ADISPATCHER class is designed to create an automatic air defence system for a coalition.
+
+
+
+
+
+
+It includes automatic spawning of Combat Air Patrol aircraft (CAP) and Ground Controlled Intercept aircraft (GCI) in response to enemy air movements that are detected by a ground based radar network.
+CAP flights will take off and proceed to designated CAP zones where they will remain on station until the ground radars direct them to intercept detected enemy aircraft or they run short of fuel and must return to base (RTB). When a CAP flight leaves their zone to perform an interception or return to base a new CAP flight will spawn to take their place.
+If all CAP flights are engaged or RTB then additional GCI interceptors will scramble to intercept unengaged enemy aircraft under ground radar control.
+With a little time and with a little work it provides the mission designer with a convincing and completely automatic air defence system.
+In short it is a plug in very flexible and configurable air defence module for DCS World.
+
+Note that in order to create a two way A2A defense system, two AI_A2A_DISPATCHER_GCICAP defense system may need to be created, for each coalition one.
+This is a good implementation, because maybe in the future, more coalitions may become available in DCS world.
+
+1. AI_A2A_DISPATCHER_GCICAP constructor:
+
+The AIA2ADISPATCHER_GCICAP.New() method creates a new AI_A2A_DISPATCHER_GCICAP instance.
+There are two parameters required, a list of prefix group names that collects the groups of the EWR network, and a radius in meters,
+that will be used to group the detected targets.
+
+1.1. Define the EWR network:
+
+As part of the AI_A2A_DISPATCHER_GCICAP constructor, a list of prefixes must be given of the group names defined within the mission editor,
+that define the EWR network.
+
+An EWR network, or, Early Warning Radar network, is used to early detect potential airborne targets and to understand the position of patrolling targets of the enemy.
+
+
+
+Typically EWR networks are setup using 55G6 EWR, 1L13 EWR, Hawk sr and Patriot str ground based radar units.
+These radars have different ranges and 55G6 EWR and 1L13 EWR radars are Eastern Bloc units (eg Russia, Ukraine, Georgia) while the Hawk and Patriot radars are Western (eg US).
+Additionally, ANY other radar capable unit can be part of the EWR network! Also AWACS airborne units, planes, helicopters can help to detect targets, as long as they have radar.
+The position of these units is very important as they need to provide enough coverage
+to pick up enemy aircraft as they approach so that CAP and GCI flights can be tasked to intercept them.
+
+
+
+Additionally in a hot war situation where the border is no longer respected the placement of radars has a big effect on how fast the war escalates.
+For example if they are a long way forward and can detect enemy planes on the ground and taking off
+they will start to vector CAP and GCI flights to attack them straight away which will immediately draw a response from the other coalition.
+Having the radars further back will mean a slower escalation because fewer targets will be detected and
+therefore less CAP and GCI flights will spawn and this will tend to make just the border area active rather than a melee over the whole map.
+It all depends on what the desired effect is.
+
+EWR networks are dynamically maintained. By defining in a smart way the names or name prefixes of the groups with EWR capable units, these groups will be automatically added or deleted from the EWR network,
+increasing or decreasing the radar coverage of the Early Warning System.
+
+See the following example to setup an EWR network containing EWR stations and AWACS.
+
+-- Setup the A2A GCICAP dispatcher, and initialize it.
+A2ADispatcher = AI_A2A_DISPATCHER_GCICAP:New( { "DF CCCP AWACS", "DF CCCP EWR" }, 30000 )
+
+
+The above example creates a new AIA2ADISPATCHER_GCICAP instance, and stores this in the variable (object) A2ADispatcher.
+The first parameter is are the prefixes of the group names that define the EWR network.
+The A2A dispatcher will filter all active groups with a group name starting with DF CCCP AWACS or DF CCCP EWR to be included in the EWR network.
+
+1.2. Define the detected target grouping radius:
+
+As a second parameter of the AIA2ADISPATCHER_GCICAP.New() method, a radius in meters must be given. The radius indicates that detected targets need to be grouped within a radius of 30km.
+The grouping radius should not be too small, but also depends on the types of planes and the era of the simulation.
+Fast planes like in the 80s, need a larger radius than WWII planes.
+Typically I suggest to use 30000 for new generation planes and 10000 for older era aircraft.
+
+Note that detected targets are constantly re-grouped, that is, when certain detected aircraft are moving further than the group radius, then these aircraft will become a separate
+group being detected. This may result in additional GCI being started by the dispatcher! So don't make this value too small!
+
+2. AIA2ADISPATCHER_DOCUMENTATION is derived from #AIA2ADISPATCHER,
+so all further documentation needs to be consulted in this class
+for documentation consistency.
+
+
@@ -1856,7 +1971,7 @@ Takeoff From the airbase hot, from the airbase cold, in the air, from the runway
-AI_A2A_DISPATCHER:New(The, DetectionSetGroup, GroupingRadius)
+AI_A2A_DISPATCHER:New(Detection, GroupingRadius)
@@ -1867,14 +1982,8 @@ Takeoff From the airbase hot, from the airbase cold, in the air, from the runway
-
-
#string The :
-Squadron Name. This name is used to control the squadron settings in the A2A dispatcher, and also in communication to human players.
-
-
- -
-
-
Core.Set#SET_GROUP DetectionSetGroup :
-The Set of group objects that will setup the Early Warning Radar network.
+Functional.Detection#DETECTION_BASE Detection :
+The DETECTION object that will detects targets using the the Early Warning Radar network.
-
@@ -3399,6 +3508,61 @@ Provide a value of true to display every 30 seconds a tactical
Enumerator for spawns at airbases
+
+
+AIA2ADISPATCHER_GCICAP class.
+
+ Field(s)
+
+-
+
+
+AI_A2A_DISPATCHER_GCICAP:New(<, GroupingRadius, EWRPrefixes)
+
+
+-
+
+
AIA2ADISPATCHER_GCICAP constructor.
+
+ Parameters
+
+ -
+
+
#list < :
+string> EWRPrefixes A list of prefixes that of groups that setup the Early Warning Radar network.
+
+
+ -
+
+
#number GroupingRadius :
+The radius in meters wherein detected planes are being grouped as one target area.
+For airplanes, 6000 (6km) is recommended, and is also the default value of this parameter.
+
+
+ -
+
+
EWRPrefixes :
+
+
+
+ Return value
+
+#AIA2ADISPATCHER_GCICAP:
+
+
+ Usage:
+
+ -- Set a new AI A2A Dispatcher object, based on an EWR network with a 30 km grouping radius
+ -- This for ground and awacs installations.
+
+ A2ADispatcher = AI_A2A_DISPATCHER_GCICAP:New( { "BlueEWRGroundRadars", "BlueEWRAwacs" }, 30000 )
+
+
+
+
+
+
+
diff --git a/docs/Documentation/AI_Patrol.html b/docs/Documentation/AI_Patrol.html
index 93a9f8ce6..43392b308 100644
--- a/docs/Documentation/AI_Patrol.html
+++ b/docs/Documentation/AI_Patrol.html
@@ -926,6 +926,9 @@ Use the method AIPATROLZONE.M
+
+ This table contains the targets detected during patrol.
+
diff --git a/docs/Documentation/Designate.html b/docs/Documentation/Designate.html
index c0c7ee573..70e3562df 100644
--- a/docs/Documentation/Designate.html
+++ b/docs/Documentation/Designate.html
@@ -900,6 +900,7 @@ function below will use the range 1-7 just in case
-
+
DESIGNATE.LaserCodes
diff --git a/docs/Documentation/Detection.html b/docs/Documentation/Detection.html
index 1e06f11b2..49f3c5879 100644
--- a/docs/Documentation/Detection.html
+++ b/docs/Documentation/Detection.html
@@ -2387,6 +2387,7 @@ The index of the DetectedItem.
-
+ #number
DETECTION_BASE.DetectedItemCount
diff --git a/docs/Documentation/Movement.html b/docs/Documentation/Movement.html
index 4307c3aaa..be5ce073c 100644
--- a/docs/Documentation/Movement.html
+++ b/docs/Documentation/Movement.html
@@ -227,6 +227,7 @@ on defined intervals (currently every minute).
-
+ #number
MOVEMENT.AliveUnits
@@ -235,6 +236,9 @@ on defined intervals (currently every minute).
+
+
Contains the counter how many units are currently alive
+
diff --git a/docs/Documentation/Point.html b/docs/Documentation/Point.html
index 74e7fcb9a..f204d56d9 100644
--- a/docs/Documentation/Point.html
+++ b/docs/Documentation/Point.html
@@ -2799,7 +2799,6 @@ The y coordinate.
-
-
POINT_VEC2.z
diff --git a/docs/Documentation/Settings.html b/docs/Documentation/Settings.html
index 7dca37cbf..4dce02244 100644
--- a/docs/Documentation/Settings.html
+++ b/docs/Documentation/Settings.html
@@ -1073,7 +1073,7 @@ true if metric.
-
-
+ #boolean
SETTINGS.Metric
diff --git a/docs/Documentation/Spawn.html b/docs/Documentation/Spawn.html
index 3807cc1ad..d5beebc4e 100644
--- a/docs/Documentation/Spawn.html
+++ b/docs/Documentation/Spawn.html
@@ -822,6 +822,12 @@ and any spaces before and after the resulting name are removed.
| SPAWN:_TranslateRotate(SpawnIndex, SpawnRootX, SpawnRootY, SpawnX, SpawnY, SpawnAngle) |
+ |
+
+
+ | SPAWN.uncontrolled |
+
+
|
@@ -2729,6 +2735,9 @@ when nothing was spawned.
+
+ Overwrite unit names by default with group name.
+
@@ -2743,9 +2752,6 @@ when nothing was spawned.
-
- By default, no InitLimit
-
@@ -2781,7 +2787,7 @@ when nothing was spawned.
-
- #number
+
SPAWN.SpawnMaxGroups
@@ -2798,7 +2804,7 @@ when nothing was spawned.
-
- #number
+
SPAWN.SpawnMaxUnitsAlive
@@ -3126,7 +3132,7 @@ Spawn_BE_KA50 = SPAWN:New( 'BE KA-50@RAMP-Ground Defense' ):Schedule( 600, 0.5 )
-
- #boolean
+
SPAWN.SpawnUnControlled
@@ -3150,7 +3156,7 @@ Spawn_BE_KA50 = SPAWN:New( 'BE KA-50@RAMP-Ground Defense' ):Schedule( 600, 0.5 )
-
Flag that indicates if all the Groups of the SpawnGroup need to be visible when Spawned.
+ When the first Spawn executes, all the Groups need to be made visible before start.
@@ -3730,6 +3736,20 @@ True = Continue Scheduler
+
+
+
+-
+
+
+
+SPAWN.uncontrolled
+
+
+-
+
+
+
diff --git a/docs/Documentation/SpawnStatic.html b/docs/Documentation/SpawnStatic.html
index bc91b9624..d8aa5e633 100644
--- a/docs/Documentation/SpawnStatic.html
+++ b/docs/Documentation/SpawnStatic.html
@@ -436,6 +436,7 @@ ptional) The name of the new static.
-
+ #number
SPAWNSTATIC.SpawnIndex
diff --git a/docs/Documentation/Spot.html b/docs/Documentation/Spot.html
index ead3792db..5fdc3b305 100644
--- a/docs/Documentation/Spot.html
+++ b/docs/Documentation/Spot.html
@@ -765,6 +765,7 @@ true if it is lasing
-
+
SPOT.ScheduleID
@@ -778,6 +779,7 @@ true if it is lasing
-
+
SPOT.SpotIR
@@ -791,6 +793,7 @@ true if it is lasing
-
+
SPOT.SpotLaser
@@ -804,6 +807,7 @@ true if it is lasing
-
+
SPOT.Target
diff --git a/docs/Documentation/Task_Cargo.html b/docs/Documentation/Task_Cargo.html
index 0f2ef2fcf..463fdae49 100644
--- a/docs/Documentation/Task_Cargo.html
+++ b/docs/Documentation/Task_Cargo.html
@@ -524,7 +524,6 @@ based on the tasking capabilities defined in Task#TA
-
-
FSM_PROCESS.DeployZone
From d23cf6028b91cc5c1eca5bd616cde9c37a05ace5 Mon Sep 17 00:00:00 2001
From: FlightControl
Date: Wed, 21 Jun 2017 11:48:19 +0200
Subject: [PATCH 2/2] Updates
---
Moose Development/Moose/AI/AI_A2A_Dispatcher.lua | 4 ++--
Moose Development/Moose/Core/Point.lua | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/Moose Development/Moose/AI/AI_A2A_Dispatcher.lua b/Moose Development/Moose/AI/AI_A2A_Dispatcher.lua
index 1d808ec74..c9fa632c7 100644
--- a/Moose Development/Moose/AI/AI_A2A_Dispatcher.lua
+++ b/Moose Development/Moose/AI/AI_A2A_Dispatcher.lua
@@ -1030,8 +1030,8 @@ do -- AI_A2A_DISPATCHER
Cap.CapLimit = CapLimit
Cap.Scheduler = Cap.Scheduler or SCHEDULER:New( self )
local Scheduler = Cap.Scheduler -- Core.Scheduler#SCHEDULER
- local Variance = ( HighInterval - LowInterval ) / 2
- local Median = LowInterval + Variance
+ local Variance = ( Cap.HighInterval - Cap.LowInterval ) / 2
+ local Median = Cap.LowInterval + Variance
local Randomization = Variance / Median
Scheduler:Schedule(self, self.SchedulerCAP, { SquadronName }, Median, Median, Randomization )
else
diff --git a/Moose Development/Moose/Core/Point.lua b/Moose Development/Moose/Core/Point.lua
index 18da277e7..b3796752d 100644
--- a/Moose Development/Moose/Core/Point.lua
+++ b/Moose Development/Moose/Core/Point.lua
@@ -802,8 +802,8 @@ do -- COORDINATE
end
if Settings:IsA2A_BULLS() then
- local Coordinate = Controllable:GetCoordinate()
- return self:ToStringBULLS( Coordinate, Settings )
+ local Coalition = Controllable:GetCoalition()
+ return self:ToStringBULLS( Coalition, Settings )
end
else
if Settings:IsA2G_BRA() then