mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
Update Mist and Skynet scripts (V3.0.0)
- adopt skynet config to v3
This commit is contained in:
parent
fd7bd28381
commit
4664a7bbd4
File diff suppressed because it is too large
Load Diff
@ -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
@ -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)
|
||||||
iads_unit:addPointDefence(point_defence)
|
if point_defence ~= nil then
|
||||||
iads_unit:setIgnoreHARMSWhilePointDefencesHaveAmmo(true)
|
-- only add as point defence if skynet can handle the PD unit
|
||||||
|
iads_unit:addPointDefence(point_defence)
|
||||||
|
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
|
||||||
|
|
||||||
------------------------------------------------------------------------------------------------------------------------------------------------------------
|
------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user