Sign in to follow this  
n4gix

FSX: (SIM_SPEED) Token Variable

Recommended Posts

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.

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this