User Tools

Site Tools


gauges:gaugesettings_sample

SPAD.neXt GaugeSettings Sample

<GaugeSettings GaugeID="ID_WILL_GIVEN_OUT_BY_GAUGEPORTAL" PowerMode="Default|AlwaysOn|NoData" GaugeCompatibility="SAITEK|ESP|SPAD">
  <Author>Your name goes here</Author>
  <Url>Homepage for that gauge/your shop</Url>
  <Description>A long description for the gauge (see comments)</Description>
  <Thumbnail>url to gauge thumbnail. Omit tag if no 100% available thumbnail url is available </Thumbnail>
  <Font>Filename</Font>
  <Category>Category 1</Category>
  <Category>Twin Engine</Category>
  <Simulation>FSX</Simulation>
  <Simulation>XPLANE</Simulation>
  <Simulation>OTHER</Simulation>
  <Type>AIRLINER</Type>
  <Type>GENERAL AVIATION</Type>
  <Type>SEAPLANE</Type>
  <Type>MILITARY</Type>
  <Type>HELICOPTER</Type>
  <Type>OTHER</Type>
  <Variables>
    <Variable Name="GAUGELOCAL1" Value="5" DisplayName="Gauge Background" Description="Selects the Gauge Background" />
  </Variables>
  <Buttons>
    <Button BoundTo="FIP_BUTTON_S1" Event="EVENT_TO_RAISE">
      <Label Font="FONTNAME" FontSize="SIZE_IN_PIXEL" FontStyle="Regular|Bold|Italic|Underline|Strikeout">
        <Default>Default Text if not overwritten in SPAD.neXt Profile</Default>
        <TextExpression>Future: Expression for the Text. Not Supported yet</TextExpression>
        <Visible>Expression if Label is visible (must return 0 or 1). Same as gauge-Visible Expression</Visible>
        <Color Foreground="ColorName or #AARRGGBB" Background="ColorName or #AARRGGBB or Transparent" />
        <Position X="0" Y="0" />
        <Size X="45" Y="23" />
      </Label>
    </Button>
  </Buttons>
</GaugeSettings>

PowerMode

  • Default = Turn dark when virtually no power
  • AlwaysOn = Gauge will ignore Power eg. if handling yourself
  • NoData = When no power show a Red cross to show power but no data

GaugeCompatibility

  • SAITEK = (default) gauge is 100% comptible to Saitek (even the bugs!)
  • ESP = pure ESP gauge
  • SPAD = SPAD.neXt only.

GaugeCompatibility SPAD Activates following:

  • Images can have an Axis to auto shift them
  • Masked rotated images are not resized
  • Saitek Bugs in Expression-Code are eleminated and will throw errors
  • Possibility to use Templated Elements and special renders, as well as coded events.

Thumbnail

  • if URL given the URL must be available 100% of the time! It must be an image. Will be resized to 320×240
  • If no URL available omit the whole Thumbnail-Tag and SPAD.neXt will auto generate the thumbnail.

Font

  • If external non default font is used throughout the Gauge, the filename of the font (ttf) is given here.
  • The font has to be in the Artdirectory (Default: 1024)

Category

  • Free text will show in Categories selection of the gauge loading dialog

Type

Aircraft/Vehicle Type Category. Valid Values:

  • AIRLINER
  • GENERAL AVIATION
  • SEAPLANE
  • MILITARY
  • HELICOPTER
  • OTHER

If you are lacking a type category open a ticket please.

Simulation

Supported simulation(s) Valid values:

  • FSX
  • XPLANE
  • OTHER

FSX includes Prepare3D

Description

text , can include following tags (case sensitive!):

  • [b][/b] BOLD
  • [color=#rrggbb][/color] colored text
  • [url=http://somewhere]my link[/url] link
  • [i]/[i] italic
  • [u][/u] unterline
  • [br] line break

Variables

Allows to define default values for local variables (X:,P:,G:).
Name = Names as used in Gauge
Value = Defaultvalue , set when Gauge is loaded
DisplayName = Text shown in UI when configuring a gauge in UI
Description = Long description of the Variable. BB-Code (see above) available

Button BoundTo

  • FIP_BUTTON_S1,
  • FIP_BUTTON_S2,
  • FIP_BUTTON_S3,
  • FIP_BUTTON_S4,
  • FIP_BUTTON_S5,
  • FIP_BUTTON_S6,
  • FIP_BUTTON_PAGEUP,
  • FIP_BUTTON_PAGEDOWN,
  • FIP_DIAL_RIGHT_CLOCKWISE,
  • FIP_DIAL_RIGHT_COUNTERCLOCKWISE,
  • FIP_DIAL_LEFT_CLOCKWISE,
  • FIP_DIAL_LEFT_COUNTERCLOCKWISE,

Button Event

SimConnect Event to send (https://msdn.microsoft.com/en-us/library/cc526980.aspx Column “SimConnect Name” ) If no event bound by default, omit the Event-Attribute

Button Label

If no Label just omit the whole Label tag.

Sample

gauges/gaugesettings_sample.txt · Last modified: 2017/05/04 01:29 by c0nnex