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.

FSX: (SIM_SPEED) Token Variable

Featured Replies

Hi all,I'm trying an FS9 C++ gauge out on FSX , I noticed the (SIM_SPEED)token value is different, instead of 1.0 for 1x rate, it is now returning a value of 256 for 1x.Not a problem; then for 2x, and 4x it returns a value of 512 and 1024 respectively, ok np. But for any rate after 4x I still get the value of 1024 for the (SIM_SPEED). The simulator message on the upper right confirms its 8x,16x, etc, but the token value is still 1024, and does not change until it goes below 4x.Does anyone know if there's something else that must be done to retrieve the correct sim rate after 4x in FSX ? Thanks.Regards.Ernie.

ea_avsim_sig.jpg

Hmmmm are you putting the value in to small a var maybe? Post some code maybe.

  • Author
  • Moderator

Pat, that token var simply returns a value indicating what SIM_SPEED currently is.One normally doesn't "put" anything into a token, one would use a key_event command for that purpose... ;)In FS9, the value returned was a number made sense: 0.25, 0.50, 0.75, 1.0, 2.0, ... up to 32.0...Now the value returned is "strange" to be kind... I guess it's yet another example of something getting "broken" this time around. :-roll I've been using it in my timer code so that elapsed time and flight time would remain accurate when the simmer adjusts sim speed. It was simple to implement, since the value returned was an exact scalar...

Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator

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.