Jump to content

A-10C, Exporting ADI, HSI and RWR


Recommended Posts

Hi guys,

 

I am having a hard time figuring out what to do in order to export the ADI, RWR and HSI of the A-10C.

 

I am mostly a A-10C and Hornet driver.

I have a big screen for the sim and a small 20" screen in front of it (Glued on Cougars..) for my exports.

The F/A-18 exports work fine (way too dark, but that's a different issue) but the A-10C is limited to the MFCDs which is..not enough ;)

 

my monitor.lua looks like that

 

 

_ = function(p) return p; end;

name = _('2monitors_horiz');

Description = '2Monitors all mfcds on right one'

Viewports =

{

Center =

{

x = 0;

y = 0;

width = 3840;

height = 2160;

viewDx = 0;

viewDy = 0;

aspect = 1.7;

}

}

 

--A-10C

LEFT_MFCD =

{

x = 3840;

y = 0;

width = 420;

height = 420;

}

 

RIGHT_MFCD =

{

x = 5025;

y = 0;

width = 420;

height = 420;

}

 

RWR_SCREEN =

{

x = 3840;

y = 980;

width = 420;

height = 420;

}

 

ADI =

{

x = 4425;

y = 790;

width = 420;

height = 420;

}

--F/A-18C

 

--LEFT

F18_LEFT =

{

x = 3840;

y = 0;

width = 420;

height = 420;

}

 

--UFC

F18_UFC =

{

x = 4250;

y = 25;

width = 380;

height = 216;

}

 

--RIGHT

F18_RIGHT =

{

x = 5035;

y = 0;

width = 410;

height = 410;

}

 

--AMPCD

F18_AMPCD =

{

x = 4425;

y = 790;

width = 420;

height = 420;

}

 

 

-- RWR

F18_RWR =

{

x = 5200;

y = 960;

width = 240;

height = 240;

}

 

--IFEI

F18_IFEI =

{

x = 3840;

y = 790;

width = 430;

height = 167;

}

 

--GUI/menu

GUI = {

x = 0;

y = 0;

width = 3840;

height = 2160;

}

 

UIMainView = GUI

 

 

 

 

any clue how to add the missing instruments?

 

Cheers

 

Khegrow

Link to comment
Share on other sites

  • 6 months later...

The config looks ok, but you need to edit some lua files to get these extra doodads to actually export.

Look in DCS World Install folder for Mods/aircraft/A-10C/Cockpit/scripts/

You will see folders for AN_ALR69V, CDU, CMSC,CMSP,DigitalClock,MFCDx,UHFRadio etc

 

AN_ALR69V as an example

Add the following red text at the top of the /Indicator/AN_ALR69V_init.ua file:-

 

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

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

indicator_type = indicator_types.COMMON

purposes = {render_purpose.GENERAL}

update_screenspace_diplacement(1,0,0)

try_find_assigned_viewport("ED_A10C_RWR","RWR_SCREEN")

----------------------

rwr_symbols_bound = 0.027 -- coeff to limit indication on RWR when symbol can't be place on RWR entirely

-------PAGE IDs-------

Do the same for the other files mentioned, but change the names being exported to the desired instrument thus:-

 

try_find_assigned_viewport("ED_A10C_CDU","CDU_SCREEN")

try_find_assigned_viewport("ED_A10C_CMSC","CMSC_SCREEN")

try_find_assigned_viewport("ED_A10C_CMSP","CMS_SCREEN")

try_find_assigned_viewport("ED_A10C_CLOCK","CLOCK_SCREEN")

 

And so on...

Ideally, you should use OvGME or similar to do this as a Mod rather than manually editing the files each time there is an update.

Link to comment
Share on other sites

  • 1 month later...

Anyone had any luck exporting CMSP and CMSC on the new cockpit? No problem with RWR but CMS aren't exporting.

 

Edit: fixed, the try_find_assigned_viewport lines should be the last line of the file.


Edited by The LT
  • Like 1

My controls & seat

 

Main controls: , BRD-N v4 Flightstick (Kreml C5 controller), TM Warthog Throttle (Kreml F3 controller), BRD-F2 Restyling Bf-109 Pedals w. damper, TrackIR5, Gametrix KW-908 (integrated into RAV4 seat)

Stick grips:

Thrustmaster Warthog

Thrustmaster Cougar (x2)

Thrustmaster F-16 FLCS

BRD KG13

 

Standby controls:

BRD-M2 Mi-8 Pedals (Ruddermaster controller)

BRD-N v3 Flightstick w. exch. grip upgrade (Kreml C5 controller)

Thrustmaster Cougar Throttle

Pilot seat

 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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