- Messages
- 144
- Country

Some of the XMLTools C:SIMVARS aircraft variables which I used in xml gauges to set aircraft variables in P3Dv5.3 are no longer working in P3Dv5.4. This is what the ContentErrors.txt log says:
The strange thing is that similar C:SIMVAR aircraft variables can still be set like C:SIMVARS:FUEL TANK EXTERNAL2 LEVEL, percent
Example from a gauge I use to update fuel and weight on the fly - the fuel update is still working in 5.4, the payload station update is no longer recognized:
Code:
error=Gauge/Script Error
Type: Gauge
Name: Config
Error: Invalid variable name: "SIMVARS:PAYLOAD STATION WEIGHT:1"
The strange thing is that similar C:SIMVAR aircraft variables can still be set like C:SIMVARS:FUEL TANK EXTERNAL2 LEVEL, percent
Example from a gauge I use to update fuel and weight on the fly - the fuel update is still working in 5.4, the payload station update is no longer recognized:
Code:
<MouseArea id="EXT_TANKS">
<FloatPosition>110,137</FloatPosition><Size>20,20</Size><CursorType>Hand</CursorType>
<MouseClick id="MouseClick">
<ClickType>LeftSingle</ClickType>
<Script>
(L:ext_tanks, bool) ! (>L:ext_tanks, bool)
(L:ext_tanks, bool) if{ 100 (>C:SIMVARS:FUEL TANK EXTERNAL1 LEVEL, percent) 100 (>C:SIMVARS:FUEL TANK EXTERNAL2 LEVEL, percent) 450 (>C:SIMVARS:PAYLOAD STATION WEIGHT:3, Pounds) }
els{ 0 (>C:SIMVARS:FUEL TANK EXTERNAL1 LEVEL, percent) 0 (>C:SIMVARS:FUEL TANK EXTERNAL2 LEVEL, percent) 0 (>C:SIMVARS:PAYLOAD STATION WEIGHT:3, Pounds) }
</Script>
</MouseClick>
</MouseArea>
Last edited:



