mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +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": [],
|
||||
"scriptsWorkOrders": [
|
||||
{
|
||||
"file": "mist_4_4_90.lua",
|
||||
"file": "mist_4_5_107.lua",
|
||||
"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
|
||||
env.info(string.format("DCSLiberation|Skynet-IADS plugin - adding IADS Point Defence %s", pd))
|
||||
local point_defence = iads:addSAMSite(pd)
|
||||
iads_unit:addPointDefence(point_defence)
|
||||
iads_unit:setIgnoreHARMSWhilePointDefencesHaveAmmo(true)
|
||||
if point_defence ~= nil then
|
||||
-- only add as point defence if skynet can handle the PD unit
|
||||
iads_unit:addPointDefence(point_defence)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
@ -87,6 +89,7 @@ if dcsLiberation and SkynetIADS then
|
||||
iadsDebug.harmDefence = true
|
||||
iadsDebug.samSiteStatusEnvOutput = true
|
||||
iadsDebug.earlyWarningRadarStatusEnvOutput = true
|
||||
iadsDebug.commandCenterStatusEnvOutput = true
|
||||
end
|
||||
|
||||
-- add the AWACS
|
||||
@ -149,7 +152,7 @@ if dcsLiberation and SkynetIADS then
|
||||
end
|
||||
|
||||
--activate the IADS
|
||||
iads:setupSAMSitesAndThenActivate()
|
||||
iads:activate()
|
||||
end
|
||||
|
||||
------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user