Jump to content

A10C CDU Export Not working in 2.5


mcmike

Recommended Posts

Help- I am just getting back into A10C and the lua file changes that used to allow me to export the CDU to an external monitor are no longer working. My MFCD exports still work as always but the CDU is not. Below is the modified version of the CDU_init.lua file that always worked for me.

 

I have searched forums for days and have not been able to find any recent information about CDU exporting in 2.5 so any help would be appreciated. Thanks!!

 

---------------------------------------------

 

dofile(LockOn_Options.common_script_path.."devices_defs.lua")

dofile(LockOn_Options.common_script_path.."ViewportHandling.lua")

indicator_type = indicator_types.COMMON

 

purposes = {render_purpose.GENERAL}

try_find_assigned_viewport("CDU")

 

dofile(LockOn_Options.common_script_path.."devices_defs.lua")

 

indicator_type = indicator_types.COMMON

 

dofile(LockOn_Options.script_path.."CDU/indicator/CDU_pages.lua")

init_pageID = id_CDU_Pages.CDU_PAGE_OFF

 

CDU_preinit_files_path = LockOn_Options.script_path.."CDU/Indicator/Preinit/"

page_subsets = {}

dofile(LockOn_Options.script_path.."CDU/indicator/CDU_subsets_init.lua")

 

----------------------

pages = {}

pages_by_mode = {}

clear_mode_table(pages_by_mode, 10, 10, 29)

 

function get_page_by_mode(master, L2, L3, L4)

return get_page_by_mode_global(pages_by_mode,init_pageID,master,L2,L3,L4)

end

 

dofile(LockOn_Options.script_path.."CDU/indicator/CDU_pages_init.lua")

 

use_parser = false

 

 

dofile(LockOn_Options.common_script_path.."devices_defs.lua")

 

indicator_type = indicator_types.COMMON

used_render_mask = "interleave.bmp"

CPU:i7920 @2.67GHz overclocked to 3.25Ghz

Video:ATI HD5780 Single Monitor

Ram:8 GB DDR3

OS: Win7 64bit

Equipment:TrackIR4, Buttkicker2Gamer,CH ProFlight Pedals, Saitek X65 Controller

Link to comment
Share on other sites

here is mine

working perfectly:

be sure that in your /config/monitorsetep, you have the right name : "CDU_SCREEN"

=-=-=-=-=-=-=-=-

dofile(LockOn_Options.common_script_path.."devices_defs.lua")

dofile(LockOn_Options.common_script_path.."ViewportHandling.lua") --added for Instrument Export Mod

 

indicator_type = indicator_types.COMMON

--added for Instrument Export Mod

purposes = {render_purpose.GENERAL}

update_screenspace_diplacement(1,0,0)

try_find_assigned_viewport("ED_A10C_CDU","CDU_SCREEN")

--end Instrument Export Mod adds

 

dofile(LockOn_Options.script_path.."CDU/indicator/CDU_pages.lua")

init_pageID = id_CDU_Pages.CDU_PAGE_OFF

 

CDU_preinit_files_path = LockOn_Options.script_path.."CDU/Indicator/Preinit/"

page_subsets = {}

dofile(LockOn_Options.script_path.."CDU/indicator/CDU_subsets_init.lua")

 

----------------------

pages = {}

pages_by_mode = {}

clear_mode_table(pages_by_mode, 10, 10, 29)

 

function get_page_by_mode(master, L2, L3, L4)

return get_page_by_mode_global(pages_by_mode,init_pageID,master,L2,L3,L4)

end

 

dofile(LockOn_Options.script_path.."CDU/indicator/CDU_pages_init.lua")

 

use_parser = false

 

 

dofile(LockOn_Options.common_script_path.."devices_defs.lua")

 

indicator_type = indicator_types.COMMON

used_render_mask = "interleave.bmp"

 

=-=-=-=-=-=-=

 

ping me if it does not work, maybe the "copy-past " is not perfect

Link to comment
Share on other sites

Yup can also comfirm it's worked well for me in 2.5.

Custom Pit 476 Recruiting

 

i9-12900KF, 32 GB DDR5, Gigabyte Aorus Z690 Master, Gigabyte RTX 2080 Ti, 1TB Sabrent Roket 4+ 2x750GB RAID-0, TrackIR 5 /w clip, CRG9 49” Curved Ultrawide Flight Display+15" Touchscreen+17" Gauges display, Thrustmaster Warthog+7.5cm, Saitek Pro Combat Pedals, Streamdeck, Butt Kicker and pneumatic G-Seat

 

Forums Signature V4_500x100_20220716.png

Forums Signature V4_500x100_20221002.png

Link to comment
Share on other sites

here is mine

working perfectly:

be sure that in your /config/monitorsetep, you have the right name : "CDU_SCREEN"

=-=-=-=-=-=-=-=-

dofile(LockOn_Options.common_script_path.."devices_defs.lua")

dofile(LockOn_Options.common_script_path.."ViewportHandling.lua") --added for Instrument Export Mod

 

indicator_type = indicator_types.COMMON

--added for Instrument Export Mod

purposes = {render_purpose.GENERAL}

update_screenspace_diplacement(1,0,0)

try_find_assigned_viewport("ED_A10C_CDU","CDU_SCREEN")

--end Instrument Export Mod adds

 

dofile(LockOn_Options.script_path.."CDU/indicator/CDU_pages.lua")

init_pageID = id_CDU_Pages.CDU_PAGE_OFF

 

CDU_preinit_files_path = LockOn_Options.script_path.."CDU/Indicator/Preinit/"

page_subsets = {}

dofile(LockOn_Options.script_path.."CDU/indicator/CDU_subsets_init.lua")

 

----------------------

pages = {}

pages_by_mode = {}

clear_mode_table(pages_by_mode, 10, 10, 29)

 

function get_page_by_mode(master, L2, L3, L4)

return get_page_by_mode_global(pages_by_mode,init_pageID,master,L2,L3,L4)

end

 

dofile(LockOn_Options.script_path.."CDU/indicator/CDU_pages_init.lua")

 

use_parser = false

 

 

dofile(LockOn_Options.common_script_path.."devices_defs.lua")

 

indicator_type = indicator_types.COMMON

used_render_mask = "interleave.bmp"

 

=-=-=-=-=-=-=

 

ping me if it does not work, maybe the "copy-past " is not perfect

Thanks very much, that did the trick. Appreciate your help.

CPU:i7920 @2.67GHz overclocked to 3.25Ghz

Video:ATI HD5780 Single Monitor

Ram:8 GB DDR3

OS: Win7 64bit

Equipment:TrackIR4, Buttkicker2Gamer,CH ProFlight Pedals, Saitek X65 Controller

Link to comment
Share on other sites

  • 3 months later...
  • Recently Browsing   0 members

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