Alright thanks for the responses, here is the code: Panel.cfg:
[Window Titles]
Window00=Smoke and simplePFD
[Window00]
size_mm=400,284
position=0
visible=0
ident=Smoke and simplePFD
window_size= 0.250
//window_pos= 0.000, 0.000
sizeable = 0
gauge00=ADD!smoke , 0,0,400,284
smoke.cfg:
<SimBase.Document Type="AceXML" version="1,0">
<Descr>AceXML Document</Descr>
<Filename>smoke.xml</Filename>
<SimGauge.Gauge id="smoke" ArtDirectory=".">
<FloatPosition>0.000,0.000</FloatPosition>
<Size>400,284</Size>
<Image id="Image" Name="add_background.bmp">
<Transparent>True</Transparent>
</Image>
<Element id="RPM Readout">
<FloatPosition>126.000,118.000</FloatPosition>
<Visibility>(L:RPM Mode, number) 0 ==</Visibility>
<GaugeText id="RPM Readout">
<Bright>True</Bright>
<FontFace>Quartz</FontFace>
<FontColor>0x080808</FontColor>
<FontHeight>20</FontHeight>
<GaugeString>%((A:PROP1 RPM, rpm))%!4d!
</GaugeString>
<HorizontalAlign>CENTER</HorizontalAlign>
<Size>142,44</Size>
<Transparent>True</Transparent>
</GaugeText>
</Element>
<Element id="Speed Readout">
<FloatPosition>126.000,33.000</FloatPosition>
<Visibility>0</Visibility>
<GaugeText id="Speed Readout">
<Bright>True</Bright>
<FontFace>Quartz</FontFace>
<FontColor>0x080808</FontColor>
<FontHeight>20</FontHeight>
<GaugeString>%((A:Airspeed indicated, knots))%!03d!
</GaugeString>
<HorizontalAlign>CENTER</HorizontalAlign>
<Size>142,44</Size>
<Transparent>True</Transparent>
</GaugeText>
</Element>
<Element id="Altitude Readout">
<FloatPosition>126.000,203.000</FloatPosition>
<Visibility>0</Visibility>
<GaugeText id="Altitude Readout">
<Bright>True</Bright>
<FontFace>Quartz</FontFace>
<FontColor>0x080808</FontColor>
<FontHeight>20</FontHeight>
<GaugeString>%((A:Indicated Altitude, feet))%!05d!
</GaugeString>
<HorizontalAlign>CENTER</HorizontalAlign>
<Size>142,44</Size>
<Transparent>True</Transparent>
</GaugeText>
</Element>
<Element id="Smoke">
<FloatPosition>288.000,78.000</FloatPosition>
<Select id="Select">
<Expression id="Expression">
<Minimum>0.000</Minimum>
<Maximum>1.000</Maximum>
<Script>(A:Smoke Enable, bool)</Script>
</Expression>
<Case id="Case">
<ExpressionResult>0.000</ExpressionResult>
<Image id="Image" Name="switch_panel_switch_show_smoke_off.bmp">
<Transparent>True</Transparent>
</Image>
</Case>
<Case id="Case">
<ExpressionResult>1.000</ExpressionResult>
<Image id="Image" Name="switch_panel_switch_show_smoke_on.bmp">
<Transparent>True</Transparent>
</Image>
</Case>
</Select>
</Element>
<MouseArea id="Smoke">
<FloatPosition>350.000,144.000</FloatPosition>
<Size>132,88</Size>
<CursorType>Hand</CursorType>
<MouseClick id="MouseClick">
<KeyEvent>SMOKE_TOGGLE</KeyEvent>
<ClickType>LeftSingle</ClickType>
</MouseClick>
<Tooltip id="Tooltip">
<DefaultId>HELPID_EXTR_SMOKE</DefaultId>
</Tooltip>
</MouseArea>
The Smoke.cfg is in the folder "ADD" which is in the same directory as the panel.cfg, so that reference should be fine. The "ADD" folder also includes the three pictures that are being referenced by the smoke.cfg, all with the names stated in the cfg. I will try to just take parts out and start of with the very basic tomorrow, and see if i can find a mistake that way, but i do kind of have the feeling that when i strip everything off it will still have an error. Any help would still be more then appreciated! Thanks in advance.
Ouh and sorry if some stuff seems messy or not thought through, i am not really into that whole stuff yet though i have red a couple pages about the whole gauge designing. excuse my begginner mistakes please, thanks!: D