• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

FSXA Twin Engine Starter Issue (RESOLVED)

Milton_Shupe

Resource contributor
Messages
331
Country
us-newmexico
Problem:Beech D18S starter sequence does not work correctly in FSX/P3D

Background: Procedure is to select the Master starter, then Engine Start Selector 1 or 2, then the Starter button

Symptoms: Engine starter makes some noise but does not turn over. Sometimes if you move the start selector to the other engine or to Neutral, the engine may start. The starter logic seems to be flawed.

Attaching a screen shot of the electrical panel for a visual, and the code of the three gauges in the order selected.

Any help on this issue will be immensely appreciated. :-)

Code:
<Gauge Name="Start Master Switch" Version="1.0">
   <Element>
      <Select>
         <Value>(L:Start Master,bool)</Value>
         <Case Value="0">
            <Image Name="HW_Sw_off.bmp" ImageSizes="29,40"/>
         </Case>
         <Case Value="1">
            <Image Name="HW_Sw_on.bmp" ImageSizes="29,40"/>
         </Case>
      </Select>
   </Element>
   <Mouse>
      <Tooltip> Start Master </Tooltip>
      <Cursor Type="Hand"/>
    <Click>(L:Start Master, bool) ! (>L:Start Master, bool)</Click>
   </Mouse>

</Gauge>

Code:
<Gauge Name="Start Selector" Version="1.0">
   <Element>
      <Select>
         <Value>(L:Start Selector, enum)</Value>
         <Failures>
            <SYSTEM_ELECTRICAL_PANELS Action="0"/>
         </Failures>
         <Case Value="0">
            <Image Name="HW_Start_Ctr.bmp" ImageSizes="56,29"/>
         </Case>
         <Case Value="1">
            <Image Name="HW_Start_Right.bmp" ImageSizes="56,29"/>
         </Case>
         <Case Value="2">
            <Image Name="HW_Start_Left.bmp" ImageSizes="56,29"/>
        </Case>
      </Select>
   </Element>
   <Mouse>
      <Tooltip> Starter selector </Tooltip>
      <Cursor Type="Hand"/>
      <Click>(L:Start Selector, enum) ++ d 2 > if{ 0 } (>L:Start Selector, enum)</Click>
   </Mouse>
</Gauge>

Code:
<Gauge Name="Starter" Version="1.0">
   <Element>
      <Select>
        <Value>(G:Var1) if{ (L:Start Selector, enum) 1 == if{ (A:Circuit general panel on, bool) (A:GENERAL ENG2 RPM,RPM) 500 &lt; &amp;&amp; if{ 0 (&gt;K:TOGGLE_STARTER2) } els{ (G:Var1) -- (&gt;G:Var1) } } (G:Var1) 0 != (A:General eng2 starter, bool) || } if{ (L:Start Selector, enum) 2 == if{ (A:Circuit general panel on, bool) (A:GENERAL ENG1 RPM,RPM) 500 &lt; &amp;&amp; if{ 0 (&gt;K:TOGGLE_STARTER1) } els{ (G:Var1) -- (&gt;G:Var1) } } (G:Var1) 0 != (A:General eng1 starter, bool) || }</Value>
         <Case Value="0">
            <Image Name="Start_Off.bmp"/>
         </Case>
         <Case Value="1">
            <Image Name="Start_On.bmp"/>
         </Case>
      </Select>
   </Element>
   <Mouse>
      <Help ID="HELPID_GAUGE_STARTER_SWITCH"/>
      <Cursor Type="Hand"/>
      <Click>(L:Start Master, bool) if{ 3 (&gt;G:Var1) }</Click>
   </Mouse>
</Gauge>
 

Attachments

  • starter issue.jpg
    starter issue.jpg
    37.7 KB · Views: 393
Hi Milton,
Everything looks good except possibly the starter pushbutton. Couldn't follow the logic except for the possibility that the actual starter motor would disengage above 500 rpm.
Rewrote the code hopefully following what the original designer intended but not enough time this morning to test.
Changed 2 things, mostly visually. The pushbutton can be held down (repeat) to help in starting, there is no restriction on RPM, the pushbutton will reflect a starter engage upon CTRL-E & finally, changed it's delay to returning up to 1/2 second
As you know the built in starter system of FS basically sucks, we've been up this tree many times. :D:stirthepo :wave:
Hopefully this helps,
Have a good weekend!

Roman

EDIT - Found some time to test.. (Using FSX only) The code below works, in both VC and the 2D popup. The original had 2 problems - The left/right selector seemed reversed and the big one, when the starter was engaged it flooded turning the starter on-off-on-off-on-off-on-off-on-off-on-off-on-off-on-off-on-off-on-off-on-off-on-off-on-off etc.. never getting enough "oomph" to actually turn the engine over. In FS9 this probably would have worked fine. When the selector was put to a different engine or off the flooding would cease and the previous selected (opposite?) engine would start.

BTW - was actually able to decrease :) the starter torque and it still starts albeit with 80* temps.
normalized_starter_torque = 0.258 // 0.458

She looks GREAT!

Code:
<Gauge Name="Starter" Version="1.0">

    <Update>
(L:Start Master, bool) (A:Circuit general panel on, bool) (G:Var1) 0 != (L:Start Selector, enum) 0 != and and and if{ (L:Start Selector, enum) sp1 }
l1 2 == (A:GENERAL ENG1 STARTER, bool) ! and if{ (&gt;K:TOGGLE_STARTER1) }
l1 1 == (A:GENERAL ENG2 STARTER, bool) ! and if{ (&gt;K:TOGGLE_STARTER2) }
(G:Var1) 0 != if{ (G:Var1) -- 0 max (&gt;G:Var1) }
    </Update>

    <Element>
        <Select>
            <Value>(G:Var1) 0 != (A:GENERAL ENG1 STARTER, bool) (A:GENERAL ENG2 STARTER, bool) || ||</Value>
            <Case Value="0">
                <Image Name="Start_Off.bmp"/>
            </Case>
            <Case Value="1">
                <Image Name="Start_On.bmp"/>
            </Case>
        </Select>
    </Element>
    <Mouse>
        <Help ID="HELPID_GAUGE_STARTER_SWITCH"/>
        <Cursor Type="Hand"/>
        <Click Repeat="Yes">9 (&gt;G:Var1)</Click>
    </Mouse>
</Gauge>
 
Last edited:
Roman, I was not able to get this to work. Can you email me the complete gauge just to ensure I haven't hosed up the updates.

EDIT: Nevermind :-) She's working great! You, Sir, are the man! :-) been fighting this gauge for a long time.
 
Just a followup: Testers say this is working fine in FS9 and FSX. However, P3D v3 users are getting different results. Starter button stays down until selector is moved. Engine then starts, and starter button comes up. Then you must move the selector switch again to start the other engine. Strange.

EDIT1: P3D v4 is verified to work okay.

EDIT2: FALSE ALARM Users had an old copy of the gauge in their P3D/Gauges folder.

Gauge works fine in all versions tested now.
 
Last edited:
Great! LM created a nightmare when they changed the gauges "look for" priority to the gauges folder instead of the panel folder. :banghead:
 
Roman, did you by chance download the FSX Native F8F Bearcat I uploaded last week to SOH? It has a basic gauge need to hide/show bombs and rockets. I used the same xml logic and name as the A-20 for the parts but could not put the code together to hide/display the bombs and rockets.

EDIT: The bombs and rockets are in teh model and hidden by default. The doc folder has the setup and gauge requirements specified for anyone who can do that gauge.
 
Back
Top