• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

FSX Can I turn Com Radio 'Off'

Messages
12
Country
ca-ontario
An XML NOOB here (and my first post)... so I'll try not to embarrass myself.
I'm working on an aircraft who's com radio has an on/off switch. Pouring through the SDK, I simply cannot see a way to disable the com radio audio or otherwise turn it off. Is there a way or an alternate strategy (like tune to a known 'dead' frequency)?
Thanks in advance for your help!
Cheers, Brian
 
Pretty sure the only way is to use the switch_audio_com1 ect, for the display if digital you will need a custom L:var that toggles the vis of the display or something like this
Code:
<Gauge Name="Digital_COM"
Version="1.0">
<Image Name="adfbg.bmp"/>
<Element>
<Failures>
<SYSTEM_ELECTRICAL_PANELS Action="0"/>
</Failures>
<Visible>(A:CIRCUIT AVIONICS ON, bool) 1 ==</Visible>
     <Text X="49" Y="15" Length="6" Fixed="Yes" Font="Quartz" Adjust="Center" VerticalAdjust="Center" Color="#FF8C00" Bright="Yes">
        <String>%((A:COM ACTIVE frequency:1, Megahertz))%!6.3f!</String>
     </Text>
  </Element>
   <Mouse>
       <Tooltip>COM1 Freq</Tooltip>
   </Mouse>
</Gauge>
 
Thanks for the reply, but I think you've misunderstood my goal. I simply want to stop any FSX generated radio chatter if I've turned off the command radio in my VC. It seems that if I have a radio in my aircraft and it's tuned to a valid frequency, you'll going to hear ATC at some point.
 
There is a set of 3d code that toggles audio for all the radios in the modeldef.xml...like switch_audio_both which uses the K.var COM_RECEIVE_ALL_TOGGLE
do a search for switch_audio in the modeldef.xml file or the sdk...
 
Turn the avionics master switch off using the AVIONICS_MASTER_SET key event?
 
He is wanting a way to individually "turn off" com and nav radios independently. I know of no way this may be done, unfortunately.
 
Is there a way or an alternate strategy (like tune to a known 'dead' frequency)?

Yes, doing that and managing frequency display with a Local Var instead of the typical Aircraft Var should do the trick.

Tom
 
Yes, doing that and managing frequency display with a Local Var instead of the typical Aircraft Var should do the trick.

Tom

After spinning my wheels for a bit, this approach seems to be yielding results. It's a bit fiddly, but it's working. Thanks!
 
The way I use (which I borrowed from the old Just Flight Flying Club Seneca for FS9) is to set the radio freq to 136.975 (I think that is the highest com radio freq you can have in FSX, I'm just going off memory here so I may be wrong. As far as I know there are no actual radio stations in FSX that use that freq).

When the radio goes off I copy the com frequency to an L var and then set the com freq to 136.975.

This stores the com active freq:
(A:COM ACTIVE FREQUENCY:1, Frequency BCD16) (&gt;L:COMstorage, number)

This sets the com radio to 136.975 (remember that I going off my memory here so I think that is the right number):
13975 (&gt;K:COM_RADIO_SET)

When the radio comes back on I use this:
(L:COMstorage, number) (&gt;K:COM_RADIO_SET)

If L:COMstorage is zero (eg if the user has just loaded the aircraft) I use this:
(A:COM STANDBY FREQUENCY:1, Frequency BCD16) (&gt;K:COM_RADIO_SET)

It may also be necessary to continually check the com radio to make sure the user doesn't use a key command to change the freq.
 
If you run makerwys.exe (Pete Dowson), you will get a list of all comm frequencies in use on 'your' installation.
Easy to find an unused frequency. Not so easy on other peoples installation.
Anthony31's suggestion may be the best.
 
I am currently using 121.475, which is identified as a protection band for 121.50. With luck, I'll never find anyone broadcasting in FSX on that frequency regardless of location.

I would guess that the test flight bands are probably silent on FSX as well?

118.000 - 121.400 Air Traffic Control
121.425 - 121.450 Govt AWOS/ASOS
121.475 - 121.525 Band Protection for 121.5
121.550 - 121.575 Govt AWOS/ASOS
121.600 - 121.925 Air Traffic Control (Old gnd ctrl freq band)
121.775 SAR ELT Location training
121.975 FSS Private Aircraft Advisory
122.000 - 122.050 En Route Flight Advisory Service (EFAS)
122.075 - 122.675 FSS Private Aircraft Advisory
122.700 - 122.725 Unicom - Uncontrolled Airports
122.800 Unicom - Uncontrolled Airports
122.825 Domestic VHF
122.875 Unicom, Domestic VHF
122.950 Unicom - Airports with full time ATCT or FSS
122.975 - 123.000 Unicom - Uncontrolled Airports
123.050 - 123.075 Unicom - Uncontrolled Airports
123.125 - 123.175 Flight Test itinerant
123.200 - 123.275 Flight Test
123.325 - 123.375 Flight Test
123.425 - 123.475 Flight Test
123.525 - 123.575 Flight Test
123.600 - 126.800 Air Traffic Control
128.825 - 132.000 Operational Control
132.025 - 136.475 Air Traffic Control
136.500 - 136.875 Domestic VHF
136.900 - 136.975 International and Domestic VHF
 
Back
Top