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

n00b in trouble, HeLp!

Messages
42
Country
portugal
Hi everybody,

Emm... Can't add a gauge in Panel Studio, it says I don't have bitmap images, here's the code, very simple one, can someone give a hand?

<Gauge name="Airspeed Indicator" version=1.0>
<Image name="AIbackground.bmp" ImageSizes="153,153"/>
<Element>
<MaskImage Name="AIBackground.bmp" ImageSizes="153,153" />
<Position X="76.5 Y="76.5" />
<Image name="AIneedle.bmp" PointsTo="East" ImageSizes="47,14">
<Axis X="7" Y="7.5" />
</Image>
<Rotate>
<Value Minimum="0" Maximum="450">(A:Airspeed select indicated or true,knots)</Value>
<Failures>
<SYSTEM_PITOT_STATIC Action="0"/>
<GAUGE_AIRSPEED Action="Freeze"/>
</Failures>
<Nonlinearity>
<Item value="0" X="65" Y="32.5">
<Item value="130" X="71" Y="68.5">
<Item value="200" X="70.5" Y="71">
<Item value="300" X="81" Y="70.5">
</nonlinearity>
<Delay DegreesPerSecond="180"/>
</Rotate>
</element>
</Gauge>
 

scruffyduck

Administrator
Staff member
FSDevConf team
Resource contributor
Messages
33,919
Country
unitedkingdom
Well I guess the first question is where you have stored the images that your code refers to....and are they accessible to FS
 
Messages
42
Country
portugal
Images were together with XML, I tryed with 1024 file together and didn't worked so put it together with the XML in the cab; the cab was inside FS9/Gauges
 

n4gix

Resource contributor
Messages
11,661
Country
unitedstates
Images were together with XML, I tryed with 1024 file together and didn't worked so put it together with the XML in the cab; the cab was inside FS9/Gauges

You seem to be missing the required first line in the XML code:

<?xml version="1.0" encoding="utf-8"?>
<Gauge name="Airspeed Indicator" version=1.0>

Aside from that, I see no problem with the remaining code...
 

tgibson

Resource contributor
Messages
10,171
Country
us-california
Make sure you have spelled the bitmap filenames correctly. They start with A I not A L, for example.
 
Messages
2
Country
germany
Hi,

try to change your first line (or - now second line) to this

<Gauge name="Airspeed Indicator" version="1.0">

Maybe the missing quotation marks around the version number have been causing the entire gauge going bust.

Cheers
Wolfgang
 
Top