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.

Load on aircraft selection vs. panel up in-game.

Featured Replies

Hey,I have an annoying problem that I wish to solve.Basically, when you load the aircraft from the selection screen, the panel gets loaded, and right away annoying warning horns are sounding.What I want is to not have them sound until you are in the cockpit.I thought (if I remember correctly) Arne suggested (in FS9) that I put key stuff in the gauge callback inside this:if ( pgauge != NULL ){ // Gauge is loaded}but this is not doing it for FSX. As soon as you select the aircraft, you have to listen to the horns until the panel completely loads and you can either mute it, pull the breaker, or shut down the power to the bus by flipping off the battery.It is one of the last annoying bugs I want to fix before release.Any ideas?Patrick

Set a sound control flag to FALSE.Count off a couple of instances of PANEL_SERVICE_PRE_DRAW before allowing the flag to become TRUE. You can check, but I don't think one instance will be enough.Similarly, you could wait until is_panel_window_visible_ident(0) returns TRUE a couple of times.Doug

Hey Doug,Well... is_panel_window_visible_ident(0) actually just toggle the visibility (turning it off!), when I tried this code:if ( is_panel_window_visible_ident(0) == true ){ WakeTheDeadWithMostAnnoyingNoiseKnowToMan();}so, that's out.I then tried this: case PANEL_SERVICE_PRE_DRAW: if ( flagReady != 0) { flagReady--; bSoundToggle = false; } break;and this doesn't work either. As soon as I select the aircraft in free flight, the warning horns begin to sound. (The flag begins life true, and when true silences ALL sound).Was worth a shot though.Patrick

Well, since I wasn't able to make anything work within FS to handle this, I solved it another way.Basically, I moved the actual CB's to the main panel, with extern references to them on the overhead. Then, this made it possible to save a flight with the overhead (where the horns are located) hidden and set visible=0 in the panel.cfg so that no horns would sound until you make the panel visible to turn on the BAT.I'm excited today, because after I solve one last problem in the attitude indicator it goes live!Patrick

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.