I have started to try and get my head around XML, with a view to try and get the startup of the Caravan 208 looking a bit more realistic. I have setup a switch to represent the external power starter with a view to having a higher NG spin up during the start. My switch is set to change L:ExtPower from 0 to 4.
This looks good until the engine starts, then it goes off the scale until you set L:ExtPower to 0 again.
So I tried having two different scales for the gauge.
but this just uses the first scale and ignores the 'els'? I have moved the (L:ExtPower, bool) 4 == if{ all over the place and get different results, but not what im looking for.
can this be done? any help pointers would be great
Code:
<Value>(L:ExtPower, bool) 4 == if{ (A:TURB ENG1 N1, percent) * 1.500 } els{ (A:TURB ENG1 N1, percent) } </Value>
So I tried having two different scales for the gauge.
Code:
<Value>(A:TURB ENG1 N1, percent)</Value>
<Nonlinearity>
(L:ExtPower, bool) 4 == if{
<Item Value="0" X="51" Y="242"/>
<Item Value="6" X="23" Y="204"/>
<Item Value="12" X="9" Y="153"/>
<Item Value="20" X="19" Y="92"/>
<Item Value="40" X="92" Y="25"/>
<Item Value="60" X="130" Y="16"/>
<Item Value="65" X="181" Y="12"/>
<Item Value="80" X="282" Y="125"/>
<Item Value="100" X="250" Y="246"/>
} els{
<Item Value="0" X="20" Y="203"/>
<Item Value="20" X="20" Y="203"/>
<Item Value="40" X="20" Y="203"/>
<Item Value="60" X="20" Y="203"/>
<Item Value="80" X="20" Y="203"/>
<Item Value="100" X="20" Y="203"/>
}
</Nonlinearity>
can this be done? any help pointers would be great







