Jump to content

Exporting the HUD to a secondary moitor - Possible?


LeCuvier

Recommended Posts

I tried to export the HUD to a second monitor, using the method that works for the IFEI in the Hornet, but all I got was a black rectangle. Does anybody know how to export the HUD?

LeCuvier

Windows 10 Pro 64Bit | i7-4790 CPU |16 GB RAM|SSD System Disk|SSD Gaming Disk| MSI GTX-1080 Gaming 8 GB| Acer XB270HU | TM Warthog HOTAS | VKB Gladiator Pro | MongoosT-50 | MFG Crosswind Pedals | TrackIR 5

Link to comment
Share on other sites

Thanks, I saw this but it's based on DCS World 1.2.0 and it adds an awful lot of code - code that I don't understand at all. This will almost certainly break something.

LeCuvier

Windows 10 Pro 64Bit | i7-4790 CPU |16 GB RAM|SSD System Disk|SSD Gaming Disk| MSI GTX-1080 Gaming 8 GB| Acer XB270HU | TM Warthog HOTAS | VKB Gladiator Pro | MongoosT-50 | MFG Crosswind Pedals | TrackIR 5

Link to comment
Share on other sites

  • 2 weeks later...

Oh, I didn't see that post there, but with some investigation, it pretty much works. Tome tinkering is needed, as you can see in the pic.

 

I pretty much followed the instructions here: https://forums.eagle.ru/forum/english/dcs-world-topics/input-and-output/home-cockpits/88395-how-to-hud-export-a10c-dcs-world-for-real-hud#post88395

 

Summary:

 

Step 1: Do the edits to your "DCS World\Mods\aircrafts\A-10C\Cockpit\Scripts\HUD\Indicator\HUD_init.lua" that they say in the post.

 

Step 2: Change your monutor .lua to this:

 

_ = function(p) return p; end;
name = _('1ScreenA10C2HUD');
Description = 'One monitor configuration with A10C2 HUD'
Viewports =
{
Center =
{
x = 0;
y = 0;
width = screen.width;
height = screen.height;
viewDx = 0;
viewDy = 0;
aspect = screen.aspect;
}
}

A10C_HUD =
-- ratio 1:1
{
x = 0;
y = 0;
width = screen.width * 0.43; -- 602 on a screen.width of 1400
height = screen.width * 0.43; -- 602 on a screen.width of 1400
}
GU_MAIN_VIEWPORT = Viewports.Center

 

Step 3: Launch DCS and chose the "1ScreenA10C2HUD" under Options > System > Monitors.

 

Done.

 

I'd be glad to help if you need more guidance.

 

553907447_2020-11-1022_29_41-Window.thumb.jpg.ff46685046bc5f7476c07d38f990f10f.jpg

1707107680_2020-11-1022_29_41-Window.thumb.jpg.cddbb97273d1510adbd9be5581f3ec15.jpg

Link to comment
Share on other sites

  • 1 year later...
On 11/10/2020 at 9:38 PM, Bailey said:

Oh, I didn't see that post there, but with some investigation, it pretty much works. Tome tinkering is needed, as you can see in the pic.

 

I pretty much followed the instructions here: https://forums.eagle.ru/forum/english/dcs-world-topics/input-and-output/home-cockpits/88395-how-to-hud-export-a10c-dcs-world-for-real-hud#post88395

 

Summary:

 

Step 1: Do the edits to your "DCS World\Mods\aircrafts\A-10C\Cockpit\Scripts\HUD\Indicator\HUD_init.lua" that they say in the post.

 

Step 2: Change your monutor .lua to this:

 

 

_ = function(p) return p; end;
name = _('1ScreenA10C2HUD');
Description = 'One monitor configuration with A10C2 HUD'
Viewports =
{
Center =
{
x = 0;
y = 0;
width = screen.width;
height = screen.height;
viewDx = 0;
viewDy = 0;
aspect = screen.aspect;
}
}

A10C_HUD =
-- ratio 1:1
{
x = 0;
y = 0;
width = screen.width * 0.43; -- 602 on a screen.width of 1400
height = screen.width * 0.43; -- 602 on a screen.width of 1400
}
GU_MAIN_VIEWPORT = Viewports.Center
 

 

 

Step 3: Launch DCS and chose the "1ScreenA10C2HUD" under Options > System > Monitors.

 

Done.

 

I'd be glad to help if you need more guidance.

 

 

 

 

 

Hey, i follow your step. but i have a not good view. It will crack the original HUD image.

And i found it needs to add these code:

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

 

Cld you pls help me?image.png

 

null

Link to comment
Share on other sites

  • Recently Browsing   0 members

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