Update Mist and Skynet scripts (V3.0.0)

- adopt skynet config to v3
This commit is contained in:
RndName 2022-04-04 20:14:45 +02:00
parent fd7bd28381
commit 4664a7bbd4
4 changed files with 2551 additions and 536 deletions

View File

@ -5,7 +5,7 @@
"specificOptions": [], "specificOptions": [],
"scriptsWorkOrders": [ "scriptsWorkOrders": [
{ {
"file": "mist_4_4_90.lua", "file": "mist_4_5_107.lua",
"mnemonic": "mist" "mnemonic": "mist"
}, },
{ {

File diff suppressed because it is too large Load Diff

View File

@ -58,8 +58,10 @@ if dcsLiberation and SkynetIADS then
for i,pd in pairs(element.PD) do for i,pd in pairs(element.PD) do
env.info(string.format("DCSLiberation|Skynet-IADS plugin - adding IADS Point Defence %s", pd)) env.info(string.format("DCSLiberation|Skynet-IADS plugin - adding IADS Point Defence %s", pd))
local point_defence = iads:addSAMSite(pd) local point_defence = iads:addSAMSite(pd)
if point_defence ~= nil then
-- only add as point defence if skynet can handle the PD unit
iads_unit:addPointDefence(point_defence) iads_unit:addPointDefence(point_defence)
iads_unit:setIgnoreHARMSWhilePointDefencesHaveAmmo(true) end
end end
end end
end end
@ -87,6 +89,7 @@ if dcsLiberation and SkynetIADS then
iadsDebug.harmDefence = true iadsDebug.harmDefence = true
iadsDebug.samSiteStatusEnvOutput = true iadsDebug.samSiteStatusEnvOutput = true
iadsDebug.earlyWarningRadarStatusEnvOutput = true iadsDebug.earlyWarningRadarStatusEnvOutput = true
iadsDebug.commandCenterStatusEnvOutput = true
end end
-- add the AWACS -- add the AWACS
@ -149,7 +152,7 @@ if dcsLiberation and SkynetIADS then
end end
--activate the IADS --activate the IADS
iads:setupSAMSitesAndThenActivate() iads:activate()
end end
------------------------------------------------------------------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------------------------------------------------------------