mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Merge remote-tracking branch 'origin/develop' into develop
# Conflicts: # Moose Development/Moose/Functional/AmmoTruck.lua # Moose Development/Moose/Ops/Awacs.lua
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
--- **AI** - Create an automated A2G defense system based on a detection network of reconnaissance vehicles and air units, coordinating SEAD, BAI and CAS operations.
|
--- **AI** - Create an automated A2G defense system with reconnaissance units, coordinating SEAD, BAI and CAS operations.
|
||||||
--
|
--
|
||||||
-- ===
|
-- ===
|
||||||
--
|
--
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
--- **Functional** - AI CSAR system
|
--- **Functional** - AI CSAR system.
|
||||||
--
|
--
|
||||||
-- ## Main Features:
|
-- ===
|
||||||
|
--
|
||||||
|
-- ## Features:
|
||||||
--
|
--
|
||||||
-- * Send out helicopters to downed pilots
|
-- * Send out helicopters to downed pilots
|
||||||
-- * Rescues players and AI alike
|
-- * Rescues players and AI alike
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
--- **Functional** - Base class that models processes to achieve goals involving a Zone for a Coalition.
|
--- **Functional (WIP)** - Base class modeling processes to achieve goals involving coalition zones.
|
||||||
--
|
--
|
||||||
-- ===
|
-- ===
|
||||||
--
|
--
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
--- **Ops** - AWACS
|
--- **Ops** - MOOSE AI AWACS Operations using text-to-speech.
|
||||||
--
|
--
|
||||||
-- ===
|
-- ===
|
||||||
--
|
--
|
||||||
|
|||||||
@@ -159,7 +159,7 @@ INTEL.Ctype={
|
|||||||
|
|
||||||
--- INTEL class version.
|
--- INTEL class version.
|
||||||
-- @field #string version
|
-- @field #string version
|
||||||
INTEL.version="0.3.4"
|
INTEL.version="0.3.5"
|
||||||
|
|
||||||
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||||
-- ToDo list
|
-- ToDo list
|
||||||
@@ -815,8 +815,8 @@ function INTEL:UpdateIntel()
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Filter unit categories.
|
-- Filter unit categories. Added check that we have a UNIT and not a STATIC object because :GetUnitCategory() is only available for units.
|
||||||
if #self.filterCategory>0 then
|
if #self.filterCategory>0 and unit:IsInstanceOf("UNIT") then
|
||||||
local unitcategory=unit:GetUnitCategory()
|
local unitcategory=unit:GetUnitCategory()
|
||||||
local keepit=false
|
local keepit=false
|
||||||
for _,filtercategory in pairs(self.filterCategory) do
|
for _,filtercategory in pairs(self.filterCategory) do
|
||||||
@@ -1077,6 +1077,7 @@ function INTEL:GetDetectedUnits(Unit, DetectedUnits, RecceDetecting, DetectVisua
|
|||||||
RecceDetecting[name]=reccename
|
RecceDetecting[name]=reccename
|
||||||
self:T(string.format("Unit %s detect by %s", name, reccename))
|
self:T(string.format("Unit %s detect by %s", name, reccename))
|
||||||
else
|
else
|
||||||
|
if self.detectStatics then
|
||||||
local static=STATIC:FindByName(name, false)
|
local static=STATIC:FindByName(name, false)
|
||||||
if static then
|
if static then
|
||||||
--env.info("FF found static "..name)
|
--env.info("FF found static "..name)
|
||||||
@@ -1084,6 +1085,7 @@ function INTEL:GetDetectedUnits(Unit, DetectedUnits, RecceDetecting, DetectVisua
|
|||||||
RecceDetecting[name]=reccename
|
RecceDetecting[name]=reccename
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
||||||
else
|
else
|
||||||
-- Warning!
|
-- Warning!
|
||||||
|
|||||||
Reference in New Issue
Block a user