Jump to content

Howartzer

Members
  • Posts

    9
  • Joined

  • Last visited

Everything posted by Howartzer

  1. Glad to say Ive finnaly got it working in dcs2 the mfcds are working with helios Im going to try to get the rest going too. I'm getting bad frame rates on all my gauges and gimbals in helios but dcs is running smoothly at 60-70fps does anyone know how to improve frame rate for helios? Also im looking into how to turn off the mfcds in the 3d cockpit to further improve performance. I found this In DCS World that file can be found here: C:DCS World\Scripts\Aircrafts\_Common\Cockpit-ViewportHandling Using Notepad++, comment out line 31 by adding the -- as highlighted in red below Code: purposes = {--render_purpose.GENERAL, render_purpose.HUD_ONLY_VIEW, render_purpose.SCREENSPACE_OUTSIDE_COCKPIT, render_purpose.SCREENSPACE_INSIDE_COCKPIT} -- set purposes to draw it always render_target_always = true end Does this still work? Because i thought the a10 module had its own viewporthadeling script.
  2. Ok Ive gone over it in another thread using Virtual cockpit server to setup the monitor config. --***DO NOT MODIFY THESE COMMENT LINES*** --A10CVirtualCockpitServer v0.0.0.0 --LOCATION Config\MonitorSetup --HOOKTO --Monitor lua _ = function(p) return p; end; name = _('A-10C Virtual Cockpit Server'); Description = 'Setup for A-10C Virtual Cockpit Server MFCD and CDU Exports.' Viewports = { Center = { x = 0; y = 0; width = 1920; height = 1080; viewDx = 0; viewDy = 0; aspect = 1.7777777777777777777777777778; } } LEFT_MFCD = { x = 1928; y = 13; width = 832; height = 832; } RIGHT_MFCD = { x = 2993; y = 16; width = 832; height = 832; } --CDU_EXPORT UIMainView = Viewports.Center Ive also tried 3480x1080 aspect 3.55555556 it stretches the cockpit across both screens. I'm not running any mods. Also now the mfcds in cockpit are disabled and changing the monitor setting to default 1 screen isn bringing them back. Gtx 760, ssd, 70" HDTV hdmi, 22" Lcd monitor dvi
  3. Cockpit is spread across both screens, no mfcds. 1920x1080 everything is on main monitor (TV) and second monitor is black. I don't know maybe I need to re-install? GTX760, 16Gb RAM, 500GB SSD, 70" SONY HDTV Through Reciever, 22" LCD Monitor.
  4. Ok wow pulling my hair out here I must be getting something wrong. --***DO NOT MODIFY THESE COMMENT LINES*** --A10CVirtualCockpitServer v0.0.0.0 --LOCATION Config\MonitorSetup --HOOKTO --Monitor lua _ = function(p) return p; end; name = _('A-10C Virtual Cockpit Server'); Description = 'Setup for A-10C Virtual Cockpit Server MFCD and CDU Exports.' Viewports = { Center = { x = 0; y = 0; width = 1920; height = 1080; viewDx = 0; viewDy = 0; aspect = 1.7777777777777777777777777778; } } LEFT_MFCD = { x = 1928; y = 13; width = 832; height = 832; } RIGHT_MFCD = { x = 2993; y = 16; width = 832; height = 832; } --CDU_EXPORT UIMainView = Viewports.Center Sorry about being a pain the ass.
  5. I restored all my backup files for a fresh install DCS 1.54 I started the server checked the directory was good, made my adjustments, saved, forced update and im getting no connection still. Then ran DCS and selected the virtual cockpit .lua under monitor still didnt work. then I tried the whole setup again but this time having the monitors setup as side by side. still nothing. why arn't I getting a connection? I have allowed access on my network and the server address and everything else has a green check. Do I need DCS 2? Edit: it did manage to turn off the cockpit mfcds in game so i suppose its doing something.
  6. Ok so I run the virtual cockpit server, do I have to edit any .lua? Should I re-install and try this? I see you provided an a-10 example .lua where does that go? I'm going to try this when I get home thanks. Another poster told me not to use helios anymore does virtual cockpit replace it?
  7. Fakum: Why not use Helios? It was working fine but does it cause conflicts? As for the resolution in the export .lua I've tried setting it to 1920x2160 and all that did was make the sim use the other monitor just like any other multi monitor setup. Does the first height and width have to be 1920x2160 and the GUI set to 1920x1080? I'm not sure what post your talking about could you send me a link?
  8. Hi I've followed this guide and I still cannot get any MFCDs RWR ect. exported. I have a 1920x1080 TV and a 1920x1080 monitor. I Followed this guide and installed the files https://forums.eagle.ru/showthread.php?t=125195 omitting the touch screen setup in windows and every toggle and gauge is working fine. Here is my monitor export .lua _ = function(p) return p; end; name = _('Export_Helios_1920x1080'); Description = '2 Monitor Helios 1920x1080'; Viewports = { Center = { x = 0; y = 0; width = 1920; height = 1080; viewDx = 0; viewDy = 0; aspect = 1.7777778; } } GUI= { x = 0; y = 0; width = 1920; height = 1080; } UIMainView = GUI --////////////////////////////////////// -- Eagle Dynamics A-10C = --////////////////////////////////////// ED_A10C_LEFT_MFCD = { x = 60; y = 1200; width = 445; height = 445; } ED_A10C_RIGHT_MFCD = { x = 1415; y = 1200; width = 445; height = 445; } ED_A10C_CLOCK = { x = 480; y = 1910; width = 122; height = 122; } ED_A10C_RWR = { x = 600; y = 1241; width = 175; height = 175; } ED_A10C_CMSP = { x = 1075; y = 1270; width = 270; height = 70; } ED_A10C_CMSC = { x = 856; y = 1221; width = 230; height = 49; } ED_A10C_UHF_FREQUENCY_STATUS = { x = 635; y = 1645; width = 12; height = 30; } ED_A10C_UHF_PRESET_CHANNEL = { x = 748; y = 1557; width = 30; height = 30; } ED_A10C_UHF_REPEATER = { x = 656; y = 1775; width = 110; height = 30; } Also My ViewportHandling.lua -- positioning on screen in HUD Only view function update_screenspace_diplacement(aspect,is_left,zoom_value) local aspect = aspect or 1 local zoom_value = zoom_value or 0 local default_width = 0.5 * LockOn_Options.screen.height + (64 * zoom_value) if default_width > LockOn_Options.screen.height then default_width = LockOn_Options.screen.height end if default_width > 0.5 * LockOn_Options.screen.width then default_width = 0.5 * LockOn_Options.screen.width end local default_height = default_width / aspect local default_y = LockOn_Options.screen.height - default_height local default_x = LockOn_Options.screen.width - default_width if is_left then default_x = 0 end dedicated_viewport = {default_x,default_y,default_width,default_height} dedicated_viewport_arcade = {default_x, 0 ,default_width,default_height} end function make_viewport(aspect,is_left,is_top,default_width,zoom_value) local aspect = aspect or 1 local zoom_value = zoom_value or 0 local default_width = default_width or 0.5 * LockOn_Options.screen.height default_width = default_width + (64 * zoom_value) if default_width > LockOn_Options.screen.height then default_width = LockOn_Options.screen.height end if default_width > 0.5 * LockOn_Options.screen.width then default_width = 0.5 * LockOn_Options.screen.width end local default_height = default_width / aspect local default_y = LockOn_Options.screen.height - default_height local default_x = LockOn_Options.screen.width - default_width if is_left then default_x = 0 end if is_top then default_y = 0 end return {default_x,default_y,default_width,default_height} end function set_full_viewport_coverage(viewport) dedicated_viewport = {viewport.x, viewport.y, viewport.width, viewport.height} dedicated_viewport_arcade = dedicated_viewport purposes = {render_purpose.GENERAL, render_purpose.HUD_ONLY_VIEW, render_purpose.SCREENSPACE_OUTSIDE_COCKPIT, render_purpose.SCREENSPACE_INSIDE_COCKPIT} -- set purposes to draw it always render_target_always = true end -- try to find assigned viewport function try_find_assigned_viewport(exactly_name,abstract_name) local multimonitor_setup_name = "Config/MonitorSetup/"..get_multimonitor_preset_name()..".lua" local f = loadfile(multimonitor_setup_name) if f then local env = {screen = LockOn_Options.screen} setfenv(f,env) pcall(f) local target_env = env[exactly_name] if not target_env and abstract_name then target_env = env[abstract_name] end if target_env then set_full_viewport_coverage(target_env) end end end Any any help!?
  9. Hi I've followed this guide and I still cannot get any MFCDs RWR ect. exported. I have a 1920x1080 TV and a 1920x1080 monitor. I Followed this guide omitting the touch screen setup in windows and every toggle and gauge is working fine. I've read through this thread and others https://forums.eagle.ru/showthread.php?t=70716 Here is my monitor export .lua _ = function(p) return p; end; name = _('Export_Helios_1920x1080'); Description = '2 Monitor Helios 1920x1080'; Viewports = { Center = { x = 0; y = 0; width = 1920; height = 1080; viewDx = 0; viewDy = 0; aspect = 1.7777778; } } GUI= { x = 0; y = 0; width = 1920; height = 1080; } UIMainView = GUI --////////////////////////////////////// -- Eagle Dynamics A-10C = --////////////////////////////////////// ED_A10C_LEFT_MFCD = { x = 60; y = 1200; width = 445; height = 445; } ED_A10C_RIGHT_MFCD = { x = 1415; y = 1200; width = 445; height = 445; } ED_A10C_CLOCK = { x = 480; y = 1910; width = 122; height = 122; } ED_A10C_RWR = { x = 600; y = 1241; width = 175; height = 175; } ED_A10C_CMSP = { x = 1075; y = 1270; width = 270; height = 70; } ED_A10C_CMSC = { x = 856; y = 1221; width = 230; height = 49; } ED_A10C_UHF_FREQUENCY_STATUS = { x = 635; y = 1645; width = 12; height = 30; } ED_A10C_UHF_PRESET_CHANNEL = { x = 748; y = 1557; width = 30; height = 30; } ED_A10C_UHF_REPEATER = { x = 656; y = 1775; width = 110; height = 30; } Also My ViewportHandling.lua -- positioning on screen in HUD Only view function update_screenspace_diplacement(aspect,is_left,zoom_value) local aspect = aspect or 1 local zoom_value = zoom_value or 0 local default_width = 0.5 * LockOn_Options.screen.height + (64 * zoom_value) if default_width > LockOn_Options.screen.height then default_width = LockOn_Options.screen.height end if default_width > 0.5 * LockOn_Options.screen.width then default_width = 0.5 * LockOn_Options.screen.width end local default_height = default_width / aspect local default_y = LockOn_Options.screen.height - default_height local default_x = LockOn_Options.screen.width - default_width if is_left then default_x = 0 end dedicated_viewport = {default_x,default_y,default_width,default_height} dedicated_viewport_arcade = {default_x, 0 ,default_width,default_height} end function make_viewport(aspect,is_left,is_top,default_width,zoom_value) local aspect = aspect or 1 local zoom_value = zoom_value or 0 local default_width = default_width or 0.5 * LockOn_Options.screen.height default_width = default_width + (64 * zoom_value) if default_width > LockOn_Options.screen.height then default_width = LockOn_Options.screen.height end if default_width > 0.5 * LockOn_Options.screen.width then default_width = 0.5 * LockOn_Options.screen.width end local default_height = default_width / aspect local default_y = LockOn_Options.screen.height - default_height local default_x = LockOn_Options.screen.width - default_width if is_left then default_x = 0 end if is_top then default_y = 0 end return {default_x,default_y,default_width,default_height} end function set_full_viewport_coverage(viewport) dedicated_viewport = {viewport.x, viewport.y, viewport.width, viewport.height} dedicated_viewport_arcade = dedicated_viewport purposes = {render_purpose.GENERAL, render_purpose.HUD_ONLY_VIEW, render_purpose.SCREENSPACE_OUTSIDE_COCKPIT, render_purpose.SCREENSPACE_INSIDE_COCKPIT} -- set purposes to draw it always render_target_always = true end -- try to find assigned viewport function try_find_assigned_viewport(exactly_name,abstract_name) local multimonitor_setup_name = "Config/MonitorSetup/"..get_multimonitor_preset_name()..".lua" local f = loadfile(multimonitor_setup_name) if f then local env = {screen = LockOn_Options.screen} setfenv(f,env) pcall(f) local target_env = env[exactly_name] if not target_env and abstract_name then target_env = env[abstract_name] end if target_env then set_full_viewport_coverage(target_env) end end end Any any help!?
×
×
  • Create New...