• There seems to be an uptick in Political comments in recent months. Those of us who are long time members of the site know that Political and Religious content has been banned for years. Nothing has changed. Please leave all political and religious comments out of the forums.

    If you recently joined the forums you were not presented with this restriction in the terms of service. This was due to a conversion error when we went from vBulletin to Xenforo. We have updated our terms of service to reflect these corrections.

    Please note any post refering to a politician will be considered political even if it is intended to be humor. Our experience is these topics have a way of dividing the forums and causing deep resentment among members. It is a poison to the community. We appreciate compliance with the rules.

    The Staff of SOH

  • Server side Maintenance is done. We still have an update to the forum software to run but that one will have to wait for a better time.

Magneto file problem

E

ersto55

Guest
Dear simmers,

I made a new panel for a Stinson plane, while using some gauges from other planes. For the magneto switch I used the XML gauge of the Spartan Executive. I want the plane to be loaded with the magnetos off. I tried the Cold and Dark procedure but no result magneto stands on "Both". I think it must be the XML file that holds the mistery. I don' t understand the xml language so it is for me impossible to change the gauge parameters. Is there anyone who knows this XML stuff? I put the text of the file hereby. Thanks a lot for your kind help. Greetz Erwin :applause::applause::applause:

<Gauge Name="magneto_switch" Version="1.0">
<Image Name="mag_switch_back.bmp"/>

<Element>
<Position X="46" Y="46"/>
<Image Name="mag_switch_lever.bmp" PointsTo="South">
<Axis X="4" Y="-13"/>
</Image>
<Rotate>
<Value>(A:Recip eng left magneto:1,bool) 2 * (A:Recip eng right magneto:1,bool) +</Value>
<Nonlinearity>
<Item Value="0" X="85" Y="72"/>
<Item Value="1" X="70" Y="85"/>
<Item Value="2" X="46" Y="91"/>
<Item Value="3" X="22" Y="88"/>
</Nonlinearity>
<Delay DegreesPerSecond="180"/>
</Rotate>
</Element>


<Mouse>
<Area Left="0" Top="0" Width="92" Height="92">
<Tooltip ID="TOOLTIPTEXT_ENG1_MAGNETO_SWITCH"/>
<Area Left="47">
<Cursor Type="DownArrow"/>
<Click Repeat="Yes">
(A:Recip eng left magneto:1,bool) 2 *
(A:Recip eng right magneto:1,bool) +
s0 3 ==
if{ 0 (>K:MAGNETO1_OFF) 0 (>K:MAGNETO1_LEFT) }
els{ l0 2 == if{ 0 (>K:MAGNETO1_OFF) 0 (>K:MAGNETO1_RIGHT) }
els{ l0 1 == if{ 0 (>K:MAGNETO1_OFF) }
}
}
</Click>
</Area>
<Area Right="45">
<Cursor Type="UpArrow"/>
<Click Repeat="Yes">
(A:Recip eng left magneto:1,bool) 2 *
(A:Recip eng right magneto:1,bool) +
s0 0 ==
if{ 0 (>K:MAGNETO1_OFF) 0 (>K:MAGNETO1_RIGHT) }
els{ l0 1 == if{ 0 (>K:MAGNETO1_OFF) 0 (>K:MAGNETO1_LEFT) }
els{ l0 2 == if{ 0 (>K:MAGNETO1_BOTH) }
}
}
</Click>
</Area>
</Area>

</Mouse>

</Gauge>
 

Attachments

  • mag_switch_Back.bmp
    9.3 KB · Views: 0
Back
Top