Jump to content

Mirage 2000C - how to export radar and rwr to second monitor


Recommended Posts

This is my Own homebuild cockpit , i wanted a much more modern fighter cockpit , based on Razbam M2000 ., with much more views than 2000C , i can use MFD and add other views in the future , like Failure Panel .....

WP_20160124_23_49_36_Pro.thumb.jpg.723365cccdd85e06b16d11ada3e641ba.jpg

[sIGPIC][/sIGPIC]

Ryzen 7950X / Z670E -  32Gb DDR5 6000CAS36 - 4070TI - ReverbG2 - Hotas Cougar FSSBR1

Link to comment
Share on other sites

  • 1 month later...

Hello gang, been working with the M2K MM for a while and for some reason can't get it to work. I have read all the posts, tried them one by one but maybe my eyes are tired and I can't find the mistake. I have the RWR to work but the radar I can't make it to work.

 

I have the A-10C and F-15C set the way I want them so I think I have a basic understanding on how this works.

 

Have 2 24" monitors 1920x1200 with a total of 3840x1200. This is the last settings I am using, the radar works fine in the Center but not in the extended monitor, the RWR works on both.

 

First my Monitor Setup (I am using only one file for testing purposes).

 

_ = function(p) return p; end;

name = _('M-2000');

Description = 'Right MFCD on the right and camera on the center'

 

Viewports =

{

Center =

{

x = 0;

y = 0;

width = 1920;

height = 1200;

viewDx = 0;

viewDy = 0;

aspect = 1.6;

}

}

 

--//////////////////////////////////////

-- Mirage 2000 =

--//////////////////////////////////////

Mirage_Radar =

{

x = 2200;

y = 40;

width = 600;

height = 600;

}

 

Mirage_RWR =

{

x = 2900;

y = 30 ;

width = 100;

height = 100;

}

 

UIMainView = Viewports.Center

 

My VTB_ini.lua

 

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

 

indicator_type = indicator_types.COMMON

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

 

VTB_PAGE_0 = 0

VTB_PAGE_1 = 1

VTB_PAGE_2 = 2

 

SRC_VTB_BASE = 0

SRC_VTB_0 = 1

SRC_VTB_1 = 2

SRC_VTB_2 = 3

 

 

local my_path = LockOn_Options.script_path.."VTB/"

 

page_subsets = {

[sRC_VTB_BASE] = my_path.."VTB_base.lua",

[sRC_VTB_0] = my_path.."VTB_page_0.lua",

[sRC_VTB_1] = my_path.."VTB_page_1.lua",

[sRC_VTB_2] = my_path.."VTB_page_2.lua",

}

 

----------------------

pages = {

[VTB_PAGE_0] = {SRC_VTB_BASE,SRC_VTB_0},

[VTB_PAGE_1] = {SRC_VTB_BASE,SRC_VTB_1},

[VTB_PAGE_2] = {SRC_VTB_BASE,SRC_VTB_2},

}

 

init_pageID = VTB_PAGE_0

 

used_render_mask = "interleave2.bmp" --default mask for TV

update_screenspace_diplacement(SelfWidth/SelfHeight,false)

 

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

try_find_assigned_viewport("Mirage_Radar")

 

And last, my RWR_init.lua

 

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

local my_path = LockOn_Options.script_path.."RWR/"

 

indicator_type = indicator_types.COMMON

 

PAGE_0 = 0

 

SRC_RWR_BASE = 0

SRC_RWR_0 = 1

 

page_subsets = {

[sRC_RWR_BASE] = my_path.."RWR_base.lua",

[sRC_RWR_0] = my_path.."RWR_page.lua",

}

 

pages = {

[PAGE_0] = {SRC_RWR_BASE,SRC_RWR_0},

}

init_pageID = PAGE_0

 

used_render_mask = "interleave2.bmp" --default mask for TV

 

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

try_find_assigned_viewport("Mirage_RWR")

 

BTW: The line on the VTB lua file

purposes = {render_purpose.GENERAL,render_purpose.HUD_ONLY_VI EW, render_purpose.SCREENSPACE_INSIDE_COCKPIT} I have tried this line with the remarks dashes and without and also erasing it completely and nada.

 

 

 

Can you see what is it that I am missing here?

 

Really appreciate it. :)

Link to comment
Share on other sites

Hello gang, been working with the M2K MM for a while and for some reason can't get it to work. I have read all the posts, tried them one by one but maybe my eyes are tired and I can't find the mistake. I have the RWR to work but the radar I can't make it to work.

 

I have the A-10C and F-15C set the way I want them so I think I have a basic understanding on how this works.

 

Have 2 24" monitors 1920x1200 with a total of 3840x1200. This is the last settings I am using, the radar works fine in the Center but not in the extended monitor, the RWR works on both.

 

First my Monitor Setup (I am using only one file for testing purposes).

 

_ = function(p) return p; end;

name = _('M-2000');

Description = 'Right MFCD on the right and camera on the center'

 

Viewports =

{

Center =

{

x = 0;

y = 0;

width = 1920;

height = 1200;

viewDx = 0;

viewDy = 0;

aspect = 1.6;

}

}

 

--//////////////////////////////////////

-- Mirage 2000 =

--//////////////////////////////////////

Mirage_Radar =

{

x = 2200;

y = 40;

width = 600;

height = 600;

}

 

Mirage_RWR =

{

x = 2900;

y = 30 ;

width = 100;

height = 100;

}

 

UIMainView = Viewports.Center

 

My VTB_ini.lua

 

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

 

indicator_type = indicator_types.COMMON

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

 

VTB_PAGE_0 = 0

VTB_PAGE_1 = 1

VTB_PAGE_2 = 2

 

SRC_VTB_BASE = 0

SRC_VTB_0 = 1

SRC_VTB_1 = 2

SRC_VTB_2 = 3

 

 

local my_path = LockOn_Options.script_path.."VTB/"

 

page_subsets = {

[sRC_VTB_BASE] = my_path.."VTB_base.lua",

[sRC_VTB_0] = my_path.."VTB_page_0.lua",

[sRC_VTB_1] = my_path.."VTB_page_1.lua",

[sRC_VTB_2] = my_path.."VTB_page_2.lua",

}

 

----------------------

pages = {

[VTB_PAGE_0] = {SRC_VTB_BASE,SRC_VTB_0},

[VTB_PAGE_1] = {SRC_VTB_BASE,SRC_VTB_1},

[VTB_PAGE_2] = {SRC_VTB_BASE,SRC_VTB_2},

}

 

init_pageID = VTB_PAGE_0

 

used_render_mask = "interleave2.bmp" --default mask for TV

update_screenspace_diplacement(SelfWidth/SelfHeight,false)

 

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

try_find_assigned_viewport("Mirage_Radar")

 

And last, my RWR_init.lua

 

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

local my_path = LockOn_Options.script_path.."RWR/"

 

indicator_type = indicator_types.COMMON

 

PAGE_0 = 0

 

SRC_RWR_BASE = 0

SRC_RWR_0 = 1

 

page_subsets = {

[sRC_RWR_BASE] = my_path.."RWR_base.lua",

[sRC_RWR_0] = my_path.."RWR_page.lua",

}

 

pages = {

[PAGE_0] = {SRC_RWR_BASE,SRC_RWR_0},

}

init_pageID = PAGE_0

 

used_render_mask = "interleave2.bmp" --default mask for TV

 

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

try_find_assigned_viewport("Mirage_RWR")

 

BTW: The line on the VTB lua file

purposes = {render_purpose.GENERAL,render_purpose.HUD_ONLY_VI EW, render_purpose.SCREENSPACE_INSIDE_COCKPIT} I have tried this line with the remarks dashes and without and also erasing it completely and nada.

 

 

 

Can you see what is it that I am missing here?

 

Really appreciate it. :)

Since last update there is à command in game to let VTB come up. Check keyboard command.

 

Envoyé de mon SM-T800 en utilisant Tapatalk

sigpic55584_1.gif
Link to comment
Share on other sites

Since last update there is à command in game to let VTB come up. Check keyboard command.

 

Envoyé de mon SM-T800 en utilisant Tapatalk

 

Thanks so much, can't believe I missed that post. Now it is working. :thumbup:

Link to comment
Share on other sites

  • 4 weeks later...

Radar

 

I'm having the same problem, i got RWR working, but i can't get the radar to work?

I tried everything suggested in the posts, but it just wont work :(

Any help would be appreciated cause it's driving me nuts lol

 

This is my VTB_init file :

 

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

 

indicator_type = indicator_types.COMMON

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

 

VTB_PAGE_0 = 0

VTB_PAGE_1 = 1

VTB_PAGE_2 = 2

 

SRC_VTB_BASE = 0

SRC_VTB_0 = 1

SRC_VTB_1 = 2

SRC_VTB_2 = 3

 

 

local my_path = LockOn_Options.script_path.."VTB/"

 

page_subsets = {

[sRC_VTB_BASE] = my_path.."VTB_base.lua",

[sRC_VTB_0] = my_path.."VTB_page_0.lua",

[sRC_VTB_1] = my_path.."VTB_page_1.lua",

[sRC_VTB_2] = my_path.."VTB_page_2.lua",

}

 

----------------------

pages = {

[VTB_PAGE_0] = {SRC_VTB_BASE,SRC_VTB_0},

[VTB_PAGE_1] = {SRC_VTB_BASE,SRC_VTB_1},

[VTB_PAGE_2] = {SRC_VTB_BASE,SRC_VTB_2},

}

 

init_pageID = VTB_PAGE_0

 

used_render_mask = "interleave2.bmp" --default mask for TV

 

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

try_find_assigned_viewport("Mirage_RADAR")

Link to comment
Share on other sites

  • 3 weeks later...

I have same problem:huh:

Aircrafts: F-16C | TF-51 | M2000C | F/A-18C | AV-8B | Viggen | KA-50 | A-10C | UH-1 | Mi-8 |

Maps: Caucasus | Persian Gulf | NTTR | Normandy | Syria

System: AMD Ryzen 3700X | 32GB Ram | AMD Radeon RX 5700 XT | Win10 64Bit | 1TB 970 EVO M.2 SSD

Equipment: TrackIR 5_Trackclip Pro |TM Warthog HOTAS | Oculus Rift S

Link to comment
Share on other sites

In view optionen from the game? I don´t find Toggle VTB viewport.

Aircrafts: F-16C | TF-51 | M2000C | F/A-18C | AV-8B | Viggen | KA-50 | A-10C | UH-1 | Mi-8 |

Maps: Caucasus | Persian Gulf | NTTR | Normandy | Syria

System: AMD Ryzen 3700X | 32GB Ram | AMD Radeon RX 5700 XT | Win10 64Bit | 1TB 970 EVO M.2 SSD

Equipment: TrackIR 5_Trackclip Pro |TM Warthog HOTAS | Oculus Rift S

Link to comment
Share on other sites

In view optionen from the game? I don´t find Toggle VTB viewport.

In Mirage-2000C controls, "All", the exact name is "VTB Viewport ON/OFF", sorry about misleading you to look for "Toggle" :music_whistling::D


Edited by PiedDroit
Link to comment
Share on other sites

Thank´s for your support PiedDroit. I found it. :thumbup::thumbup::thumbup:

Aircrafts: F-16C | TF-51 | M2000C | F/A-18C | AV-8B | Viggen | KA-50 | A-10C | UH-1 | Mi-8 |

Maps: Caucasus | Persian Gulf | NTTR | Normandy | Syria

System: AMD Ryzen 3700X | 32GB Ram | AMD Radeon RX 5700 XT | Win10 64Bit | 1TB 970 EVO M.2 SSD

Equipment: TrackIR 5_Trackclip Pro |TM Warthog HOTAS | Oculus Rift S

Link to comment
Share on other sites

Hello guys ,

 

since last update , all my exports are down . only the Radar is visible , but i had to fix the position who has changed ...

 

is there some modifications to add to retrieve all my views ( RWR , COM , PCA , PPA ... )

new lines to add to .LUA ?

 

thank you !

[sIGPIC][/sIGPIC]

Ryzen 7950X / Z670E -  32Gb DDR5 6000CAS36 - 4070TI - ReverbG2 - Hotas Cougar FSSBR1

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 weeks later...
  • 1 month later...

Well guys, same situation here. The following setup with the addition dofile(LockOn_Options.common_script_path.."ViewportHandling.lua")

try_find_assigned_viewport("Mirage_Radar") to the VTB_ini.lua was working excellently earlier.

 

_ = function(p) return p; end;

name = _('M2000C');

Description = 'Mirage2000 + Radar'

 

primary =

{

x = 1280;

y = 0;

width = screen.width - 1280;

height = screen.height;

viewDx = 0;

viewDy = 0;

aspect = (screen.width - 1280) / screen.height ;

}

 

secondary =

{

x = 480;

y = 0;

width = 800;

height = 800/0.9;

}

 

third =

{

x = 0;

y = 0;

width = 800;

height = 800/0.9;

}

UIMainView = primary

Mirage_Radar = secondary

Mirage_RWR = third

Viewports = {UIMainView}

 

Unfortunately, now I can export only RWR. Radar is invisible. Fortunately, by accident I noticed that radar was finally appeared to the second monitor when I went to external view (F2 or F3) and disappear again when I go to cockpit view.

 

Any idea how to fix this. I hope that what I found it will help you.

  • Like 2

My Hardware: ROG Strix X570-F Gaming - AMD 5600X @ 4.7 ghz - G.SKILL TRIDENT 32GB DDR4 3200 (14-14-14-34 CL) - GigaByte 3080ti OC 12gb - Corsair MP600 Force 1TB - 2 x EVO Nvme 500GB - Virpil Warbird Base T-50CM2 and TM Throttle + Trackhat + G25 + AOC AG271QG 27"

My Modules: JF-17, F-16C, AV-8N/A, F-18C, ASJ37, MiG-15Bis, MiG-21Bis, Fw-190D, Bf-109K, P-51D, F-86F, Ka-50 III, UH-1H, Mi-8MTV2, NS430, FC3, A-10C, Mirage 2000C, L-39, F-5E-3, SA342, Spitfire, AH-64, Mirage F-1CE.

My Maps: Nevada, Normandy, Persian Gulf, Syria, South Atlantic.

Link to comment
Share on other sites

Well guys, same situation here. The following setup with the addition dofile(LockOn_Options.common_script_path.."ViewportHandling.lua")

try_find_assigned_viewport("Mirage_Radar") to the VTB_ini.lua was working excellently earlier. [..]

 

  1. Use the default VTB_init.lua
  2. Create a viewport named "RIGHT_MFCD" in your monitor.lua
  3. map "VTB Viewport ON/OFF" in config/controls in order to see the VTB export while in cockpit.

Alternatively, name your viewport "VTB" and in VTB_init.lua, change the following line only:

try_find_assigned_viewport("RIGHT_MFCD")

to

try_find_assigned_viewport("VTB","RIGHT_MFCD")

  • Like 2
Link to comment
Share on other sites

Dear PiedDroit,

How can I map "VTB Viewport ON/OFF" in config/controls in order to see the VTB export while in cockpit?

I assess that this is the only problem, cause cockpit is exported when i select F2 or F3 views (outside cockpit).

 

Dear Gliptal

 

The above setup exports successfuly RWR, just locate RWR_init.lua in

C:\Program Files\Eagle Dynamics\DCS World\Mods\aircraft\M-2000C\Cockpit\RWR and add the following lines

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

try_find_assigned_viewport("Mirage_RWR")

 

Be advised that there is no space between the letters t and H in "ViewportHandling.lua".

My Hardware: ROG Strix X570-F Gaming - AMD 5600X @ 4.7 ghz - G.SKILL TRIDENT 32GB DDR4 3200 (14-14-14-34 CL) - GigaByte 3080ti OC 12gb - Corsair MP600 Force 1TB - 2 x EVO Nvme 500GB - Virpil Warbird Base T-50CM2 and TM Throttle + Trackhat + G25 + AOC AG271QG 27"

My Modules: JF-17, F-16C, AV-8N/A, F-18C, ASJ37, MiG-15Bis, MiG-21Bis, Fw-190D, Bf-109K, P-51D, F-86F, Ka-50 III, UH-1H, Mi-8MTV2, NS430, FC3, A-10C, Mirage 2000C, L-39, F-5E-3, SA342, Spitfire, AH-64, Mirage F-1CE.

My Maps: Nevada, Normandy, Persian Gulf, Syria, South Atlantic.

Link to comment
Share on other sites

Dear PiedDroit,

How can I map "VTB Viewport ON/OFF" in config/controls in order to see the VTB export while in cockpit?

I assess that this is the only problem, cause cockpit is exported when i select F2 or F3 views (outside cockpit).

Hi Panthir,

This one is tricky as a while ago the export VTB_init.lua was fixed, allowing export without changes in the file (except maybe the name of the viewport which I indicated above, if you want more flexibility).

 

Also the VTB was made toggleable, however it is hidden by default in the cockpit and always visible in F2 views (which is kind of a bug and already reported, it's very confusing).

The mapping in is controls, see picture.

 

Once you mapped it, pressing the key will make the VTB visible while in cockpit.

 

Guys at RAZBAM know about it and many have requested that the VTB be ON by default.

P

VTB_Viewport_ON-OFF.png.93923061f800dffa1ee3b31e2d2607aa.png


Edited by PiedDroit
Link to comment
Share on other sites

Dear PiedDroit,

How can I map "VTB Viewport ON/OFF" in config/controls in order to see the VTB export while in cockpit?

I assess that this is the only problem, cause cockpit is exported when i select F2 or F3 views (outside cockpit).

 

Dear Gliptal

 

The above setup exports successfuly RWR, just locate RWR_init.lua in

C:\Program Files\Eagle Dynamics\DCS World\Mods\aircraft\M-2000C\Cockpit\RWR and add the following lines

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

try_find_assigned_viewport("Mirage_RWR")

 

Be advised that there is no space between the letters t and H in "ViewportHandling.lua".

Thanks, I somehow had forgotten the dofile() line previously.
Link to comment
Share on other sites

  • 4 weeks later...

Many Thanks

My Hardware: ROG Strix X570-F Gaming - AMD 5600X @ 4.7 ghz - G.SKILL TRIDENT 32GB DDR4 3200 (14-14-14-34 CL) - GigaByte 3080ti OC 12gb - Corsair MP600 Force 1TB - 2 x EVO Nvme 500GB - Virpil Warbird Base T-50CM2 and TM Throttle + Trackhat + G25 + AOC AG271QG 27"

My Modules: JF-17, F-16C, AV-8N/A, F-18C, ASJ37, MiG-15Bis, MiG-21Bis, Fw-190D, Bf-109K, P-51D, F-86F, Ka-50 III, UH-1H, Mi-8MTV2, NS430, FC3, A-10C, Mirage 2000C, L-39, F-5E-3, SA342, Spitfire, AH-64, Mirage F-1CE.

My Maps: Nevada, Normandy, Persian Gulf, Syria, South Atlantic.

Link to comment
Share on other sites

  • 3 weeks later...

Why does the VTB export viewport have a key to toggle it on/off? I have lot's of viewports for many aircraft and none of them do it this way. This is strange..

Intel I9-10850K (OC @ 5.0ghz) │ Asus Maximus XII Hero │ G.Skill Ripjaws 64GB (4x16GB) DDR4 3200 │ Thermaltake Water 360mm
Gigabyte RTX 4090 Gaming OC 24gb │ 2TB M.2 EVO Pro; 1T M.2 EVO; Sandisk SSD Drives │ 49" Samsung Curved Widescreen │ 28" Touchscreen

- ҉ - Blackshark Cockpit Trainer - ҉ -    Thread   | Download

Link to comment
Share on other sites

Yes, agreed!

Intel I9-10850K (OC @ 5.0ghz) │ Asus Maximus XII Hero │ G.Skill Ripjaws 64GB (4x16GB) DDR4 3200 │ Thermaltake Water 360mm
Gigabyte RTX 4090 Gaming OC 24gb │ 2TB M.2 EVO Pro; 1T M.2 EVO; Sandisk SSD Drives │ 49" Samsung Curved Widescreen │ 28" Touchscreen

- ҉ - Blackshark Cockpit Trainer - ҉ -    Thread   | Download

Link to comment
Share on other sites

  • Recently Browsing   0 members

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