- Messages
- 206
- Country

Here we go fellas.. silly questions starting now. Hit 'back' to avoid!
I'm trying to correct this gauge. I believe the idea behind it, is to allow it to function with a cold/dark state, and to require both mags to be selected, for the aircraft to start while using a custom engine start lever. I've isolated that the following bit of code is corrupt, and probably needs re-written. Maybe I can get some advice?
Currently, the aircraft won't engage both mags when the 'CTRL+E' function is used. (And will produce undesirable effects). Also, the engine will die if I turn off/on mag 1, and then turn off JUST mag 2. Otherwise I can cycle 2 with no problem...
I need to write a simple magneto gauge, to take this ones place. Any hints please?
- Joseph
I'm trying to correct this gauge. I believe the idea behind it, is to allow it to function with a cold/dark state, and to require both mags to be selected, for the aircraft to start while using a custom engine start lever. I've isolated that the following bit of code is corrupt, and probably needs re-written. Maybe I can get some advice?
Currently, the aircraft won't engage both mags when the 'CTRL+E' function is used. (And will produce undesirable effects). Also, the engine will die if I turn off/on mag 1, and then turn off JUST mag 2. Otherwise I can cycle 2 with no problem...
I need to write a simple magneto gauge, to take this ones place. Any hints please?
- Joseph
Code:
<Element>
<Select>
<Value>
(L:WATER_TEMP,enum) (A:RECIP ENG1 RADIATOR TEMPERATURE, Celsius) !=
if{
(A:RECIP ENG1 RADIATOR TEMPERATURE, Celsius) (>L:WATER_TEMP,enum)
}
(L:LEVER_STARTER,enum) 0 ==
if{
(L:BTN_MAGNETO_1,enum) 1 ==
if{
(L:BTN_MAGNETO_2,enum) 0 ==
if{
(A:RECIP ENG LEFT MAGNETO:1,enum) 0 !=
if{
(>K:MAGNETO1_LEFT,enum)
}
}
els{
(A:RECIP ENG RIGHT MAGNETO:1,enum) 0 !=
if{
(>K:MAGNETO1_BOTH,enum)
}
}
}
els{
(L:BTN_MAGNETO_2,enum) 1 ==
if{
(A:RECIP ENG RIGHT MAGNETO:1,enum) 0 !=
if{
(>K:MAGNETO1_RIGHT,enum)
}
}
els{
(A:RECIP ENG LEFT MAGNETO:1,enum) 0 !=
if{
(>K:MAGNETO1_OFF,enum)
}
}
}
}
els{
(L:BTN_MAGNETO_1,enum) 1 ==
(L:BTN_MAGNETO_2,enum) 1 == and
(A:SIM ON GROUND,enum) 1 == and
if{
(>K:MAGNETO1_START,enum)
0 (>L:LEVER_STARTER,enum)
}
}
(A:GENERAL ENG COMBUSTION:1,enum) 1 ==
if{
(L:LEVER_STARTER,enum) 1 ==
if{
0 (>L:LEVER_STARTER,enum)
}
}
</Value>
</Select>
</Element>


