Archived

This topic is now archived and is closed to further replies.

Recommended Posts

All,I've been trying to find out how to add an APU to a panel or find a utility already published that you can add to a pre-existing panel. Any help would be great. Thanks.-Greg

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

None that I know of mate, and I've been searching for quite some time!Best bet would be to XML your own, if you don't know how find a freeware one out there that works well for you and just tag it onto what you want assuming you're only using it for yourself. :( Good Luck.

Share this post


Link to post
Share on other sites
None that I know of mate, and I've been searching for quite some time!Best bet would be to XML your own, if you don't know how find a freeware one out there that works well for you and just tag it onto what you want assuming you're only using it for yourself. :( Good Luck.
Thanks,Is there a good XML editing tutorial out there? I'm not knowledgable enough to build my own. Thanks again.-Greg

Share this post


Link to post
Share on other sites

Yea man there are a few, but it'll take quite a long time I've been doing XML for quite a while and I still don't have APU's down 100%.If you go to www.fs2x.com there's loads of good tutorials to start off with there and understand XML. There's a few sample gauges there too.As far as a tutorial just for APU there isn't one and there really isn't anything out there to teach you how to make one except using other peoples APU gauges as examples to learn from.Hope that helps good luck mate!

Share this post


Link to post
Share on other sites

Hi,FSX or fs9 (the sim i use)?FSX seems to have an APU.It depends what you want.A fake switch somewhere on your panel or a functioning one?In the latter case be prepared to build complete new custom systems (elec, fiel air. etc.)Well, and that is just fun!Jan

Share this post


Link to post
Share on other sites

Jan you seem to be knowledgable about this topic, could you look this gauge over and let me know what I'm doing wrong here, it's one of my APU gauges that I can't seem to get to work exactly the way I want it too, it's acting like a dummy not an actual APU all it is doing is fliping the switch and no EGT or N2 indication or anything else.

CODE
<Gauge Name="APU Panel" Author="Engjell Berisha"> <Element> <Image Name="APU-Main.bmp"/> <Size X="249" Y="172"/> <Element> <Position X="135" Y="20"/> <Select> <Value Minimum="0" Maximum="2">(L:APU Starter,enum)</Value> <Case Value="0"> <Image Alpha="No" Name="OFF.bmp"> </Image> </Case> <Case Value="1"> <Image Alpha="No" Name="RUN.bmp"> </Image> </Case> <Case Value="2"> <Image Alpha="No" Name="START.bmp"> </Image> </Case> </Select> </Element> <Mouse> <Area Left="0" Right="249" Top="0" Bottom="172"> <Area Left="140" Right="160" Top="30" Bottom="50"> <Cursor Type="UpArrow"/> <Click Kind="LeftSingle">(L:APU Starter,enum) 0 > if{ (L:APU Starter,enum) ++ (>L:APU Starter,enum) } 0 (>L:APU Bus,bool)</Click> </Area> <Area Left="140" Right="160" Top="55" Bottom="75"> <Cursor Type="DownArrow"/> <Click Kind="LeftSingle">(L:APU Starter,enum) 0 > if{ (L:APU Starter,enum) -- (>L:APU Starter,enum) } 0 (>L:APU Bus,bool)</Click> </Area> </Area> </Mouse> <Element> <Position X="0" Y="0"/> <Element> <Position X="0" Y="0"/> <Select> <Value>(L:APU Starter,enum) 1 == (L:APU Starter,enum) 2 == and and if{ 1 (>L:APU EGT,number) }</Value> </Select> </Element> <Element> <Position X="54" Y="53"/> <FormattedText X="140" Y="20" Font="Glass Gauge" Adjust="Left" FontSize="13" Color="#00FF00" Bright="Yes"> <String>%((L:APU EGT,number))%!4d!</String> </FormattedText> </Element> <Element> <Position X="54" Y="53"/> <FormattedText X="140" Y="20" Font="Glass Gauge" Adjust="Left" FontSize="13" Color="#00FF00" Bright="Yes"> <String>%((L:APU EGT,number))%!4d!</String> </FormattedText> </Element> </Element> <Element> <Position X="0" Y="0"/> <Element> <Position X="0" Y="0"/> <Select> <Value>(L:APU Starter,enum) 1 == (L:APU Starter,enum) 2 == and and if{ 1 (>L:APU RPM,number) }</Value> </Select> </Element> <Element> <Position X="54" Y="29"/> <FormattedText X="140" Y="20" Font="Glass Gauge" Adjust="Left" FontSize="13" Color="#00FF00" Bright="Yes"> <String>%((L:APU RPM,number))%!2.1f!</String> </FormattedText> </Element> <Element> <Position X="54" Y="29"/> <FormattedText X="140" Y="20" Font="Glass Gauge" Adjust="Left" FontSize="13" Color="#00FF00" Bright="Yes"> <String>%((L:APU RPM,number))%!2.1f!</String> </FormattedText> </Element> </Element> <Element> <Position X="0" Y="0"/> <Visible>(A:Circuit general panel on, bool)</Visible> <Element> <Visible>(A:ENG1 N2 RPM, percent) 90 >=</Visible> <Position X="15" Y="29"/> <Select> <Image Name="WARN-1.bmp"/> </Select> </Element> <Element> <Visible>(A:GENERAL ENG1 EXHAUST GAS TEMPERATURE, celsius) 200 >=</Visible> <Position X="15" Y="53"/> <Select> <Image Name="WARN-HOT.bmp"/> </Select> </Element> <Element> <Visible>(A:GENERAL ENG3 FUEL PRESSURE, psi) 10 <=</Visible> <Position X="98" Y="138"/> <Select> <Image Name="WARN-LOW.bmp"/> </Select> </Element> </Element> </Element> <copyright>

Share this post


Link to post
Share on other sites

Hi,Have no idea about your system logic, but i rewrote the code a little bit, without testing.Maybe it helps a little bit:<Gauge><Image name="APU-Main.bmp"/><Element><Position X="135" Y="20"/><Select><Value>(L:APU Starter,enum) 1 == (L:APU Starter,enum) 2 == and if{ 1 (>L:APU EGT,number) 1 (>L:APU RPM,number) } (L:APU Starter,enum)</Value><Case Value="0"><Image Name="OFF.bmp"/></Case><Case Value="1"><Image Name="RUN.bmp"/></Case><Case Value="2"><Image Name="START.bmp"/></Case></Select></Element><Element><Position X="54" Y="29"/><FormattedText X="140" Y="40" Font="Glass Gauge" Linespacing="14" Adjust="Left" FontSize="13" Color="#00FF00" Bright="Yes"><String>%((L:APU RPM,number))%!2.1f!\n%((L:APU EGT,number))%!4d!</String></FormattedText></Element><Element><Visible>(A:Circuit general panel on, bool) (A:GENERAL ENG1 EXHAUST GAS TEMPERATURE, celsius) 200 >= and</Visible><Position X="15" Y="53"/><Image Name="WARN-HOT.bmp"/></Element><Element><Visible>(A:Circuit general panel on, bool) (A:ENG1 N2 RPM, percent) 90 >= and</Visible><Position X="15" Y="29"/><Image Name="WARN-1.bmp"/></Element><Element><Visible>(A:Circuit general panel on, bool) (A:GENERAL ENG3 FUEL PRESSURE, psi) 10 <= and</Visible><Position X="98" Y="138"/><Image Name="WARN-LOW.bmp"/></Element><Mouse><Area Left="140" Right="160" Top="30" Bottom="50"><Cursor Type="UpArrow"/><Click Kind="LeftSingle">(L:APU Starter,enum) 0 > if{ (L:APU Starter,enum) ++ (>L:APU Starter,enum) } 0 (>L:APU Bus,bool)</Click></Area><Area Left="140" Right="160" Top="55" Bottom="75"><Cursor Type="DownArrow"/><Click Kind="LeftSingle">(L:APU Starter,enum) 0 > if{ (L:APU Starter,enum) -- (>L:APU Starter,enum) } 0 (>L:APU Bus,bool)</Click></Area></Mouse></Gauge>Jan

Share this post


Link to post
Share on other sites

Your gauge did steer me in the right direction I think, here's another APU gauge I came up with after comparing yours, mine, and a few others.----------------------------------------------APU------------------------------------------------------------------<Gauge Name="APU Panel" Author="Engjell Berisha"> <Element> <Image Name="APU-Main.bmp"/> <Element> <Position X="135" Y="20"/> <Select> <Value>(L:APU,bool) 1 == (L:APU,bool) 2 == and if{ 1 (>L:APU EGT,number) 1 (>L:APU RPM,number) } (L:APU,bool) </Value> <Case Value="0"><Image Name="OFF.bmp"/></Case> <Case Value="1"><Image Name="START.bmp"/></Case> <Case Value="2"><Image Name="RUN.bmp"/></Case>> </Select> </Element> <Element> <Select> <Value>(L:APU,enum) 1 != if{ (P:ABSOLUTE TIME, seconds) (>G:Var1) }</Value> </Select> </Element> <Element> <Select> <Value>(L:APU,enum) if{ (P:ABSOLUTE TIME, seconds) (G:Var1) - (>G:Var2) }</Value> </Select> </Element> <Element> <Select> <Value>(G:Var2) 3 > if{ 2 (>L:APU,enum) }</Value> </Select> </Element> <Element> <Visible>(A:Circuit general panel on, bool)</Visible><Element><Position X="70" Y="30"/><FormattedText X="150" Y="50" Font="Glass Gauge" Linespacing="50" Adjust="Left" FontSize="15" Color="#00FF00" Bright="NO"><String>%((L:APURPM,number))%!2.1f!\n%((L:APUEGT,number))%!4d!</String></FormattedText></Element> </Element> <Element> <Visible>(A:Circuit general panel on, bool)</Visible> <Element> <Visible>(L:APURPM,number) 90 >=</Visible> <Position X="15" Y="29"/> <Select> <Image Name="WARN-1.bmp"/> </Select> </Element> <Element> <Visible>(L:APUEGT,number) 700 >=</Visible> <Position X="15" Y="53"/> <Select> <Image Name="WARN-HOT.bmp"/> </Select> </Element> <Element> <Visible>(A:GENERAL ENG3 FUEL PRESSURE, psi) 10 <=</Visible> <Position X="98" Y="138"/> <Select> <Image Name="WARN-LOW.bmp"/> </Select> </Element> </Element> </Element> <Mouse> <Area Left="140" Right="160" Top="30" Bottom="75"><Cursor Type="Hand"/> <Click>1 (>L:C17, number) (L:APU,enum) ++ d 3 < * (>L:APU,enum)(L:APU,enum) 0 == if{ 0 (>L:APU-R,number) 0 (>L:APU-S,number) }(L:APU,enum) 1 == if{ 0 (>L:APU-R,number) 1 (>L:APU-S,number) }(L:APU,enum) 2 == if{ 1 (>L:APU-R,number) 1 (>L:APU-S,number) }</Click> </Area> </Mouse> <copyright>©2009 Engjell Berisha</copyright></Gauge>----------------------------------------------APU------------------------------------------------------------------And I have another gauge to drive the N2 RPM-----------------------------------------------------APU-N2-----------------------------------------------------------<Gauge Name="APU-N2" Author="Engjell Berisha"> <Image Name="TRANSPARENT.bmp"/><Value> (L:APU-R,number) 1 == (L:APU-S,number) 1 == (L:APU,enum) 1 == (L:APURPM,number) 0.9 < and and and if{ (L:APURPM,number) 0.1 + (>L:APURPM,number) }</Value></Gauge>-----------------------------------------------------APU-N2-----------------------------------------------------------It works graphically - your gauge didn't when I tried it as you'd writen it - but as far as functionally the APU, isn't. :(

Share this post


Link to post
Share on other sites

Hi Greg,I am also looking for something like that for FS9. I need it to add to my Learjet45 panel to make things a little bit more realistic.Never found one, and trying to use it from another panel did not work fo me. I need to be able to use it with key presses too, mouse only is not applicable for me because I do not have the FS panel visible. My cockpit is all hardware, so nowhere to point and click....Please let me know if you found or created one.Thanks,Jaap

Share this post


Link to post
Share on other sites

Just so you know, you can create a FAKE APU for FS9, but......it will never, ever actually provide electrical power... :(

Share this post


Link to post
Share on other sites

Not really a concern to me. It's more that I can simulate a real start-up by going through the motions, and hearing the sounds that go with it..

Share this post


Link to post
Share on other sites