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

FS2004 <Shift> vs. <Rotate>

Code:
(A:FUEL TANK LEFT MAIN QUANTITY, Gallons) 6.67 *
(A:FUEL TANK RIGHT MAIN QUANTITY, Gallons) 6.67 *
 
Bill, you are amazing, thank you! Works perfect!

By the way - I have similar problem with hydraulics pressure and fuel pressure - my XML returns "0" - do I have some mistake in my variable, or can it be caused by the fact that I have not yet finished my "systems panel", so fuel and hydraulics pumps cant be switched on? But I load the airplane in FS started up, so I expected to have pumps on by default...

Code:
<!-- rucicka hyd1 -->
<Element>
  	<Position X="458" Y="370"/>
  	<Image Name="rucicka2.bmp" PointsTo="North">
    	<Axis X="10" Y="10"/>
 	 </Image>
  	<Shift>
    	<Value Minimum="2000" Maximum="3500">(A:HYDRAULIC PRESSURE,PSI)</Value>
    		<Nonlinearity>
     	 		<Item Value=   "3500" X= "458" Y="370"/>
      			<Item Value= "3000" X="458" Y="432"/>
     			<Item Value= "2500" X="458" Y="492"/>
      			<Item Value= "2000" X="458" Y="551"/>
    		</Nonlinearity>
  	</Shift>
</Element>

<!-- text hyd1 --><Element>
	<Position X="353" Y="573"/>
	<Text X="80" Y="28" Bright="Yes" Length="4" Font="Arial" Color="white" Adjust="Right" VerticalAdjust="Center">
	<String>%((A:HYDRAULIC PRESSURE,PSI))%!4d!</String>
	</Text>
	</Element>

Code:
<!-- rucicka fuelpress1 -->
<Element>
  	<Position X="733" Y="370"/>
  	<Image Name="rucicka2.bmp" PointsTo="North">
    	<Axis X="10" Y="10"/>
 	 </Image>
  	<Shift>
    	<Value Minimum="0" Maximum="80">(A:ENG1 FUEL PRESSURE,PSI)</Value>
    		<Nonlinearity>
     	 		<Item Value= "80" X= "733" Y="370"/>
      			<Item Value= "60" X="733" Y="419"/>
      			<Item Value= "40" X="733" Y="462"/>
     			<Item Value= "20" X="733" Y="507"/>
      			<Item Value= "0" X="733" Y="551"/>
    		</Nonlinearity>	
  	</Shift>
</Element>

<!-- text fuelpress1 --><Element>
	<Position X="628" Y="573"/>
	<Text X="80" Y="28" Bright="Yes" Length="4" Font="Arial" Color="white" Adjust="Right" VerticalAdjust="Center">
	<String>%((A:ENG1 FUEL PRESSURE,PSI))%!4d!</String>
	</Text>
	</Element>
 
You need to supply an :index to the variable where :index is the engine number...

HYDRAULIC PRESSURE:index

(A:HYDRAULIC PRESSURE:1,psi)

Note that this variable applies only a specific helicopter!

ENG FUEL PRESSURE Fuel pressure. Applies only to Bell helicopter.

You need to use:

GENERAL ENG FUEL PRESSURE:index

(A:GENERAL ENG FUEL PRESSURE:1,psi)
 
Last edited:
Ok, thank you, fuel pressure indication now works - but I wonder how can I know it? Here you tell me that I have to use :1 and :2 for multiengine plane, but when I was scripting fuel flow, I used (A:TURB ENG1 FUEL FLOW PPH,pound per hour) where I dont have any :1... so what is the difference between them?

And what about hydraulics? As far as I am making turboprop airplane, I need to get its hydraulics pressure somehow, I dont wanna helicopters :cool: How can I do it? Now I am really confused, because I didnt see any "only for helicopters" warning in SDK :-/

Pavel
 
Ha, using A:ENG1 HYDRAULIC PRESSURE, works... aerodyniamika.com is better than SDK :)
 
Last edited:
Pavel
A:ENG HYDRAULIC PRESSURE:1,pounds per square foot. is what you need.

In some cases you can use A:ENG1..... rather than put the index at the end, which is what you have in your fuel flow example. Usually, both work.

Bill's comment about the Bell helo referrred to ENG FUEL PRESSURE, not HYDRAULIC PRESSURE and the comment is from the FSXA SDK. FSXA has three different helicopter versions, FS2004 has one. That is why you did not find it.

Roy
 
Because I was looking into FS9 SDK as far as it is still FS9 plane... however, thank you, everythink is clear now (until next element, I guess :cool:)

PB
 
Ok, thank you, fuel pressure indication now works - but I wonder how can I know it? Here you tell me that I have to use :1 and :2 for multiengine plane, but when I was scripting fuel flow, I used (A:TURB ENG1 FUEL FLOW PPH,pound per hour) where I dont have any :1... so what is the difference between them?

From the FS9 SDK "Parameters.doc" file:

Code:
[B]Engine Data[/B]
Note: Engine parameters take an index (1,2,…) to determine which engine is being queried.

Beginning with FS9 (FS2004), all engine variables now use an :index number. Variables such as "TURB ENG1 FUEL FLOW PPH" still work for FS9, but...

...these are depecrated, meaning that they are unsupported and potentially unusable in FS9, because they are from FS8 (and earlier) versions of the sim.

I highly recommend using the newer form for the token variables, since they also carry forward to FSX...
 
Back
Top