Jump to content

AH64 Cocpit Arguments/Parameters


Go to solution Solved by Rudel_chw,

Recommended Posts

Posted

I've run into a snag working on a custom mission, I'm trying to find the specific arg/param that identifies WHICH radio is selected for the AH64. I've managed to figure out which radio FREQ is selected on the various radios using Parameters, and I've found the WCA switch in Arguments, but cannot find how to identify which radio is selected.

Any help would be appreciated, thanks in advance.

  • Solution
Posted
On 7/21/2024 at 11:42 PM, OnkelFester said:

cannot find how to identify which radio is selected.

Any help would be appreciated

 

Hi,

maybe you can read the radio status on the UFCP, using the X:COCKPIT INDICATION TEXT trigger ... but this only works on Single Player:

 

J6bmHBF.jpg

 

These are the Element Names needed:

 

vrFDNTq.jpg

 

The values used on the Rts Indicators are "<" "=" and ">"   ... here is a sample mission:

 

AH64 - test arguments.miz

  • Like 1
  • Thanks 1

 

For work: iMac mid-2010 of 27" - Core i7 870 - 6 GB DDR3 1333 MHz - ATI HD5670 - SSD 256 GB - HDD 2 TB - macOS High Sierra

For Gaming: 34" Monitor - Ryzen 3600 - 32 GB DDR4 2400 - nVidia RTX2080 - SSD 1.25 TB - HDD 10 TB - Win10 Pro - TM HOTAS Cougar

Mobile: iPad Pro 12.9" of 256 GB

Posted

Thanks, this is exactly what I was looking for. And yes, this is for a single player "campaign" style mission, where I'm scripting and voice acting the radio's/atc stuff.

One note, On my mission, indicator ID 17 didn't work. However, 18 did. I didn't test your mission because I got mine to work with 18, so not sure what happened there. Is there a list of what text is which indicator ID?

  • Like 1
Posted
45 minutes ago, OnkelFester said:

One note, On my mission, indicator ID 17 didn't work. However, 18 did. I didn't test your mission because I got mine to work with 18, so not sure what happened there.

 

I get these arguments by using the LUA Console of the DCS-BIOS software, but sadly this Console does not work anymore on the latest DCS 2.9.6 .... so I have two instances of DCS installed on my PC, one with 2.9.5 and the other with the latest DCS.

 

So, I got the 17 when running on DCS 2.9.5 .. it is entirely possible that the newest version of the Apache has added a new device before #17, shifting all remaining devices one position down on the device list.

 

45 minutes ago, OnkelFester said:

Is there a list of what text is which indicator ID?

 

I don't know, I got the number just by successively querying the Console, with this command:

 

  • Get a list of indications for the “X: COCKPIT INDICATION IS EQUAL TO” condition:

    return list_indication(n)
    -- n = device ID, see mods/aircraft/.../Scripts/devices.lua

 

For work: iMac mid-2010 of 27" - Core i7 870 - 6 GB DDR3 1333 MHz - ATI HD5670 - SSD 256 GB - HDD 2 TB - macOS High Sierra

For Gaming: 34" Monitor - Ryzen 3600 - 32 GB DDR4 2400 - nVidia RTX2080 - SSD 1.25 TB - HDD 10 TB - Win10 Pro - TM HOTAS Cougar

Mobile: iPad Pro 12.9" of 256 GB

  • Recently Browsing   0 members

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