mirror of
https://github.com/weyne85/DCS-ExportScripts.git
synced 2025-10-29 16:58:18 +00:00
Add files via upload
This commit is contained in:
parent
f258c8435e
commit
12ad161d03
61
Scripts/DCS-ExportScript/ExportsModules/Su-30MKA.lua
Normal file
61
Scripts/DCS-ExportScript/ExportsModules/Su-30MKA.lua
Normal file
@ -0,0 +1,61 @@
|
|||||||
|
-- Su-30MKA
|
||||||
|
|
||||||
|
ExportScript.FoundDCSModule = true
|
||||||
|
ExportScript.Version.Su30MKA = "1.2.1"
|
||||||
|
|
||||||
|
ExportScript.ConfigEveryFrameArguments =
|
||||||
|
{
|
||||||
|
--[[
|
||||||
|
every frames arguments
|
||||||
|
based of "mainpanel_init.lua"
|
||||||
|
Example (http://www.lua.org/manual/5.1/manual.html#pdf-string.format)
|
||||||
|
[DeviceID] = "Format"
|
||||||
|
[4] = "%.4f", <- floating-point number with 4 digits after point
|
||||||
|
[19] = "%0.1f", <- floating-point number with 1 digit after point
|
||||||
|
[129] = "%1d", <- decimal number
|
||||||
|
[5] = "%.f", <- floating point number rounded to a decimal number
|
||||||
|
]]
|
||||||
|
}
|
||||||
|
ExportScript.ConfigArguments =
|
||||||
|
{
|
||||||
|
--[[
|
||||||
|
arguments for export in low tick interval
|
||||||
|
based on "clickabledata.lua"
|
||||||
|
]]
|
||||||
|
[0] = "%.4f",
|
||||||
|
[1] = "%.4f",
|
||||||
|
[2] = "%.4f",
|
||||||
|
[3] = "%.4f",
|
||||||
|
[4] = "%.4f",
|
||||||
|
[5] = "%.4f",
|
||||||
|
[6] = "%.4f",
|
||||||
|
[7] = "%.4f",
|
||||||
|
}
|
||||||
|
|
||||||
|
-----------------------------
|
||||||
|
-- HIGH IMPORTANCE EXPORTS --
|
||||||
|
-- done every export event --
|
||||||
|
-----------------------------
|
||||||
|
|
||||||
|
-- Pointed to by ProcessIkarusDCSHighImportance
|
||||||
|
function ExportScript.ProcessIkarusDCSConfigHighImportance(mainPanelDevice)
|
||||||
|
end
|
||||||
|
|
||||||
|
function ExportScript.ProcessDACConfigHighImportance(mainPanelDevice)
|
||||||
|
end
|
||||||
|
|
||||||
|
-----------------------------------------------------
|
||||||
|
-- LOW IMPORTANCE EXPORTS --
|
||||||
|
-- done every gExportLowTickInterval export events --
|
||||||
|
-----------------------------------------------------
|
||||||
|
|
||||||
|
-- Pointed to by ExportScript.ProcessIkarusDCSConfigLowImportance
|
||||||
|
function ExportScript.ProcessIkarusDCSConfigLowImportance(mainPanelDevice)
|
||||||
|
end
|
||||||
|
|
||||||
|
function ExportScript.ProcessDACConfigLowImportance(mainPanelDevice)
|
||||||
|
end
|
||||||
|
|
||||||
|
-----------------------------
|
||||||
|
-- Custom functions --
|
||||||
|
-----------------------------
|
||||||
60
Scripts/DCS-ExportScript/ExportsModules/Su-30MKI.lua
Normal file
60
Scripts/DCS-ExportScript/ExportsModules/Su-30MKI.lua
Normal file
@ -0,0 +1,60 @@
|
|||||||
|
-- Su-30MKI
|
||||||
|
|
||||||
|
ExportScript.FoundDCSModule = true
|
||||||
|
ExportScript.Version.Su30MKI = "1.2.1"
|
||||||
|
|
||||||
|
ExportScript.ConfigEveryFrameArguments =
|
||||||
|
{
|
||||||
|
--[[
|
||||||
|
every frames arguments
|
||||||
|
based of "mainpanel_init.lua"
|
||||||
|
Example (http://www.lua.org/manual/5.1/manual.html#pdf-string.format)
|
||||||
|
[DeviceID] = "Format"
|
||||||
|
[4] = "%.4f", <- floating-point number with 4 digits after point
|
||||||
|
[19] = "%0.1f", <- floating-point number with 1 digit after point
|
||||||
|
[129] = "%1d", <- decimal number
|
||||||
|
[5] = "%.f", <- floating point number rounded to a decimal number
|
||||||
|
]]
|
||||||
|
}
|
||||||
|
ExportScript.ConfigArguments =
|
||||||
|
{
|
||||||
|
--[[
|
||||||
|
arguments for export in low tick interval
|
||||||
|
based on "clickabledata.lua"
|
||||||
|
]]
|
||||||
|
[0] = "%.4f",
|
||||||
|
[1] = "%.4f",
|
||||||
|
[2] = "%.4f",
|
||||||
|
[3] = "%.4f",
|
||||||
|
[4] = "%.4f",
|
||||||
|
[5] = "%.4f",
|
||||||
|
[6] = "%.4f",
|
||||||
|
}
|
||||||
|
|
||||||
|
-----------------------------
|
||||||
|
-- HIGH IMPORTANCE EXPORTS --
|
||||||
|
-- done every export event --
|
||||||
|
-----------------------------
|
||||||
|
|
||||||
|
-- Pointed to by ProcessIkarusDCSHighImportance
|
||||||
|
function ExportScript.ProcessIkarusDCSConfigHighImportance(mainPanelDevice)
|
||||||
|
end
|
||||||
|
|
||||||
|
function ExportScript.ProcessDACConfigHighImportance(mainPanelDevice)
|
||||||
|
end
|
||||||
|
|
||||||
|
-----------------------------------------------------
|
||||||
|
-- LOW IMPORTANCE EXPORTS --
|
||||||
|
-- done every gExportLowTickInterval export events --
|
||||||
|
-----------------------------------------------------
|
||||||
|
|
||||||
|
-- Pointed to by ExportScript.ProcessIkarusDCSConfigLowImportance
|
||||||
|
function ExportScript.ProcessIkarusDCSConfigLowImportance(mainPanelDevice)
|
||||||
|
end
|
||||||
|
|
||||||
|
function ExportScript.ProcessDACConfigLowImportance(mainPanelDevice)
|
||||||
|
end
|
||||||
|
|
||||||
|
-----------------------------
|
||||||
|
-- Custom functions --
|
||||||
|
-----------------------------
|
||||||
59
Scripts/DCS-ExportScript/ExportsModules/Su-30MKM.lua
Normal file
59
Scripts/DCS-ExportScript/ExportsModules/Su-30MKM.lua
Normal file
@ -0,0 +1,59 @@
|
|||||||
|
-- Su-30MKM
|
||||||
|
|
||||||
|
ExportScript.FoundDCSModule = true
|
||||||
|
ExportScript.Version.Su30MKM = "1.2.1"
|
||||||
|
|
||||||
|
ExportScript.ConfigEveryFrameArguments =
|
||||||
|
{
|
||||||
|
--[[
|
||||||
|
every frames arguments
|
||||||
|
based of "mainpanel_init.lua"
|
||||||
|
Example (http://www.lua.org/manual/5.1/manual.html#pdf-string.format)
|
||||||
|
[DeviceID] = "Format"
|
||||||
|
[4] = "%.4f", <- floating-point number with 4 digits after point
|
||||||
|
[19] = "%0.1f", <- floating-point number with 1 digit after point
|
||||||
|
[129] = "%1d", <- decimal number
|
||||||
|
[5] = "%.f", <- floating point number rounded to a decimal number
|
||||||
|
]]
|
||||||
|
}
|
||||||
|
ExportScript.ConfigArguments =
|
||||||
|
{
|
||||||
|
--[[
|
||||||
|
arguments for export in low tick interval
|
||||||
|
based on "clickabledata.lua"
|
||||||
|
]]
|
||||||
|
[0] = "%.4f",
|
||||||
|
[1] = "%.4f",
|
||||||
|
[2] = "%.4f",
|
||||||
|
[3] = "%.4f",
|
||||||
|
[4] = "%.4f",
|
||||||
|
[5] = "%.4f",
|
||||||
|
}
|
||||||
|
|
||||||
|
-----------------------------
|
||||||
|
-- HIGH IMPORTANCE EXPORTS --
|
||||||
|
-- done every export event --
|
||||||
|
-----------------------------
|
||||||
|
|
||||||
|
-- Pointed to by ProcessIkarusDCSHighImportance
|
||||||
|
function ExportScript.ProcessIkarusDCSConfigHighImportance(mainPanelDevice)
|
||||||
|
end
|
||||||
|
|
||||||
|
function ExportScript.ProcessDACConfigHighImportance(mainPanelDevice)
|
||||||
|
end
|
||||||
|
|
||||||
|
-----------------------------------------------------
|
||||||
|
-- LOW IMPORTANCE EXPORTS --
|
||||||
|
-- done every gExportLowTickInterval export events --
|
||||||
|
-----------------------------------------------------
|
||||||
|
|
||||||
|
-- Pointed to by ExportScript.ProcessIkarusDCSConfigLowImportance
|
||||||
|
function ExportScript.ProcessIkarusDCSConfigLowImportance(mainPanelDevice)
|
||||||
|
end
|
||||||
|
|
||||||
|
function ExportScript.ProcessDACConfigLowImportance(mainPanelDevice)
|
||||||
|
end
|
||||||
|
|
||||||
|
-----------------------------
|
||||||
|
-- Custom functions --
|
||||||
|
-----------------------------
|
||||||
79
Scripts/DCS-ExportScript/ExportsModules/Su-30SM.lua
Normal file
79
Scripts/DCS-ExportScript/ExportsModules/Su-30SM.lua
Normal file
@ -0,0 +1,79 @@
|
|||||||
|
-- Su-30SM
|
||||||
|
|
||||||
|
ExportScript.FoundDCSModule = true
|
||||||
|
ExportScript.Version.Su30SM = "1.2.1"
|
||||||
|
|
||||||
|
ExportScript.ConfigEveryFrameArguments =
|
||||||
|
{
|
||||||
|
--[[
|
||||||
|
every frames arguments
|
||||||
|
based of "mainpanel_init.lua"
|
||||||
|
Example (http://www.lua.org/manual/5.1/manual.html#pdf-string.format)
|
||||||
|
[DeviceID] = "Format"
|
||||||
|
[4] = "%.4f", <- floating-point number with 4 digits after point
|
||||||
|
[19] = "%0.1f", <- floating-point number with 1 digit after point
|
||||||
|
[129] = "%1d", <- decimal number
|
||||||
|
[5] = "%.f", <- floating point number rounded to a decimal number
|
||||||
|
]]
|
||||||
|
}
|
||||||
|
ExportScript.ConfigArguments =
|
||||||
|
{
|
||||||
|
--[[
|
||||||
|
arguments for export in low tick interval
|
||||||
|
based on "clickabledata.lua"
|
||||||
|
]]
|
||||||
|
[0] = "%.4f",
|
||||||
|
[1] = "%.4f",
|
||||||
|
[2] = "%.4f",
|
||||||
|
[3] = "%.4f",
|
||||||
|
[4] = "%.4f",
|
||||||
|
}
|
||||||
|
|
||||||
|
-----------------------------
|
||||||
|
-- HIGH IMPORTANCE EXPORTS --
|
||||||
|
-- done every export event --
|
||||||
|
-----------------------------
|
||||||
|
|
||||||
|
-- Pointed to by ProcessIkarusDCSHighImportance
|
||||||
|
function ExportScript.ProcessIkarusDCSConfigHighImportance(mainPanelDevice)
|
||||||
|
end
|
||||||
|
|
||||||
|
function ExportScript.ProcessDACConfigHighImportance(mainPanelDevice)
|
||||||
|
end
|
||||||
|
|
||||||
|
-----------------------------------------------------
|
||||||
|
-- LOW IMPORTANCE EXPORTS --
|
||||||
|
-- done every gExportLowTickInterval export events --
|
||||||
|
-----------------------------------------------------
|
||||||
|
|
||||||
|
-- Pointed to by ExportScript.ProcessIkarusDCSConfigLowImportance
|
||||||
|
|
||||||
|
function ExportScript.ProcessIkarusDCSConfigLowImportance(mainPanelDevice)
|
||||||
|
--[[
|
||||||
|
ExportScript.Tools.WriteToLog('list_cockpit_params(): '..ExportScript.Tools.dump(list_cockpit_params()))
|
||||||
|
ExportScript.Tools.WriteToLog('CMSP: '..ExportScript.Tools.dump(list_indication(7)))
|
||||||
|
|
||||||
|
-- list_indication get tehe value of cockpit displays
|
||||||
|
local ltmp1 = 0
|
||||||
|
for ltmp2 = 0, 20, 1 do
|
||||||
|
ltmp1 = list_indication(ltmp2)
|
||||||
|
ExportScript.Tools.WriteToLog(ltmp2..': '..ExportScript.Tools.dump(ltmp1))
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
|
-- getmetatable get function name from devices
|
||||||
|
local ltmp1 = 0
|
||||||
|
for ltmp2 = 1, 70, 1 do
|
||||||
|
ltmp1 = GetDevice(ltmp2)
|
||||||
|
ExportScript.Tools.WriteToLog(ltmp2..': '..ExportScript.Tools.dump(ltmp1))
|
||||||
|
ExportScript.Tools.WriteToLog(ltmp2..' (metatable): '..ExportScript.Tools.dump(getmetatable(ltmp1)))
|
||||||
|
end
|
||||||
|
]]
|
||||||
|
end
|
||||||
|
|
||||||
|
function ExportScript.ProcessDACConfigLowImportance(mainPanelDevice)
|
||||||
|
end
|
||||||
|
|
||||||
|
-----------------------------
|
||||||
|
-- Custom functions --
|
||||||
|
-----------------------------
|
||||||
Loading…
x
Reference in New Issue
Block a user