Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Adding switch click sounds to switches

Featured Replies

Hey there. I'm in the process of trying to add a switch click sound to the avionics master switch, and here is what I have so far, yet I'ts still not giving me any sound. Would anyone happen to be able to browse through this to inform me as to why it isn't working? Here is the code as well as the location as to where I placed all my files. Thank you I have placed the sound file in the main fsx Sounds folderI have an avmastersound.dll placed in my gauges folder along with the avmastersound.iniI have the avmastersound.xml placed in a folder named avmastersound which is in my panel folderLastly, I have the dsd_xml_sound3.dll and .gau placed in the gauges folder Panel.cfg:gauge16=avmastersound!avmastersound, 1,1,1,1gauge17=dsd_xml_sound3!dsd_xml_sound3, 1,1,1,1, ./Gauges/avmastersound.iniavmastersound.ini:[Config]MaxSounds=5[LVars]Lvar00=avmastersound[sounds]Sound00=./Sound/avmastersound.wavavmastersound.xml:<Gauge Name="avmastersound" Version="1.0"><Element><Select><Value></Value></Select></Element><Mouse><Click><Area Left="424" Top="32" Width="31" Height="36"><Cursor Type="Hand"/><Click Kind="LeftSingle">(>K:TOGGLE_AVIONICS_MASTER)1 (>L:avmastersound, number)</Click></Area></Click></Mouse></Gauge>and here's the code from the switch_avionics_master section of the modeldef.xml file that I placed in my bin folder that I created in the ModelingSDK directory:<MouseRect><Cursor>Hand</Cursor><HelpID>HELPID_GAUGE_AVIONICS_SWITCH</HelpID><TooltipID>TOOLTIPTEXT_AVIONICS_SWITCH</TooltipID><EventID>TOGGLE_WHAT_MASTER</EventID><Click><Callback_Code>(>K:TOGGLE_AVIONICS_MASTER)1 (>L:avmastersound, number)</Callback_Code></Click></MouseRect> Thanks again Dan

  • Commercial Member

./Gauges/avmastersound.ini Are you sure your paths are correct? I'd use something like ..\gauges\avmastersound.ini personally. Notice the double period to go up one directory and the \ instead of /. eg. Here is one line from a panel.cfg of mine that goes up out of the panel, then out of the particular aircraft folder to reach the root Simobjects/Airplanes folder before going into another aircraft folder and finally the panel folder of that other aircraft.gauge00=..\..\Ants Drifter A-582\Panel\AvmapGPS!EKPIV, 0,0,602,915

www.antsairplanes.com

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.