Jump to content

Recommended Posts

Posted

Since last night's update I noticed that radar display gets exported to second monitor (I already have configuration in place for all other modules) but it is displayed only in external F2 view?!?

 

Anyone else having experience with this?

Outta missiles, outta bullets, down to harsh language...

Posted

There is a "VTB Viewport ON/OFF" option that you can use to display the radar inside the cockpit. You need to bind a key to it.

"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning."

"The three most dangerous things in the world are a programmer with a soldering iron, a hardware type with a program patch and a user with an idea."

Posted
FFS.

Doesnt work for me either.

I can no longer get the radar on my 3rd monitor. Was working fine before the update using LUA file in monitorconfig

 

SD

What is your method for getting VTB on secondary screen?

This has changed recently, you should now let core files (VTB*.lua) untouched and instead add a RIGHT_MFCD viewport in your monitor lua.

Posted
OK I figured out the Radar Export. how do I do the RWR?
Can you share how you fixed the issue? This kind of info is always valuable :thumbup:

I don't know how to export the RWR sorry

Posted

Ok I have both working now.

 

I already had a monitor config file in

..\DCSworld 2 OpenAlpha\config\MonitorSetup\

called Mirage-2000C.lua which was working before the update.

this is what the file contains

 

_ = function(p) return p; end;

name = _('Mirage-2000C');

Description = 'Mirage-2000C'

 

Viewports =

{

Center =

{

x = 0;

y = 0;

 

width = 1920;

height = 1080;

viewDx = 0;

viewDy = 0;

aspect = screen.aspect;

}

}

 

Mirage_Radar =

{

x = 3840;

y = 0;

width = 600;

height = 500;

}

 

Mirage_RWR =

{

x = 4640;

y = 0;

width = 600 ;

height = 500;

}

 

UIMainView = Viewports.Center

 

So I went into the VTB_init.lua file and changed the last line to this.

 

try_find_assigned_viewport("Mirage_Radar") to correspond with the monitor lua

 

I then went started DCS world and entered a key for the new command "VTB On/Off" and the Radar worked.

 

To get the RWR working I opened the RWR_init.lua file which resides in

 

..\DSCWorld 2 OpenAlpha\Mods\aircraft\M-200C\Cockpit\RWR\

 

I then added the following 2 lines to the end of the file

 

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

try_find_assigned_viewport("Mirage_RWR")

 

This now works but the RWR in always on it doesn't toggle with the radar.

 

But then I would prefer it if both were always on anyway.

 

hope this helps

 

SD

[sIGPIC]sigpic55726_5.gif[/sIGPIC]

Posted

Just as an aside to this.

 

Is it possible to have a one size fits all Monitor config file?

As it stands now I have a different monitor config for each different aircraft. is it possible to have just 1 monitor config file containing exports for all aircraft?

 

Cheers

SD

[sIGPIC]sigpic55726_5.gif[/sIGPIC]

Posted
Just as an aside to this.

 

Is it possible to have a one size fits all Monitor config file?

As it stands now I have a different monitor config for each different aircraft. is it possible to have just 1 monitor config file containing exports for all aircraft?

 

Cheers

SD

Thanks for the config file.

To answer your question, yes, you can have a one size fits all.

Just put all your viewports in there.

The only condition is that the names of different viewports don't collide.

For this reason I suggested Zeus67 to use try_find_assigned_viewport("VTB","RIGHT_MFCD") instead of just try_find_assigned_viewport("RIGHT_MFCD") in VTB_init.lua (it will look first for viewport "VTB" and if not found, will use viewport "RIGHT_MFCD").

  • Recently Browsing   0 members

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