Jump to content

Recommended Posts

Posted (edited)

Hello Gentlemen

 

I wrote some lines to create Backgrounds for exported indicators which are useful if you have to render them on top of your camera views for any reasons.

Either bc your layout has 3 main screens with outta ones in portrait mode and your front panel in between or bc you like to have the instruments fix on your main screen for some reasons.

 

It simply creates a black polygon in the cockpit and lays the indicator on top.

So far I couldn't see any fps drop but why would there be since its just a polygon :)

Just in case I pushed the polygon into the front panel so it is invisible anyways but still gets exported as static BG for your indicator.

 

So far I did only the two most common front panel indicators for the A10C: RWR and CMSC.

 

They do not all work the same way or with the same code bc they work in different scales and with different lua references etc.

And since my time is limited and I don't even know if anyone is interested I suggest you test these two and just post here if you have the wish for another one.

I'll try to take care of it then.

 

For CMSC backup&replace:

...\Program Files\Eagle Dynamics\DCS World\Mods\aircrafts\A-10C\Cockpit\Scripts\CMSC\indicator\CMSC_page.lua

For RWR (AN_ALR69V) backup&replace:

...\Program Files\Eagle Dynamics\DCS World\Mods\aircrafts\A-10C\Cockpit\Scripts\AN_ALR69V\indicator\

 

AN_ALR69V_init.lua

 

AN_ALR69V_MAIN_page.lua

 

AN_ALR69V_BIT_page.lua

 

AN_ALR69V_COMMON_page.lua

Consider the AN_ALR69V_init as export ready as well.

 

See icemaker's thread about how to switch off MFDs etc. in 3D pit --> http://forums.eagle.ru/showthread.php?t=70716&highlight=export+indicators

 

To change size of polygon for RWR you need to update the coordinates of vertices for

MAIN, BIT and COMMON equally! see comments in lua files

I might write some master function for that sometime but on the other hand this is something you set one time only anyways.

 

Not everybody feels comfortable with editing lua.

So let me know in case you have any problems or questions.

 

 

Have fun!

AN_ALR69V_BG.zip

CMSC_BG.zip

Edited by Weltensegler

4790K@4,6Ghz | EVGA Z97 Classified | 32GB @ 2400Mhz | Titan X hydro copper| SSD 850 PRO

____________________________________

Moments in DCS:

--> https://www.youtube.com/user/weltensegLA

-->

 

WELD's cockpit: --> http://forums.eagle.ru/showthread.php?t=92274

  • 7 months later...
Posted

Great stuff, I am using 5 monitors and just badly needed this mod.

I will try to do backgrounds for all the other exports based on how you did.

Thank you Weltensegler!:beer:

Posted (edited)

Glad to hear that Sorin!

As I said they don't all work the same way.

Some have roots in a bunch of reference files or you have to add the function in every mode the RWR (example) can be in.

And test ur performance after the most important ones.

The backgrounds don't cost performance but each new indicator you export.

I export only these too for that reason.

(see my cockpit) link.

Good luck!

 

@David Wong: sorry I don't really understand your problem. :(

Can try again in different words?

Edited by Weltensegler

4790K@4,6Ghz | EVGA Z97 Classified | 32GB @ 2400Mhz | Titan X hydro copper| SSD 850 PRO

____________________________________

Moments in DCS:

--> https://www.youtube.com/user/weltensegLA

-->

 

WELD's cockpit: --> http://forums.eagle.ru/showthread.php?t=92274

Posted

I have done all the other exports with background as per Weltensegler's method. If anybody needs them please let me know.

 

Thanks again Weltensegler.

Posted

Please find attached the files for all exports with background.

They have to be placed in C:\Program Files\Eagle Dynamics\DCS World\Mods\aircrafts\A-10C\Cockpit\Scripts (make sure you backup your original files).

These are only the .lua scripts that were modified to show a black background under the original export (as per Weltensegler's method). The exports itself are done with the known method, very well explained in this forum.

Scripts.zip

  • Like 1
Posted

It does not drop FPS more than 2-3 on my system.

Well worth it because it gives me a full cockpit while I keep all of the view outside area.

  • 2 months later...
  • Recently Browsing   0 members

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