Jump to content

Recommended Posts

Posted (edited)

currently they are exported like normal MFDs. I need to create independent exports for them, because I need to change they size so that I can have them it into my TM mfds.

 

What is their specific names so I can create an export entry for them ?

 

Thanks a lot

Edited by FZG_Immel
solved and explained

[sIGPIC]https://forums.eagle.ru/signaturepics/sigpic70550_3.gif[/sIGPIC]

Asus Z390-H - SSD M.2 EVO 970 - Intel I9 @5.0ghz - 32gb DDR4 4000 - EVGA 3090 - Cougar FSSB + Virpil WRBRD + Hornet Stick - Thrustmaster TPR Pedal + WinWing MIP + Orion + TO and CO pannels - Track IR5

Posted
currently they are exported like normal MFDs. I need to create independent exports for them, because I need to change they size so that I can have them it into my TM mfds.

 

What is their specific names so I can create an export entry for them ?

 

Thanks a lot

 

 

default viewport names defined:

 

Mods\aircraft\JF-17\Cockpit\Scripts\MFCD

'LEFT_MFCD' in MFCD_init_LEFT.lua

'CENTER_MFCD' in MFCD_init_CENTER.lua

'RIGHT_MFCD' in MFCD_init_RIGHT.lua

 

 

you can change them as you wish.

Posted (edited)

Ok, I managed to export the MFDS from my monitorsetup file, so that they have a different placement and sizing than the hornet or harriers MFDs.. to do so I modified these three files in Mods\aircraft\JF-17\Cockpit\Scripts\MFCD

 

'LEFT_MFCD' in MFCD_init_LEFT.lua

'CENTER_MFCD' in MFCD_init_CENTER.lua

'RIGHT_MFCD' in MFCD_init_RIGHT.lua

 

example from the first file :

 

dofile(LockOn_Options.script_path.."MFCD/MFCD_pageID_defs.lua")

mfcd_id = MFCD.LMFCD

 

dofile(LockOn_Options.script_path.."MFCD/MFCD_init_COMMON.lua")

 

-- debugGUI = true

 

init_pageID = PAGE_ID.PAGE_ID_EFIS

 

 

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

 

-- MFCD position in HUD only view

-- MFCD_set_screenspace_displacement(3/4, -1, 0.8)

local w = LockOn_Options.screen.width;

local h = LockOn_Options.screen.height;

 

local hud_only_view_position = best_fit_rect(0, h * (1 - 50/120), w/3 , h * 50/120, Viewport_Align.left, Viewport_Align.vcenter, MFCD_aspect)

dedicated_viewport = hud_only_view_position

dedicated_viewport_arcade = hud_only_view_position

 

-- render_purpose.GENERAL

-- try_find_assigned_viewport('LEFTJ_MFCD')

 

local default_viewport = find_viewport('LEFTJ_MFCD')

if default_viewport then

dedicated_viewport = {default_viewport.x, default_viewport.y, default_viewport.width, default_viewport.height}

dedicated_viewport_arcade = {default_viewport.x, default_viewport.y, default_viewport.width, default_viewport.height}

purposes = {render_purpose.GENERAL, render_purpose.SCREENSPACE_INSIDE_COCKPIT, render_purpose.HUD_ONLY_VIEW}

render_target_always = true

end

 

in red, the lines I modified and in bold the letter I added (J, for JF17)

 

I did the same for the RIGHT and CENTER file, adding a J in those two lines.

 

then, in my monitorsetup file, I added 3 new entries for those

 

LEFTJ_MFCD =

{

x = 3958.0;

y = 290.0;

width = 396;

height = 560;

}

 

RIGHTJ_MFCD =

{

x = 5227.0;

y = 290.0;

width = 396;

height = 560;

}

 

CENTERJ_MFCD =

{

x = 4590.0;

y = 480.0;

width = 396;

height = 560;

}

 

for reference, here are the original exports of my hornet and harrier mfds, so you can see the difference.

 

I had to change the size (proportions) and placement a bit

 

LEFT_MFCD =

{

x = 3953.0;

y = 248.0;

width = 406;

height = 406;

}

RIGHT_MFCD =

{

x = 5222.0;

y = 248.0;

width = 406;

height = 406;

}

CENTER_MFCD =

{

x = 4585.0;

y = 438.0;

width = 406;

height = 406;

}

 

as you can see, this is a compromise, given that they are below my thrustmaster MFDs, and also for the center one, there is my A-10C UFC. but it kinda works.

 

850632BC-BEF6-4AEE-9CF5-A1DCEDDCBFDD_zps6sol05ot.jpg

Edited by FZG_Immel

[sIGPIC]https://forums.eagle.ru/signaturepics/sigpic70550_3.gif[/sIGPIC]

Asus Z390-H - SSD M.2 EVO 970 - Intel I9 @5.0ghz - 32gb DDR4 4000 - EVGA 3090 - Cougar FSSB + Virpil WRBRD + Hornet Stick - Thrustmaster TPR Pedal + WinWing MIP + Orion + TO and CO pannels - Track IR5

  • Recently Browsing   0 members

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