Jump to content

Recommended Posts

Posted

Looking to do tutorial missions that highlight features in the cockpit (starting with Su-25T)

 

The mission Editor has

X: COCKPIT HIGHLIGHT ELEMENTS()

 

The DCS User Manual EN.pdf lists devices and elements

Scripts\Aircrafts\Aircraft Name\Cockpit\device_init.lua

Scripts\Aircrafts\Aircraft Name\Cockpit\mainpanel_init.lua.

 

Where would I find these or find the Element ID's

ZoomBoy

My Flight Sims Page

- Link to My Blog - Sims and Things - DCS Stuff++

- Up-to-Speed Guides to the old Lockon A10A and Su-25T

- Some missions [needs update]

Posted

The manual is a bit old regarding pathing of things.

 

I'm not sure about the 25T as it's a bit of a special case, but for all the ones with clickable pits, look for "devices.lua" in at the following path:

 

(This example is for the P51).

\Eagle Dynamics\DCS World\Mods\aircraft\P-51D\Cockpit\Scripts

Some of them are little macros like the P51D, where their id just increments.

Others like the KA-50 have explicit id's assigned to certin devices.

Posted
The manual is a bit old regarding pathing of things.

 

I'm not sure about the 25T as it's a bit of a special case, but for all the ones with clickable pits, look for "devices.lua" in at the following path:

 

(This example is for the P51).

\Eagle Dynamics\DCS World\Mods\aircraft\P-51D\Cockpit\Scripts

Some of them are little macros like the P51D, where their id just increments.

Others like the KA-50 have explicit id's assigned to certain devices.

 

Checked it out for the A-10C

 

Found devices.lua in

C:\Program Files\Eagle Dynamics\DCS World\Mods\aircrafts\A-10C\Cockpit\Scripts

 

It has in it

devices = {}
devices["ELEC_INTERFACE"]			= counter()--1
devices["MFCD_LEFT"]				= counter()--2
devices["MFCD_RIGHT"]				= counter()--3
devices["CMSP"]						= counter()--4
devices["CMSC"]						= counter()--5
devices["JAMMERS_INTERFACE"]		= counter()--6
devices["AHCP"]						= counter()--7
devices["UFC"]						= counter()--8
devices["CDU"]						= counter()--9

 

So that seems like a place to start. I can test in a A-10C mission.

 

This is better:

Just took a look at a A-10C training mission. It does use X: COCKPIT HIGHLIGHT ELEMENT1,(PNT-BTN-MFD-L-15,0) and it uses clickabledata.lua

 

The TF-51D seems to have the same structure

 

But maybe the Su-25T does not have that. Checked a few Su-25T training missions. Do not see any command X: COCKPIT HIGHLIGHT ELEMENT()

 

hmmm....

ZoomBoy

My Flight Sims Page

- Link to My Blog - Sims and Things - DCS Stuff++

- Up-to-Speed Guides to the old Lockon A10A and Su-25T

- Some missions [needs update]

Posted
Ian;2198534']I guess that because the Su-25T does not have a clickable cockpit' date=' there is nothing to highlight.[/quote']

 

Ya, I'm so used to the clickable Ka-50 and have my Su-25T key-mapped to perfection, I kinda missed the obvious. D'oh :doh:

 

It would still have been cool if the Su-25T had something like it.

ZoomBoy

My Flight Sims Page

- Link to My Blog - Sims and Things - DCS Stuff++

- Up-to-Speed Guides to the old Lockon A10A and Su-25T

- Some missions [needs update]

  • Recently Browsing   0 members

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