Jump to content

Recommended Posts

Posted (edited)

Hi,
does anyone happen to know the cockpit params to check, if a specified radio frequency is set?
The common COMM1_FREQ and COMM2_FREQ do not work.

Edited by Don Rudi
Made the title clearer
  • Like 1

Modules/maps: all, except for the Dora

My missions: https://www.digitalcombatsimulator.com/en/files/filter/user-is-Don rudi/apply/

Primary system: i7-13700k, RTX 4080, 32 GB, Win 11, Virpil WarBRD + Constellation Alpha with 5cm extension, Virpil CM2 throttle, Virpil Ace Interceptor pedals, Virpil Rotor TCS base + Blackshark grip, Winwing Triple MFD and ICP, Virpil panel 3, 34" UWHQD screen
Secondary system: Acer Nitro 5, i7-12700h, RTX 4060, 32 GB, Win 11, Virpil Rotor TCS base + Blackhawk grip, Virpil Ace Torq pedals, WinWing Viper Ace EXII stick, WinWing Strike Ace EXII throttle, WinWing PTO 2 panel 34" UWHQD screen

Posted
On 7/28/2022 at 9:06 AM, Don Rudi said:

Hi,
does anyone happen to know the cockpit params to check, if a specified radio frequency is set?
The common COMM1_FREQ and COMM2_FREQ do not work.

Hi,

You need to map:
> U + V pushbutton - PUSH
> U pushbutton - PUSH
> Communication Menu

You first use the pushbutton to select the radio you want to use on the SIB box (that's the panel with all volume controls on the left side), and then use Communication Menu to call it on the proper radio. This is how you can use AI com radio.

It may sound weird, but on the real aircraft you would do the same, you only have one push to talk (PTT) button on the stick to talk on both radios.
Within DCS, that "Communication Menu" button which sounds like an "easy communication " option actually does the trick realistically.

There is a PTT command within DCS control, I suppose this is for SRS or DCS VoIP ?

Mirage fanatic !

I7-7700K/ MSI RTX3080/ RAM 64 Go/ SSD / TM Hornet stick-Virpil WarBRD + Virpil CM3 Throttle + MFG Crosswind + Reverb G2.

Flickr gallery: https://www.flickr.com/gp/71068385@N02/728Hbi

Posted

Thanks JoJo,

but this is not what I was looking for. In the mission editor there is a trigger condition X:COCKPIT PARAM EQUALS

For the the F-16 for instance you can check COMM1_FREQ equals 241.5 to see if the player dialed 241.5 in the radio. 

What I am looking for are the names of these cockpit Params for the green and red radio.

Modules/maps: all, except for the Dora

My missions: https://www.digitalcombatsimulator.com/en/files/filter/user-is-Don rudi/apply/

Primary system: i7-13700k, RTX 4080, 32 GB, Win 11, Virpil WarBRD + Constellation Alpha with 5cm extension, Virpil CM2 throttle, Virpil Ace Interceptor pedals, Virpil Rotor TCS base + Blackshark grip, Winwing Triple MFD and ICP, Virpil panel 3, 34" UWHQD screen
Secondary system: Acer Nitro 5, i7-12700h, RTX 4060, 32 GB, Win 11, Virpil Rotor TCS base + Blackhawk grip, Virpil Ace Torq pedals, WinWing Viper Ace EXII stick, WinWing Strike Ace EXII throttle, WinWing PTO 2 panel 34" UWHQD screen

  • Don Rudi changed the title to X:Cockpit params for radio frequencies?
Posted

As of right now, it is not listed in the typical place, list_cockpit_params().

You could get it via something like:

local UHF_RADIO = GetDevice(7)
local uhfFreq = (UHF_RADIO:get_frequency()/1000000)


for example. That is similar to what I do for the Stream Deck.

  • Like 1
Posted (edited)
On 7/30/2022 at 12:44 PM, Don Rudi said:

What I am looking for are the names of these cockpit Params for the green and red radio.

 

Every Module has different Parameters, and the F1 seems to not have one Parameter for this item unfortunately. 

So, the only way (to do it without scripting) would be to check the position of the radio knobs, like this:

Radio Check Trigger.jpg

Edited by Rudel_chw
  • Like 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
12 hours ago, Bailey said:

As of right now, it is not listed in the typical place, list_cockpit_params().

You could get it via something like:

local UHF_RADIO = GetDevice(7)
local uhfFreq = (UHF_RADIO:get_frequency()/1000000)


for example. That is similar to what I do for the Stream Deck.

I will have a look at that, thanks!

4 hours ago, Rudel_chw said:

 

Every Module has different Parameters, and the F1 seems to not have one Parameter for this item unfortunately. 

So, the only way (to do it without scripting) would be to check the position of the radio knobs, like this:

Radio Check Trigger.jpg

 

Thanks Rudel, 
phew, I hope they will add the Frequency params, as most other modules have them. This looks like a lot of pain 😕
 

Modules/maps: all, except for the Dora

My missions: https://www.digitalcombatsimulator.com/en/files/filter/user-is-Don rudi/apply/

Primary system: i7-13700k, RTX 4080, 32 GB, Win 11, Virpil WarBRD + Constellation Alpha with 5cm extension, Virpil CM2 throttle, Virpil Ace Interceptor pedals, Virpil Rotor TCS base + Blackshark grip, Winwing Triple MFD and ICP, Virpil panel 3, 34" UWHQD screen
Secondary system: Acer Nitro 5, i7-12700h, RTX 4060, 32 GB, Win 11, Virpil Rotor TCS base + Blackhawk grip, Virpil Ace Torq pedals, WinWing Viper Ace EXII stick, WinWing Strike Ace EXII throttle, WinWing PTO 2 panel 34" UWHQD screen

  • Recently Browsing   0 members

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