August 24, 20196 yr Hello there ! Fed up with the magneto bar not functioning properly ? Like, you can't even switch off all the magnetos at once... Proceed as follows : 1/ Please add the following line in the panel.cfg file for the C421, in the [VCockpit04] section gaugexx=GAUGE_C421!Gauge_UPDATE_DIG_GP, 0, 0, 1, 1 where you will replace xx by the number immediately after the last gauge of the section (most probably xx=06) If you are not sure of what you are doing, please keep a backup of your panel.cfg before making any change here. 2/ create a GAUGE_C421 folder in the panel folder for the C421 3/ create a GAUGE_UPDATE_DIG_GP.xml file in that new folder and edit it with Notepad 4/ insert following code in the newly created xml file : <?xml version="1.0" encoding="UTF-8"?> <SimBase.Document Type="AceXML" version="1,0" id="Gauge_UPDATE_DIG_GP"> <Descr>AceXML Document</Descr> <Filename>Gauge_UPDATE_DIG.xml</Filename> <SimGauge.Gauge id="Gauge_UPDATE_DIG_GP" ArtDirectory="."> <FloatPosition>0.000,0.000</FloatPosition> <Size>1,1</Size> <Image id="Gauge_UPDATE_DIG_GP" Name="Gauge_UPDATE_DIGNOP_GP"> <Transparent>True</Transparent> </Image> <Update id="GANG_BAR_BOTTOM"> <Script> (P:local time,seconds) (L:ASD_LEVER_C421_GANG_BAR2_TIMER,number) 0.5 - 0.1 + < if{ (A:Recip eng left magneto:1,bool) (A:Recip eng right magneto:1,bool) or if{ (A:Recip eng left magneto:1,bool) if{ 1 (>L:BUFFER_CLICK1_METALIC,number) } (A:Recip eng right magneto:1,bool) if{ 1 (>L:BUFFER_CLICK1_METALIC,number) } (>K:MAGNETO1_OFF) } (A:Recip eng left magneto:2,bool) (A:Recip eng right magneto:2,bool) or if{ (A:Recip eng left magneto:2,bool) if{ 1 (>L:BUFFER_CLICK1_METALIC,number) } (A:Recip eng right magneto:2,bool) if{ 1 (>L:BUFFER_CLICK1_METALIC,number) } (>K:MAGNETO2_OFF) } } </Script> </Update> </SimGauge.Gauge> </SimBase.Document> 5/ save 6/ reload your aircraft in the sim 7/ enjoy ! If that does not work for you or if I speak Chinese, let me know in a message and I'll send you the files. Have fun and contribute to the community ! G. Edited August 24, 20196 yr by gpxe
August 25, 20196 yr Hi, I've noticed for a long time that the battery bar is working and the magneto bar does not. So your mod is pretty cool to fix that. BUT unfortunately it does not work for me, i don't know why. Under investigation... Win 10 Pro | P3Dv4.5 | X-Plane 11 | MSFS 2020 | I5-9600K @ 4.8GHz | RTX 2070 8GB | 32GB RAM | SSD | T.16000M
August 26, 20196 yr Excellent! Thank you very much, it works perfectly On 8/25/2019 at 9:41 AM, Raller said: BUT unfortunately it does not work for me, i don't know why. Under investigation... Don't forget to save the XML file in the correct format (UTF-8) after editing it with the Notepad. Greetings Tim My files on Flightsim.to i5 12600K | 32Gb | RTX 4080
August 26, 20196 yr I found the solution. Believe it or not, if i copy and paste the code to Notepad++, after the last letter in this row ".......0.5 - 0.1 + < if{ " there is a hidden sign (mayby a line feed or carriage return). After i deleted this hidden sign from the code, everything works fine. Thanks for this mod. Win 10 Pro | P3Dv4.5 | X-Plane 11 | MSFS 2020 | I5-9600K @ 4.8GHz | RTX 2070 8GB | 32GB RAM | SSD | T.16000M
August 26, 20196 yr Works nicely.. Thanks! Just a question... is 0.5 - 0.1 + < not the same as 0.4 - < ?? Edited August 26, 20196 yr by Bert Pieke Bert
September 5, 20196 yr Author On 8/27/2019 at 12:30 AM, Bert Pieke said: Works nicely.. Thanks! Just a question... is 0.5 - 0.1 + < not the same as 0.4 - < ?? Indeed it should be... thta's the result of many tryouts !
Archived
This topic is now archived and is closed to further replies.