• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

P3D v4 Manifold Pressure percentage gauge

Messages
17
Country
mexico
Hello everyone hope you are doing fine, I am trying to display the manifold Pressure percentage on a gauge but so far i manage to display the percentage but with a 7 digit number, I really dont need it to be that exact, does any one knows if there is a way to display it only with 2 digits, 3 at the most if is 100%?

My String:
%((A:ENG1 MANIFOLD PRESSURE, percent))%!d!%%

the attached picture shows what I am getting, is showing 81% but followed by 5 more digits

Thankyou and Merry christmas🎄:)
 

Attachments

  • MPpercent.png
    MPpercent.png
    157.3 KB · Views: 73
Last edited:
Messages
258
Country
ireland
I thought Manifold Pressure was displayed as InHg, as in (A:Eng1 MANIFOLD PRESSURE,inHg)

Walter
 

DragonflightDesign

Resource contributor
Messages
1,092
Country
northernireland
Walter: the sim will try to display a variable in whatever form you tell it to. It may not always make sense, but one of the better uses of this behaviour is to tell it to display 'percent over 100' as simply 'percent'.
 
Messages
17
Country
mexico
Hello, thanks for your help,
@BaiterOne I appreciate your answer, and yes I know that the manifold pressure is meant to be shown in inHg but the reason for this gauge is because I want to get the MCP (engine maximum continuous power percent) depending on the altitud with non turbocharged piston engines.
@tgibson I also appreciate your answer but unfortunately it didn't work
@DragonflightDesign thank you for your answer, it did kind of worked, now the number is been reduced from 7 to 5 digits, I think is better than 7 digits and works for me

Best regards
David
 

tgibson

Resource contributor
Messages
11,338
Country
us-california
Hi,

It is actually working. The Percent units give values in the millions, just what you are seeing. They are nonsense. If you know the maximum Manifold Pressure for this engine, you can calculate a real percentage. For example, if the maximum MP is 61 inHg, then:

%((A:ENG1 MANIFOLD PRESSURE, inHg)) 61 / 100 * %!d!%%

If you don't know the maximum MP, just try numbers in place of the 61.
 
Top