Jump to content

IFEI and analog instruments export for monitors


Recommended Posts

Posted (edited)

Hi,

does anyone have a complete list with viewports for the F/A-18C ?

My LEFT_MFCD and RIGHT_MFCD working fine, but I can't get the IFEI running...
(and I want export my analog instruments to another monitor until I've build the analog instruments as hardware-instruments with servos).

The IFEI screen remains black.
 my .lua looks like this:

I guess the name of the IFEI-viewport is wrong, I've tried "IFEI" and "F18_IFEI", both seem not to work.
Any help appreciated, please do not recommend Helios or other stuff, as I don't want use additional programs.

 

_  = function(p) return p; end;
name = _('PURZEL');
Description = 'Mainscreen +2 MFCDs + IFEI =4320x1080'
Viewports =
{
     Center =
     {
          x = 0;
          y = 0;
          width = 1920;
          height = 1080;
          viewDx = 0;
          viewDy = 0;
          aspect = 1920/1080;
     }
}

Gui =
{
	x = 0;
	y = 0;
	width = 1920;
	height = 1080;
	}
UIMainView = Gui

LEFT_MFCD =
{
	x = 1940;
	y = 40;
	width = 700;
	height = 700;
	}

	RIGHT_MFCD =
{
	x = 2700;
	y = 50;
	width = 700;
	height = 700;
	}
	
	F18_IFEI =
{
	x = 3520;
	y = 50;
	width = 800;
	height = 600;
	}

 

Edited by Purzel
Posted (edited)

image.png

LOOKS GOOD.

how looks your "IFEI_init.lua" ?

You need to add this:

------------------------ added by Capt Zeen
 dofile(LockOn_Options.common_script_path.."ViewportHandling.lua")
 try_find_assigned_viewport("F18_IFEI")
------------------------ end of added by Capt Zeen

 

.... and after each update ....

Edited by Mapi
  • Like 1
Posted

as Mapi rightly said you have to add a string of code at the end to the IFEI_init.lua file.
Like this:

IFEI_init.lua

find it here:

C:\Eagle Dynamics\DCS World\Mods\aircraft\FA-18C\Cockpit\Scripts\IFEI\indicator

you have to overwrite it at each update otherwise it will return as before

for the other instruments I don't know where to find them, I asked the same question too but no one answered me

 

  • Like 1
  • 1 month later...
Posted (edited)

Related - has someone created a tool that you can put your LUA edits into and then restore them all with a click after an update? If no such thing exists then I might have to make one...

My list of edits is growing and it's becoming increasingly troublesome.

Edited by Scott-S6
Posted
2 hours ago, Scott-S6 said:

Related - has someone created a tool that you can put your LUA edits into and then restore them all with a click after an update? If no such thing exists then I might have to make one...

My list of edits is growing and it's becoming increasingly troublesome.

 

Yes, pretty much any mod manager. I use Open Mod Manager, OvGME's successor. 

Cheers! 

  • Thanks 1
Posted
4 hours ago, MAXsenna said:

Yes, pretty much any mod manager. I use Open Mod Manager, OvGME's successor. 

Cheers! 

As far as I can see it just adds/replaces files with other files? Just like other mod managers.

So if the LUA file is changed by ED it'll replace it with the old version instead of adding the text I want back into the new file. Not really a solution.

Posted
As far as I can see it just adds/replaces files with other files? Just like other mod managers.
So if the LUA file is changed by ED it'll replace it with the old version instead of adding the text I want back into the new file. Not really a solution.
Ah, I see. You mean like a text injector.
Look up Quaggles and his Input Command Injector. Maybe it can be tweaked to your needs.

Sent from my MAR-LX1A using Tapatalk

  • Thanks 1
Posted
31 minutes ago, MAXsenna said:

Ah, I see. You mean like a text injector.
Look up Quaggles and his Input Command Injector. Maybe it can be tweaked to your needs.

Sent from my MAR-LX1A using Tapatalk
 

Yep, that solves the problem for keybinds. I guess I'll need to make something for instrument exports...

  • Like 1
  • Recently Browsing   0 members

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