Jump to content

Recommended Posts

Posted (edited)

Guy, I am trying to get the RWR to display on a small screen, but for some reason any .LUA file I modify and save to the directory simply fails to appear in the drop down menu of available files.

 

I'm using notepad++ to modify them, and yesterday I could add them and they would appear, today... nothing. Is it possible I have inadvertently changed a setting somewhere, or are there characters that cannot be used?

 

Here's the code I am using

 

_  = function(p) return p; end;
name = _('CameraOnescreenother');
Description = 'Center screen and RWR on right'
Viewports =
{
    Center =
    {
         x = 0;
         y = 0;
         width = 2560;
         height = 1080;
         viewDx = 0;
         viewDy = 0;
         aspect = 2.37037037;
    }
}

RWR_SCREEN =
{
	x = screen.width 2570;
	y = screen.height 0;
	width = 610;
	height = 610;
}



UIMainView = Viewports.Center
GU_MAIN_VIEWPORT = Viewports.Center

 

I am saving it as Camera_for_single_screen_other.lua

 

what am I doing wrong?

 

 

Cheers

 

Les

Edited by lesthegrngo
Posted
Guy, I am trying to get the RWR to display on a small screen, but for some reason any .LUA file I modify and save to the directory simply fails to appear in the drop down menu of available files.

 

I'm using notepad++ to modify them, and yesterday I could add them and they would appear, today... nothing. Is it possible I have inadvertently changed a setting somewhere, or are there characters that cannot be used?

 

Here's the code I am using

 

_  = function(p) return p; end;
name = _('CameraOnescreenother');
Description = 'Center screen and RWR on right'
Viewports =
{
    Center =
    {
         x = 0;
         y = 0;
         width = 2560;
         height = 1080;
         viewDx = 0;
         viewDy = 0;
         aspect = 2.37037037;
    }
}

RWR_SCREEN =
   {
       x = screen.width 2570;
       y = screen.height 0;
       width = 610;
       height = 610;
   }



UIMainView = Viewports.Center
GU_MAIN_VIEWPORT = Viewports.Center

I am saving it as Camera_for_single_screen_other.lua

 

what am I doing wrong?

 

 

Cheers

 

Les

 

 

When it doesn't show up, it's due to a typo. Which you have, two missing commas and a misplaced bracket.

 

 

_ = function(p) return p; end;

name = _('CameraOnescreenother');

Description = 'Center screen and RWR on right'

Viewports =

{

Center =

{

x = 0;

y = 0;

width = 2560;

height = 1080;

viewDx = 0;

viewDy = 0;

aspect = 2.37037037;

},

 

/* removed a bracket from here and added it at the bottom */

 

RWR_SCREEN =

{

x = screen.width 2570;

y = screen.height 0;

width = 610;

height = 610;

},

}

hsb

HW Spec in Spoiler

---

 

i7-10700K Direct-To-Die/OC'ed to 5.1GHz, MSI Z490 MB, 32GB DDR4 3200MHz, EVGA 2080 Ti FTW3, NVMe+SSD, Win 10 x64 Pro, MFG, Warthog, TM MFDs, Komodo Huey set, Rverbe G1

 

Posted

I try to avoid such typos as I use an advanced editing program. My favorit here is notepad+

It shows (just for instance) if brackets arn't closed or too much.

 

BTW: It's free. :)

Manual for my version of RS485-Hardware, contact: tekkx@dresi.de

Please do not PM me with DCS-BIOS-related questions. If the answer might also be useful to someone else, it belongs in a public thread where it can be discovered by everyone using the search function. Thank You.

Posted (edited)

Thanks Tekkx, I was using notepad++ as it was recommended in the tutorial. I can now get the options screen to show my modified .LUA file

 

However that doesn't appear to have cured it. Essentially I am using the basic tutorial on Helios to try and get the RWR to show. I have edited the AN_ALR69V_init.lua file to tell it to try and find the ED_A10C_RWR viewport plus the common viewport handling .lua. The MonitorSetup.LUA file references the ED_A10C_RWR and puts it to the right of the main screen, but nothing is showing.

 

Still ploughing through it, I know an error in placement can throw it all, but so far no joy.

 

If there is a more up to date tutorial on how to display the RWR I would love to take a look

 

Cheers

 

Les

Edited by lesthegrngo
Posted (edited)

Resolved this, redefining the desktop allowed me to get this done

 

Thanks for the help guys, but again I need a bit of help understanding why the taskbar is appearing on some of the monitors but not others in game. Is there any way to make the taskbar invisible in game?

 

Les

Edited by lesthegrngo
Posted
Resolved this, redefining the desktop allowed me to get this done

 

Thanks for the help guys, but again I need a bit of help understanding why the taskbar is appearing on some of the monitors but not others in game. Is there any way to make the taskbar invisible in game?

 

Les

 

 

Just as a sanity check, follow the concepts that I wrote about here:

 

https://forums.eagle.ru/showpost.php?p=2616874&postcount=799

 

How you define windows monitor setup makes a big difference. Also, there are optimization techniques like stretching it more to right that putting it below like I did. But I never had an issue when I used to fly with this setup.

hsb

HW Spec in Spoiler

---

 

i7-10700K Direct-To-Die/OC'ed to 5.1GHz, MSI Z490 MB, 32GB DDR4 3200MHz, EVGA 2080 Ti FTW3, NVMe+SSD, Win 10 x64 Pro, MFG, Warthog, TM MFDs, Komodo Huey set, Rverbe G1

 

Posted

Thanks, will take a look when I get back

 

If it's a question of just extending the effective desktop in MonitoSetup.lua, I think I get it. I'm a bit puzzled as to why it appears on only one of two that are at the 'bottom' of the desktop, but hey, puzzled seems to be my default state of being these days!

 

Thanks again for the help

 

Les

  • 2 years later...
Posted

I'm having the same problem, can someone let me know where I have a typo here? It's my first time ever doing anything like this Main monitor and 2 MFDs:

 

_  = function(p) return p; end;
name = _('MFD Try');
Description = 'Main Screen and L-R MFDs'
Viewports =
{
  Center =
    {
         x = 0;
         y = 0;
         width = 3440;
         height = 1440;
         viewDx = 0;
         viewDy = 0;
         aspect = 3400 / 1440;
    }
    
},

Gui =
{
   x = 0;
   y = 0;
   width = 3440;
   height = 1440;
},

LEFT_MFCD =
{
   x = 3440;
   y = 0;
   width = 800;
   height = 600;
},
                   
RIGHT_MFCD =
{
   x = 4240
   y = 0;
   width = 800;
   height = 600;
},

UIMainView = Gui

 

 

  • Recently Browsing   0 members

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