December 4, 200421 yr Hi,I am looking for a gauge with only audible effects, so no bitmapneeded.Im looking for a gauge that monitors the engine N1.If it is approx 4-5 minuts above 100%, an alarm should be heard.Perhaps this can be done in an invisble XML gauge?Johan[A HREF=http://jdserver.no-ip.com]Personal Server[/A]or..http://62.238.33.10
December 4, 200421 yr Author Hi,Do you have Doug's Sound gauge?In that case you can use something like(not tested):(A:TURB ENG1 CORRECTED N1, percent) 100 < if{ 0 (>G:Var1) } (A:TURB ENG1 CORRECTED N1, percent) 100 > if{ (G:Var1) 0 == if{ 1 (>G:Var1) (P:Absolute Time,minutes) 5 + (>G:Var2) } } els{ 0 (>G:Var1) } (G:Var1) 1 == if{ (P:Absolute Time,minutes) (G:Var2) > if{ 1 (>L:N1warning,number) } }N1warning is the sound and parameter in Doug's sound.ini file.Hope it helps,Jan"Beatus Ille Procul Negotiis" Jan "Beatus ille qui procul negotiis..."
December 4, 200421 yr Euh.. sorry?I dont have Dougs files, nor have any clue about XML..Just hoped some helpfull captain, like you, could make something..Johan[A HREF=http://jdserver.no-ip.com]Personal Server[/A]or..http://62.238.33.10
December 4, 200421 yr Author Johan,A C++ Programmer could build such a gauge..., well i'm not.Just a rookie in XML.In XML there are some possibility's to generate a sound.Look for Doug Dawson in the library and download his sound gauge and get familiar with the instructions.In theory you can make as many sounds as you want.Concerning the xml gauge, this will do:(A:TURB ENG1 CORRECTED N1, percent) 100 < if{ 0 (>G:Var1) } (A:TURB ENG1 CORRECTED N1, percent) 100 > if{ (G:Var1) 0 == if{ 1 (>G:Var1) (P:Absolute Time,minutes) 5 + (>G:Var2) } } els{ 0 (>G:Var1) } (G:Var1) 1 == if{ (P:Absolute Time,minutes) (G:Var2) > if{ 1 (>L:N1warning,number) } }"Something else"etc.I hope you can extract a gauge.zip with xml gauges.Take one xml file, make a copy and call it N1 warning.Open it with Notepad and erase all text; then paste the new text, see upstairs, in it and save it in the panel section of your acftIn the panel.cfg, in the main section, add:gaugexx=!N1 warning, x,y,zAlso you must have of course the xml sound gauge!Hope it helps,Jan"Beatus Ille Procul Negotiis" Jan "Beatus ille qui procul negotiis..."
December 4, 200421 yr Ok, I got the soundgauge from Doug. Adding it to a panel isnt also a problem, but then it comes.. :-((A:TURB ENG1 CORRECTED N1, percent) 100 < if{ 0 (>G:Var1) } (A:TURB ENG1 CORRECTED N1, percent) 100 > if{ (G:Var1) 0 == if{ 1 (>G:Var1) (P:Absolute Time,minutes) 5 + (>G:Var2) } } els{ 0 (>G:Var1) } (G:Var1) 1 == if{ (P:Absolute Time,minutes) (G:Var2) > if{ 1 (>L:N1warning,number) } } <<<---------is this the reference to the sound to play???"Something else" <<------------can I skip this?etc. <<---------??Of course I am puzzled with this, but maybe I will succeed..Johan[A HREF=http://jdserver.no-ip.com]Personal Server[/A]or..http://62.238.33.10
December 4, 200421 yr Author Johan,The "something else and etc." means a lot of the same with different parameters.You can have in that one xml gauge over 300 elements with in each element another function.For example you can take the EGT, Oil pressure, etc. and give them values beyond them there will go an alarm or a bitmap becomes visible etc. etc.Your imagination is the limit.Download the Panels SDK and start building your own gauges.Sometimes more fun than flying.....As an example:(A:TURB ENG1 CORRECTED N1, percent) 100 < if{ 0 (>G:Var1) } (A:TURB ENG1 CORRECTED N1, percent) 100 > if{ (G:Var1) 0 == if{ 1 (>G:Var1) (P:Absolute Time,minutes) 5 + (>G:Var2) } } els{ 0 (>G:Var1) } (G:Var1) 1 == if{ (P:Absolute Time,minutes) (G:Var2) > if{ 1 (>L:N1warning,number) } } (A:GENERAL ENG1 OIL TEMPERATURE,CELSUIS) 100 < if{ 0 (>G:Var3) } (A:GENERAL ENG1 OIL TEMPERATURE,CELSUIS) 100 > if{ (G:Var3) 0 == if{ 1 (>G:Var3) (P:Absolute Time,minutes) 2 + (>G:Var3) } } els{ 0 (>G:Var3) } (G:Var3) 1 == if{ (P:Absolute Time,minutes) (G:Var4) > if{ 1 (>L:OILTEMPwarning,number) } } ETC.(L:N1warning,number) and (L:OILTEMPwarning,number) are the LVar's in Doug's ini file, so:[Config][sounds]Sound00=./your sound/N1warning.wavSound01=./your sound/OILTEMPwarning.wavetc.and[LVars]Lvar00=N1warningLvar01=OILTEMPwarningetc.Mind the G:Var's, there are only 9, so you can beter make your own custom L variables like (L:Johan1,bool) (L:Johan2,enum) etc.Here you can use any string you want.Jan"Beatus Ille Procul Negotiis" Jan "Beatus ille qui procul negotiis..."
Create an account or sign in to comment