Jump to content

Recommended Posts

Posted

In my export.lua i have to use this code - to get SIM VIRTUAL COCKPIT server to work (exporting mfd screens to ipad)...

Problem is when i use that part of code, with other exports - for example winwing + DCS UFC export everything stops working...

How to merge this two snippets of code in export.lua

 

snippet1

Quote

-- IVMOBS Modification
-- v109
local default_output_file = nil
function LuaExportStart()
end
function LuaExportBeforeNextFrame()
end
function LuaExportAfterNextFrame()
end
function LuaExportStop()
    if default_output_file then
        default_output_file:close()
        default_output_file = nil
    end
end
function LuaExportActivityNextEvent(t)
    local tNext = t
    return tNext
end
--{{A10C}}
-- dofile(".\\VCSServer\\Main.lua")
--{{MIRAGE}}
-- dofile(".\\VCSServer\\M2000C.lua")
--{{AV8BNA}}
-- dofile(".\\VCSServer\\AV8BNA.lua")
--{{FA18C}}
-- dofile(".\\VCSServer\\FA18C.lua")
-- ========= Modules =========
dofile(".\\VCSServer\\FA18C.lua")

 

snippet2

Quote

 

local pw=require('lfs');dofile(pw.writedir()..[[Scripts\pw-dev_script\ExportInit.lua]])

local wwtlfs=require('lfs')
dofile(wwtlfs.writedir()..'Scripts/wwt/wwtExport.lua')

 

 

[sIGPIC][/sIGPIC]

Pilot from Croatia

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...