Jump to content

Recommended Posts

Posted

I like to flip on the HUD only mode to look down, like an F-35 HMD can do. With the Hornet the MPCD screen overlay is right in the middle though. Anyone know the location of the HUD only (F1 alternate view) .lua so I can make it not show that?

VR rig - 

Posted

For the middle one the .lua file is:

D:\Eagle Dynamics\DCS World OpenBeta\Mods\aircraft\FA-18C\Cockpit\Scripts\Multipurpose_Display_Group\AMPCD\indicator\AMPCD_init.lua

 

For the other two the file is:

D:\Eagle Dynamics\DCS World OpenBeta\Mods\aircraft\FA-18C\Cockpit\Scripts\Multipurpose_Display_Group\MDI_IP1556A\indicator\MDI_init.lua

 

For both modify the "purposes" line to read: purposes = {render_purpose.GENERAL}

 

This has to be done after every update/repair.

Posted

After one update for a week or so, the HUD only view showed quasi transparent screens, which worked great.

I think editing the lua gives you a MP server error.

| VR goggles | Autopilot panel | Headtracker | TM HOTAS | G920 HOTAS | MS FFB 2 | Throttle Quadrants | 8600K | GTX 1080 | 64GB RAM| Win 10 x64 | Voicerecognition | 50" UHD TV monitor | 40" 1080p TV monitor | 2x 24" 1080p side monitors | 24" 1080p touchscreen |

Posted

Окурок, выброшенный в урну, гораздо патриотичнее флажочка на автомобиле

TM Wartrhog Stick + VPC MongoosT-50Base + VPC TMW Extension 150mm / TM Wartrhog Throttle / CH Pro Pedals / 2-VPC Deck Mount / TrackIR5/

__________________________________________________________

i5-10600K Over to 5.0MHz/32GbDD4-3200/RTX4070/System-SSD1 DCS-SSD2/32" 2560x1440

Posted
I think editing the lua gives you a MP server error.

 

Failing IC hasn't been my experience, thankfully.

 

I hope that remains the same with the edit SMN provided above.

Posted (edited)
And how to restore the transparency of displays in HUD_Only?

У меня прозрачность пропала после обновления.

This only for delete from "HUD View Only" 3 screens ( AMPCD & MDIs).

 

Это только для удаления 3-х дисплеев с вида HUD только..

Прозрачность не меняют...

Edited by SMN

Окурок, выброшенный в урну, гораздо патриотичнее флажочка на автомобиле

TM Wartrhog Stick + VPC MongoosT-50Base + VPC TMW Extension 150mm / TM Wartrhog Throttle / CH Pro Pedals / 2-VPC Deck Mount / TrackIR5/

__________________________________________________________

i5-10600K Over to 5.0MHz/32GbDD4-3200/RTX4070/System-SSD1 DCS-SSD2/32" 2560x1440

Posted

I only delete middle AMPCD, is good enough, also for helicopter

| VR goggles | Autopilot panel | Headtracker | TM HOTAS | G920 HOTAS | MS FFB 2 | Throttle Quadrants | 8600K | GTX 1080 | 64GB RAM| Win 10 x64 | Voicerecognition | 50" UHD TV monitor | 40" 1080p TV monitor | 2x 24" 1080p side monitors | 24" 1080p touchscreen |

Posted
This only for delete from "HUD View Only" 3 screens ( AMPCD & MDIs).

 

Это только для удаления 3-х дисплеев с вида HUD только..

Прозрачность не меняют...

 

Я понял, что данный способ не влияет на прозрачность.

Просто спросил на всякий случай. До обновления работало вот это в файле materials.lua:

materials["MPD_BACKGROUND"] = {0, 0, 0, 128}.

А теперь все, черные экраны опять. Хорошо, что еще размеры дисплеев менять возможность оставили.

OQ2; 3080ti; X-56new

Posted (edited)

Нашел!

 

transparent displays:

...\Mods\aircraft\FA-18C\Cockpit\Scripts\Multipurpose_Display_Group\Common\indicator\BAKE\MPD_common_bake_page.lua

 

HUD_only_back.material 	 			= MakeMaterial("",{0,0,0,[color="Red"]128[/color]})

 

resize AMPCD:

F:\DCS_beta\Mods\aircraft\FA-18C\Cockpit\Scripts\Multipurpose_Display_Group\AMPCD\indicator\AMPCD_viewport_cfg.lua

--ViewportHandling
dofile(LockOn_Options.common_script_path.."ViewportHandling.lua")
----------------------------------------------------------------------
local w = LockOn_Options.screen.width;
local h = LockOn_Options.screen.height;

if LockOn_Options.screen.oculus_rift then 
local ui_x,ui_y,ui_w,ui_h = get_UIMainView()
w = ui_w;
h = ui_h;
end	

local size  = [color="Red"]0.35[/color] * h
if size > h then
  size = h
end
if size > 0.5 * w then
  size = 0.5 * w
end

dedicated_viewport 		  = [color="Red"]{0.5 * w - 0.5 * size, h - size, size, size}[/color]
dedicated_viewport_arcade =  dedicated_viewport
----------------------------------------------------------------------
try_find_assigned_viewport("CENTER_MFCD")

 

resize left MDI:

...\Mods\aircraft\FA-18C\Cockpit\Scripts\Multipurpose_Display_Group\MDI_IP1556A\indicator\MDI_left_viewport_cfg.lua

 

--ViewportHandling
dofile(LockOn_Options.common_script_path.."ViewportHandling.lua")
update_screenspace_diplacement(1, true, 0)

----------------------------------------------------------------------
local w = LockOn_Options.screen.width;
local h = LockOn_Options.screen.height;

if LockOn_Options.screen.oculus_rift then 
local ui_x,ui_y,ui_w,ui_h = get_UIMainView()
w = ui_w;
h = ui_h;
end	

local size  = [color="Red"]0.35[/color] * h
if size > h then
  size = h
end
if size > 0.5 * w then
  size = 0.5 * w
end

dedicated_viewport 		  = [color="Red"]{0,h - size,size,size}[/color]
dedicated_viewport_arcade =  dedicated_viewport
----------------------------------------------------------------------
try_find_assigned_viewport("LEFT_MFCD")

 

resize right MDI:

...\Mods\aircraft\FA-18C\Cockpit\Scripts\Multipurpose_Display_Group\MDI_IP1556A\indicator\MDI_right_viewport_cfg.lua

 

--ViewportHandling
dofile(LockOn_Options.common_script_path.."ViewportHandling.lua")
update_screenspace_diplacement(1, true, 0)

----------------------------------------------------------------------
local w = LockOn_Options.screen.width;
local h = LockOn_Options.screen.height;

if LockOn_Options.screen.oculus_rift then 
local ui_x,ui_y,ui_w,ui_h = get_UIMainView()
w = ui_w;
h = ui_h;
end	

local size  = [color="Red"]0.35[/color] * h
if size > h then
  size = h
end
if size > 0.5 * w then
  size = 0.5 * w
end

dedicated_viewport 		  = [color="Red"]{w - size,h - size,size,size}[/color]
dedicated_viewport_arcade =  dedicated_viewport
----------------------------------------------------------------------
try_find_assigned_viewport("RIGHT_MFCD")

 

showthread.php?p=4425268#post4425268

1000886401_DigitalCombatSimulatorBlackSharkScreenshot2020_07.18-12_23_25_29.thumb.png.2b36b83ad405890e253100f335862ea4.png

Edited by Doomal_dolgo
  • Like 1

OQ2; 3080ti; X-56new

Posted

Been looking for this, thank you very much to all!

 

 

---

PC: Windows 10 Pro X64, AMD FX8120 8 Core @ ~4.0GHz, 32GB DDR3-1600, GTX 1080 8Gb, 1 TB EVO 860 SSD | Displays: 3 Dell HD 1920x1080 @ 5520x1080 windowed ||| Hardware : TM Warthog HOTAS Stick+Throttle | 3x TM Cougar MFD's | WW Combat Panel | WW Landing Panel ||| Mods: F/A-18C | F-16 | P51-D | UH-1H | C130-J | NTTR | Persian Gulf | Syria | Channel | Normandy | WWII Assets | Super Carrier | Combined Arms

 

Posted

 

This has to be done after every update/repair.

 

I know, right? I have a growing list of .lua changes to make after every update or repair

 

 

 

Thanks all, this is great.

VR rig - 

Posted
I know, right? I have a growing list of .lua changes to make after every update or repair

Use JSGME (or the other one), once setup its just a button.

| VR goggles | Autopilot panel | Headtracker | TM HOTAS | G920 HOTAS | MS FFB 2 | Throttle Quadrants | 8600K | GTX 1080 | 64GB RAM| Win 10 x64 | Voicerecognition | 50" UHD TV monitor | 40" 1080p TV monitor | 2x 24" 1080p side monitors | 24" 1080p touchscreen |

Posted

This ^^^ +1. Started using OvGME and made life much sweeter.

PC: Windows 10 Pro X64, AMD FX8120 8 Core @ ~4.0GHz, 32GB DDR3-1600, GTX 1080 8Gb, 1 TB EVO 860 SSD | Displays: 3 Dell HD 1920x1080 @ 5520x1080 windowed ||| Hardware : TM Warthog HOTAS Stick+Throttle | 3x TM Cougar MFD's | WW Combat Panel | WW Landing Panel ||| Mods: F/A-18C | F-16 | P51-D | UH-1H | C130-J | NTTR | Persian Gulf | Syria | Channel | Normandy | WWII Assets | Super Carrier | Combined Arms

 

  • Recently Browsing   0 members

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