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.

Quesiton of the day.

Featured Replies

Since MODULE_VARS are read only, it seems you have to use KEY_whatever presses to input changes into the sim. This would be fine for say steering or changing the throttle.How would you go about changing something like say the amount of fuel in a tank?Patrick

As an update, I found that in a callback I could use this: trigger_key_event(KEY_ADD_FUEL_QUANTITY, 0);which would add about 25% of the tank each time triggered, regardless of the UINT32 var. I guess this call doesn't use that data.So, this won't work. So, how do I control the quantity of fuel programmatically? Seems this is possible with some aircraft using fuel dumping.Patrick

The fuel variables are accessible through FSUIPC - you can read and write to them directly. Don't think there is any other way to do it...Doug

from the SDK:KEY_ADD_FUEL_QUANTITY ADD_FUEL_QUANTITY Adds fuel to the aircraft, 25% of capacity by default. 0

>from the SDK:>>KEY_ADD_FUEL_QUANTITY ADD_FUEL_QUANTITY Adds fuel to the>aircraft, 25% of capacity by default. 0

  • 2 months later...

In the FSUIPC docs, i didn't found offsets for FUEL_QUANTITY_XX.. only for fuel level and capacity level..Anyone has found offsets for the fuel-quantity variables?

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.