Sign in to follow this  
pve

Engine Torque Guage Problem

Recommended Posts

Am I using the wrong variable or something?Basically this should show a digital display of the eng1 torque percentage. So far no matter what I do, I get 000 as the outputRIGHT77,31goldArial20%( (A:ENG1 TORQUE PERCENT) )%!03d!True

Share this post


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

Hello You have to put in a unit. %((A:ENG1 TORQUE PERCENT,percent))%!03d! Get all the units from the SDK

Share this post


Link to post
Share on other sites

well, i tried that, but it seems to still only show 3 digits

Share this post


Link to post
Share on other sites

This is oddENG TORQUE PERCENT:index is a listed variableENG TORQUE:index is also listedSo far:%((A:ENG TORQUE1, percent))%!03d!Gave me a readout, but it was a huge number and not limited to 3 digits.%((A:ENG TORQUE PERCENT1, percent))%!03d!Gives me 3 0's, but no values when increasing the throttle.

Share this post


Link to post
Share on other sites

Well i figured it out. But decided to use ft-lbs since it seems to work better. Here is the code so that other may learn. I'm still figuring out if some of the items are really needed. The gauge has 2 parts. The standard needle/rotation and a text readout on the gauge displaying the actual<?xml version="1.0" encoding="UTF-16"?>AceXML DocumentTRQL.xml0.000,0.000318,318True160.000,160.000True12.000,104.000NORTH0.0003920.0000.000-120.00075.000,158.0003920.000120.000248.000,158.000Freeze121.000,232.000Arialgold25%( (A:ENG1 TORQUE, ft-lbs) )%!03d!CENTER77,26TrueTrue

Share this post


Link to post
Share on other sites

Hello >Gave me a readout, but it was a huge number and not limited to 3 digits.< The conversion is in the FSX SDK

Share this post


Link to post
Share on other sites

I had noticed that conversion listedPercent scalar 16K (Ft/lbs * 16384) but didnt understand it* = multiply?which say 1 ft/lbs would = 16384%???????

Share this post


Link to post
Share on other sites

Hi I'm wrong!!! It's a conversion for driving an axis ie: (A:ENG1 TORQUE, ft-lbs) n 16384 * int (>K:THROTTLE_SET)

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