• 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.

FS2004 DME ident sounds

Messages
206
Country
unitedkingdom
Hi,

Nearly got everything working on my project now. Just this one litte oddity that I can't work out. I have an audio panel, and in it there is a little button and light for DME1 and DME2 sound. It also have ADF, COM and NAV etc but there is no issue with those...

With the DME, despite my best efforts, I always activate both or neither. I cannot seem to have only DME1 ident or only DME2 ident at any one time. I have used
Code:
(>K:RADIO_DME1_IDENT_TOGGLE)(>K:RADIO_DME2_IDENT_TOGGLE)
for setting the states and then the readout is with
Code:
(A:DME SOUND:1,bool)
(A:DME SOUND:2,bool)

What have I missed?

I looked into the idea of using (>K:RADIO_DME2_IDENT_DISABLE), which I spotted in the list, but without any success.

Geoff
 
Last edited:
Nice find!
I never knew about the index capabilities for DME SOUND.
Unfortunately, when I tried it, it works fine.
Do you have the correct entries in your aircraft.cfg file?
i.e.;
[Radios]
.
Nav.1 = 1, 1, 1
Nav.2 = 1, 1, 0
.
.
 
Nice find!
I never knew about the index capabilities for DME SOUND.
Unfortunately, when I tried it, it works fine.
Do you have the correct entries in your aircraft.cfg file?
i.e.;
[Radios]
.
Nav.1 = 1, 1, 1
Nav.2 = 1, 1, 0
.
.

Thanks. If only it was that simple. I hadn't checked it but now I have and this is not the problem.

Geoff
 
This is what I used for testing, it's the Audio section of the Beech Baron Bendix_King_radio gauge. I've just changed Com1 & Com2 to DME1 & DME2.
Code:
<Gauge Name="Audio" Version="1.0">
<Image Name="Audio_Background.bmp" />

<!-- Any of Gen1, Gen2 or Battery plus avionics -->
<Element>
  <Select>
    <Value>(A:ELECTRICAL MASTER BATTERY,Bool) (A:GENERAL ENG MASTER ALTERNATOR:1,Bool) (A:GENERAL ENG MASTER ALTERNATOR:2,Bool) || ||
(A:AVIONICS MASTER SWITCH,Bool) &amp;&amp; if{ 1 (&gt;L:Power Av On,Number) } els{ 0 (&gt;L:Power Av On,Number) }</Value>
  </Select>
</Element>

<!-- Com1 -->
<Element>
  <Visible>(L:Power Av On,Number) 1 ==</Visible>
  <Position X="11" Y="15" />
  <Select>
    <Value>(A:DME SOUND:1,Bool)</Value>
    <Case Value="1">
      <Image Name="Audio_Com1.bmp" />
    </Case>
  </Select>
</Element>

<!-- Com2 -->
<Element>
  <Visible>(L:Power Av On,Number) 1 ==</Visible>
  <Position X="41" Y="15" />
  <Select>
    <Value>(A:DME SOUND:2,Bool)</Value>
    <Case Value="1">
      <Image Name="Audio_Com2.bmp" />
    </Case>
  </Select>
</Element>

<!-- Both -->
<Element>
  <Visible>(L:Power Av On,Number) 1 ==</Visible>
  <Position X="71" Y="15" />
  <Select>
    <Value>(A:COM RECIEVE ALL,Bool)</Value>
    <Case Value="1">
      <Image Name="Audio_Both.bmp" />
    </Case>
  </Select>
</Element>

<!-- Nav1 -->
<Element>
  <Visible>(L:Power Av On,Number) 1 ==</Visible>
  <Position X="101" Y="15" />
  <Select>
    <Value>(A:NAV SOUND:1,Bool)</Value>
    <Case Value="1">
      <Image Name="Audio_Nav1.bmp" />
    </Case>
  </Select>
</Element>

<!-- Nav2 -->
<Element>
  <Visible>(L:Power Av On,Number) 1 ==</Visible>
  <Position X="131" Y="15" />
  <Select>
    <Value>(A:NAV SOUND:2,Bool)</Value>
    <Case Value="1">
      <Image Name="Audio_Nav2.bmp" />
    </Case>
  </Select>
</Element>

<!-- Marker -->
<Element>
  <Visible>(L:Power Av On,Number) 1 ==</Visible>
  <Position X="161" Y="15" />
  <Select>
    <Value>(A:MARKER SOUND,Bool)</Value>
    <Case Value="1">
      <Image Name="Audio_Marker.bmp" />
    </Case>
  </Select>
</Element>

<!-- DME -->
<Element>
  <Visible>(L:Power Av On,Number) 1 ==</Visible>
  <Position X="191" Y="15" />
  <Select>
    <Value>(A:DME SOUND,Bool)</Value>
    <Case Value="1">
      <Image Name="Audio_DME.bmp" />
    </Case>
  </Select>
</Element>

<!-- ADF -->
<Element>
  <Visible>(L:Power Av On,Number) 1 ==</Visible>
  <Position X="221" Y="15" />
  <Select>
    <Value>(A:ADF SOUND:1,Bool)</Value>
    <Case Value="1">
      <Image Name="Audio_ADF.bmp" />
    </Case>
  </Select>
</Element>

<Mouse>
  <Tooltip ID="TOOLTIPTEXT_AUDIO_PANEL_TRANSMIT_RECEIVE" />
<!-- Com1 -->
  <Area Top="16" Bottom="40" Left="11" Right="35">
    <Cursor Type="Hand"/>
    <Click>1 (&gt;K:RADIO_DME1_IDENT_TOGGLE)</Click>  
  </Area>
<!-- Com2 -->
  <Area Top="16" Bottom="40" Left="41" Right="65">
    <Cursor Type="Hand"/>
    <Click>1 (&gt;K:RADIO_DME2_IDENT_TOGGLE)</Click>  
  </Area>
<!-- Both -->
  <Area Top="16" Bottom="40" Left="71" Right="95">
    <Cursor Type="Hand"/>
    <Click>1 (&gt;K:COM_RECEIVE_ALL_TOGGLE)</Click>  
  </Area>
<!-- Nav1 -->
  <Area Top="16" Bottom="40" Left="101" Right="125">
    <Cursor Type="Hand"/>
    <Click>1 (&gt;K:RADIO_VOR1_IDENT_TOGGLE)</Click>  
  </Area>
<!-- Nav2 -->
  <Area Top="16" Bottom="40" Left="131" Right="155">
    <Cursor Type="Hand"/>
    <Click>1 (&gt;K:RADIO_VOR2_IDENT_TOGGLE)</Click>  
  </Area>
<!-- Marker -->
  <Area Top="16" Bottom="40" Left="161" Right="185">
    <Cursor Type="Hand"/>
    <Click>1 (&gt;K:MARKER_SOUND_TOGGLE)</Click>  
  </Area>
<!-- DME -->
  <Area Top="16" Bottom="40" Left="191" Right="215">
    <Cursor Type="Hand"/>
    <Click>1 (&gt;K:RADIO_SELECTED_DME_IDENT_TOGGLE)</Click>  
  </Area>
<!-- ADF -->
  <Area Top="16" Bottom="40" Left="221" Right="245">
    <Cursor Type="Hand"/>
    <Click>1 (&gt;K:RADIO_ADF_IDENT_TOGGLE)</Click>  
  </Area>
</Mouse>

</Gauge>
 
Interesting. I have exactly the same code but mine is not working. The aircraft.cfg file settings are the same, so could there be something in the .air file?

Geoff
 
The .air file us purely aerodynamics.
The usual suspects have been checked I assume?
Extra spaces in the code, full stops instead of commas, colons instead of semicolons ...
I have in the past stared at a perfectly good piece if code wondering why it wouldn't work. Then I've erased it, re-typed it exactly (I thought) as before and lo! it has worked. :D
If not I'm at a loss.
 
When testing, see if it works in another plane that also has audible set to on.

What it could be is your plane is in a location that doesnt have a sound code.


There are also two keyboard buttons that will turn sounds on and off for I think VOR1 and DME or ADF. (I cant remember which). It should show in Controls / Assignments.



Bill
 
Back
Top