- Messages
- 10,163
- Country

Hey all,
I have posted on this before, and still having some bugs with this system. I have tried a great many different variations, but I still have the same issues.
I have a code that mimmicks (replicates) an electric planes propulsion system, ie, when you are at zero throttle, the engine (motor) stops turning, prop comes to a stand still. Give it a bit of throttle, and the motor kicks in. Very realistic.
But the bugs are that not always will it start, and sometimes, you just cant get the motor to turn off/shut down. I have experimented with mixture also into the mix of things, trying to get the darn thing to quit, but it makes a 'stutter', cycling, (like bad gas) where every 1+ second, it blips, like it just tried to stop, but keeps running (electric sound effect 'whirrr' noise still going', blip,run,blip,run, etc... To get it out of the loop, I give it a quick good throttle stab, then back to zero throttle, and sometimes that will kill the engine.
Does anyone have any idea's? Any neat tricks I could try? Something that both auto-starts and auto-stops an engine?
Also, I figure in the battery 'on' factor. If battery is turned off, the motor also dies. If zero fuel, (battery power) the motor dies, etc, (as it should, as the template is actually running on fuel).
A version of code I landed with last night, same results...
This has been a slight nightmare, as last week, I worked on this for 2 days, only to find that the gauge wasnt linked into the panel config. 8-0)))) What an 'extreme' nightmare that was.
I have posted on this before, and still having some bugs with this system. I have tried a great many different variations, but I still have the same issues.
I have a code that mimmicks (replicates) an electric planes propulsion system, ie, when you are at zero throttle, the engine (motor) stops turning, prop comes to a stand still. Give it a bit of throttle, and the motor kicks in. Very realistic.
But the bugs are that not always will it start, and sometimes, you just cant get the motor to turn off/shut down. I have experimented with mixture also into the mix of things, trying to get the darn thing to quit, but it makes a 'stutter', cycling, (like bad gas) where every 1+ second, it blips, like it just tried to stop, but keeps running (electric sound effect 'whirrr' noise still going', blip,run,blip,run, etc... To get it out of the loop, I give it a quick good throttle stab, then back to zero throttle, and sometimes that will kill the engine.
Does anyone have any idea's? Any neat tricks I could try? Something that both auto-starts and auto-stops an engine?
Also, I figure in the battery 'on' factor. If battery is turned off, the motor also dies. If zero fuel, (battery power) the motor dies, etc, (as it should, as the template is actually running on fuel).
A version of code I landed with last night, same results...
Code:
<Element>
<Select>
<Value>
(A:General eng throttle lever position:1,percent) 8 >
(A:Electrical Master Battery,bool) 1 ==
and
if{
1 (>K:ENGINE_AUTO_START,bool)
1 (>K:MIXTURE_SET_BEST,bool)
}
</Value>
</Select>
</Element>
<Element>
<Select>
<Value>
(A:General eng throttle lever position:1,percent) 5 <
(A:Electrical Master Battery,bool) 0 ==
||
if{
1 (>K:ENGINE_AUTO_SHUTDOWN,bool)
(>K:MIXTURE_SET,number) 0
}
</Value>
</Select>
</Element>
This has been a slight nightmare, as last week, I worked on this for 2 days, only to find that the gauge wasnt linked into the panel config. 8-0)))) What an 'extreme' nightmare that was.

