- Messages
- 14
- Country
My name is Miloš, I'm 45, a professional orchestra musician, father of two boys age 1 and 8. So, not a gauge developer, or an XML expert in any way. Just a flightsim fan for over 25 years. I own a FSX Steam (it was as cheep as 5 EUR on a sale, so I got it) but I don't use it. It's heavy on my 10 years old PC's resources. Instead, I still use my FS2004 and I'm happy with it.
I've been visiting this forum occasionally for a long time. About from when fs2x.com forum was closed. Since then, I have created several very basic XML gauges my self, and modified a few freely available on the web made by others, for my personal use.
Several days ago I've started making this ATS gauge for use in a DC-10 by HJG (former SGA aircraft with Mike Baumann panel, edited by HJG team). It's the first time for me trying to use L: vars in a gauge. And I'm stuck. I was wondering if someone can give me a push? Or a helping hand, anyway. I suppose it's a peace of cake for you guys.
Anyway, here is the code. What it should do is by moving the ATS (autothrottle) levers on a MCP turn ON the TOGA if the aircraft is on the ground, or engage SPD mode if levers are moved from OFF to ON position inflight. Here:
If someone can help me, please? It's been a three days struggle for me.
Thanks, Miloš
I've been visiting this forum occasionally for a long time. About from when fs2x.com forum was closed. Since then, I have created several very basic XML gauges my self, and modified a few freely available on the web made by others, for my personal use.
Several days ago I've started making this ATS gauge for use in a DC-10 by HJG (former SGA aircraft with Mike Baumann panel, edited by HJG team). It's the first time for me trying to use L: vars in a gauge. And I'm stuck. I was wondering if someone can give me a push? Or a helping hand, anyway. I suppose it's a peace of cake for you guys.
Anyway, here is the code. What it should do is by moving the ATS (autothrottle) levers on a MCP turn ON the TOGA if the aircraft is on the ground, or engage SPD mode if levers are moved from OFF to ON position inflight. Here:
Using L: vars, is it even possible, I wonder... I got the TOGA to activate, eventually. But it won't stay ON. Instead, the commandand the indication light are flickering, turning on and off very fast.Moving lever to
ON (inflight) will engage SPD mode
unless TAKEOFF or G/A mode is
energized. On the ground, moving
lever to ON will engage CLAMP mode
unless TAKEOFF mode is energized.
No automatic movement of throttles
can occur with CLAMP mode
engaged.
Code:
<Gauge Name="DC-10 ATS" Version="1.0">
<Image Name="ATS base.bmp" ImageSizes="575,762" Luminous="1"/>
<Element>
<Select>
<Value>(L:ATS levers, bool)</Value>
<Case Value="0">
<Image Name="ATS levers OFF.bmp" Luminous="1"/>
</Case>
<Case Value="1">
<Image Name="ATS levers ON.bmp" Luminous="1"/>
</Case>
</Select>
</Element>
<Element>
<Select>
<Value>(L:ATS levers, bool) if{ (>K:AUTO_THROTTLE_ARM) }</Value>
</Select>
</Element>
<!-- ATS levers activation on ground trigers TO/GA mode
ATS levers activation inflight engages SPD mode -->
<Element>
<Select>
<Value>(A:SIM ON GROUND, bool) (L:ATS levers, bool) if{ (>L:ATS TOGA, bool) }</Value>
</Select>
</Element>
<Element>
<Select>
<Value>(L:ATS TOGA, bool) if{ (>K:AUTO_THROTTLE_TO_GA) }</Value>
</Select>
</Element>
<Mouse>
<Area Left="50" Top="143" Width="463" Height="289">
<Help ID="HELPID_AUTOPILOT_AUTOTHROTTLE"/>
<Cursor Type="Hand"/>
<Click>(L:ATS levers, bool) ! (>L:ATS levers, bool) }</Click>
</Area>
</Mouse>
</Gauge>
If someone can help me, please? It's been a three days struggle for me.
Thanks, Miloš
Last edited: