Jump to content

Background for indicator exports


Recommended Posts

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

Link to comment
Share on other sites

  • 7 months later...

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

Link to comment
Share on other sites

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
Link to comment
Share on other sites

Can you confirm that even with this many it doesn't decrease fps/performance?

Cool effort! :thumbup:

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

Link to comment
Share on other sites

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

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