This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
gauges:spad.next_extensions [2016/09/21 01:56] c0nnex [SPAD.neXt Gauge Extensions] |
gauges:spad.next_extensions [2017/06/10 23:43] (current) c0nnex |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== SPAD.neXt Gauge Extensions ====== | ====== SPAD.neXt Gauge Extensions ====== | ||
- | Gauges loaded into SPAD.neXt have to match this schema: | + | Gauges loaded into SPAD.neXt have to match this schema:{{:gauges:gauge.xsd|}} |
+ | |||
+ | SPAD.neXt is generally Saitek SaiSimFlightX compatible, but it has **NOT** implemented Saitek Bugs: | ||
+ | |||
+ | Saitek gauges require a Non-Space-Character before a closing brace "}" e.g. in if{ statements:\\ | ||
+ | ''if{ someexpression %} els{ someotherexpression %}''\\ | ||
+ | SPAD.neXt does not support this. You will need to alter the gauge accordingly and remove the **%** | ||
+ | |||
+ | |||
===== Extensions for Expressions ===== | ===== Extensions for Expressions ===== | ||
Line 8: | Line 17: | ||
To access FSUIPC Offsets use the Prefix **F:** | To access FSUIPC Offsets use the Prefix **F:** | ||
<code>(F:0000:0AB2, Number)</code> | <code>(F:0000:0AB2, Number)</code> | ||
+ | To access other simulation data use the prefix **T:SIMNAME:**\\ | ||
+ | <code>(T:PMDG737:1000:010E) or (T:PMDG737:Glareshield.Mode Control Panel.Altude) | ||
+ | (T:SCS:scs/truck/fuel) | ||
+ | (T:XPLANE:sim/cockpit2/annunciators/afterburner)</code> | ||
==== Local Variables access ==== | ==== Local Variables access ==== | ||
**X:**VARNAME = Local var , will not be saved, will always be initialized to 0´ when profile loaded\\ | **X:**VARNAME = Local var , will not be saved, will always be initialized to 0´ when profile loaded\\ | ||
**G:**VARNAME = Local var, Value will be saved to the //GAUGE//, loaded to that value again when the gauge is loaded\\ | **G:**VARNAME = Local var, Value will be saved to the //GAUGE//, loaded to that value again when the gauge is loaded\\ | ||
+ | **D:**VARNAME = Local var, Value will be saved to the //DEVICE//, loaded to that value again when the device is loaded\\ | ||
**P:**VARNAME = Local var , Value will be saved to the //PROFILE// , and loaded to that value when the profile is loaded \\ | **P:**VARNAME = Local var , Value will be saved to the //PROFILE// , and loaded to that value when the profile is loaded \\ | ||
(Exception ''(P:SIMULATION RATE,Number)'' and ''(P:UNITS OF MEASURE,Number)'' still work as expected. | (Exception ''(P:SIMULATION RATE,Number)'' and ''(P:UNITS OF MEASURE,Number)'' still work as expected. |