Jump to content

Modified Apache AH64D display export after DCS update 1/23


Recommended Posts

Posted (edited)

The Bunny Apache Export modifications stopped working with the latest update (1/27/23).The display control folders (EUFD,KU,TEDAC)  have been moved to the main DCSWorld\Mods\aircraft\AH-64D\Cockpit\Scripts\Displays folder.  To each folder you must add the following lines to the ends  of the  X_init.lua files as follows:

to the "DCSWorld\Mods\aircraft\AH-64D\Cockpit\Scripts\Displays\KU\KU_init.lua" file add

--ViewportHandling

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

try_find_assigned_viewport("AH64_KU")

to the "DCSWorld\Mods\aircraft\AH-64D\Cockpit\Scripts\Displays\EUFD\EUFD_cpg_init.lua" file add

--ViewportHandling

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

to the "DCSWorld\Mods\aircraft\AH-64D\Cockpit\Scripts\Displays\EUFD\EUFD_cpg_init.lua" file add

--ViewportHandling

dofile(LockOn_Options.common_script_path.."ViewportHandling.lua")
try_find_assigned_viewport("AH64_CPG_EUFD")
 
to the "DCSWorld\Mods\aircraft\AH-64D\Cockpit\Scripts\Displays\EUFD\EUFD_plt_init.lua" file add
 
--ViewportHandling
dofile(LockOn_Options.common_script_path.."ViewportHandling.lua")
try_find_assigned_viewport("AH64_PLT_EUFD")
 
My "\DCSWorld\Config\MonitorSetup\AH64D.lua" looks like this
 

--Monitor setup file
_  = function(p) return p; end;
name = _('AH64D');
Description = 'Cockpit, left and right MPCDs'
Viewports =
{
    Center =
{
    x = 696.0;
    y = 1600.0;
    width = 5120;
    height = 1440;
    viewDx = 0;
    viewDy = 0;
    aspect = 3.555555555555556;
}
}
LEFT_MFCD =
{
     x = 3923;
     y = 707;
     width = 761;
     height = 761;
}
RIGHT_MFCD =
{x = 4970; y = 707;width = 761;height = 761;}
AH64_CPG_EUFD =
{...   
AH64_PLT_EUFD =
{...
AH64_KU =
{...
TEDAC =
{...

}
UIMainView = Viewports.Center
GU_MAIN_VIEWPORT = Viewports.Center

The TEDAC and MFCD exports do not require any init.lua file modifications

Hope this helps!

Edited by satenmech
line spacing
  • Like 2
  • 4 weeks later...
  • 1 month later...
  • 2 weeks later...
Posted

My EUFD and KU exports are once again not working after the latest update. Any suggestions?

 

AMD Ryzen 5 2600 Six-Core Processor 3.4 GHz

32 Gb RAM, Nvidea GTX 1050 TI

Water Cooled, Windows 10 64 bit

Posted (edited)

Hi @16th Widowmakr - did you get this sorted? I am new to Helios - so have been experimenting with it over the last week. In answer to your question - make the changes as per the OP - as they have probably been overwritten by the updates.

I have downloaded @Bunny Clark AH64 profile (awesome work), followed the instructions resetting the monitors, and all looks good with the various panels being displayed on my touchscreen. 

That said - I think the KU was working  - up until the last couple of patches to the OpenBeta. As it stands - the KU keytouches work and display in both the Pilot and CPG cockpits, but do not show on the Helios touch. I then made the changes to the KU_Init as per the original OP, and then had display on the touch screen as well as in the 3d cockpits. However, if the cursor is flashing in the pilots station and I swap views to CPG - I now get two cursors (and characters) overlaid on top of each other in the cockpits, and no matter what configuration I try I either get nothing on Helios (but cockpits display OK), or Helios display is correct yet have the double cursor issue.

If anyone has any suggestions it would be a great help.

Edited by Leg2ion
Formatting

AMD Ryzen 5 5600X; ASUS ROG Strix X570-F, Corsair Vengeance 64 GB (2x 32GB) 3600MHz; Seagate FireCuda 510 500GB M.2-2280 (OS); Samsung 860 EVO 2TB M.2-2280 (DCS); MSI GeForce RTX 3090 SUPRIM X 24GB OC GPU. TM Warthog Hotas; T.Flight Pedals; DelanClip/Trackhat.

  • 4 weeks later...
Posted
On 4/22/2023 at 9:56 AM, Leg2ion said:

Hi @16th Widowmakr - did you get this sorted? I am new to Helios - so have been experimenting with it over the last week. In answer to your question - make the changes as per the OP - as they have probably been overwritten by the updates.

I have downloaded @Bunny Clark AH64 profile (awesome work), followed the instructions resetting the monitors, and all looks good with the various panels being displayed on my touchscreen. 

That said - I think the KU was working  - up until the last couple of patches to the OpenBeta. As it stands - the KU keytouches work and display in both the Pilot and CPG cockpits, but do not show on the Helios touch. I then made the changes to the KU_Init as per the original OP, and then had display on the touch screen as well as in the 3d cockpits. However, if the cursor is flashing in the pilots station and I swap views to CPG - I now get two cursors (and characters) overlaid on top of each other in the cockpits, and no matter what configuration I try I either get nothing on Helios (but cockpits display OK), or Helios display is correct yet have the double cursor issue.

If anyone has any suggestions it would be a great help.

 

Yes I got it working but not sure about the double cursor I don't seem to have that issue.

 

AMD Ryzen 5 2600 Six-Core Processor 3.4 GHz

32 Gb RAM, Nvidea GTX 1050 TI

Water Cooled, Windows 10 64 bit

Posted
On 5/17/2023 at 9:04 PM, hannibal said:

if IC failure, try adding the files to saved games folder

Move the main Mods/aircraft folder into the saved games mod folder?

Posted
21 minutes ago, hannibal said:

no create the folder

C:\Users\user\Saved Games\DCS.openbeta\Config\MonitorSetup

and place your custom lua file there.

having it in program folder will not pass IC

OP talking about modifying the display control folders EUFD,KU,TEDAC located in DCSWorld\Mods\aircraft\AH-64D\Cockpit\Scripts\Displays folder.  Not the MonitorSetup lua.  Unless I'm not putting two and two together.

  • Recently Browsing   0 members

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