Jump to content

How do I remove the DDI‘s from HUD only view?


Recommended Posts

When in HUD ONLY VIEW the AMPCD (center) and both DDI’s (right and left) are blocking half the view, which can sometimes be annoying.

In earlier DCS versions it was possible to switch OFF one or all displays if needed - fine.

In later versions, when switching these displays to OFF, empty black boxes stay in the HUD only view - not so good.

 

Before the most recent update 2.5.6.55960 it was possible to modify .lua files in order to get rid of these black boxes.

These . . .lua files in the folder "bake" had to be modified:

 

AMPCD_bake_init.lua

MDI_left_bake_init.lua

MDI_right_bake_init.lua

 

Namely changing the following line

 

purposes = {render_purpose.GENERAL, render_purpose.HUD_ONLY_VIEW}

to

purposes = {render_purpose.GENERAL}

 

which made the mod.

 

BUT AFTER THE LAST UPDATE THIS MOD ISN'T WORKING ANYMORE!

 

The . . .bake_init.lua files either do not have the above lines anymore (AMPCD_bake_init.lua)

or the line modification does'nt work anymore (MDI_right/left_bake_init.lua).

 

Which lines could be modified now?

Is there any modification possible to remove the AMPCD/DDI from HUD only view?


Edited by wernst
update, correction
Link to comment
Share on other sites

  • 3 weeks later...

I had the same problem and tried this mod and it doesn't work on 2.5.6+

 

So I poke around that file and notice that there is another file that's being loaded first and I was able to make it work.

 

to remove all including the HUD from this view

 

edit file [dcs intall]\scripts\aircrafts\ _common\devices_defs.lua

 

change the 1 to a 0 in this line HUD_ONLY_VIEW = 1

 

render_purpose =

{

GENERAL = 0,

HUD_ONLY_VIEW = 1, -- make the 1 into a 0

SCREENSPACE_INSIDE_COCKPIT = 2,

SCREENSPACE_OUTSIDE_COCKPIT = 3,

GROUND_UNIT_OPERATOR = 4,

GROUND_UNIT_OPERATOR_SCREENSPACE = 5,

}

 

this should work on all aircrafts

 

 

 

 

To remove the left and right DDI and AMPCD instead but keep the HUD on FA-18C for example

 

edit file [dcs install]\Mods\aircraft\FA-18C\Cockpit\Scripts\Multipurpose_Display_Group\Common\indicator\BAKE\MPD_common_bake_init.lua

 

change this line

 

"purposes = render_purposes_to_use or {render_purpose.GENERAL, render_purpose.HUD_ONLY_VIEW}"

 

to

 

"purposes = render_purposes_to_use or {render_purpose.GENERAL}"

 

this you need to do it to each aircraft

Link to comment
Share on other sites

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

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