Fuel Selectors

mikindian
Posts: 12
Joined: Mon Feb 12, 2018 8:52 pm
Fuel Selectors

Post by mikindian » Mon Nov 19, 2018 7:22 pm

I am shutting down the plane with the fuel selectors in OFF blu position. When restarting in “Cold and Dark” the selectors are in ON red position. Hope to be helped
Mikindian

Krazycolin
Site Admin
Posts: 1728
Joined: Mon Sep 08, 2008 4:18 pm
Re: Fuel Selectors

Post by Krazycolin » Mon Nov 19, 2018 7:44 pm

does your default aircraft have them on?

mikindian
Posts: 12
Joined: Mon Feb 12, 2018 8:52 pm
Re: Fuel Selectors

Post by mikindian » Mon Nov 19, 2018 10:37 pm

Yes. I have tried them directly and with SHIFT+2.
Ciao, Michael

mikindian
Posts: 12
Joined: Mon Feb 12, 2018 8:52 pm
Re: Fuel Selectors

Post by mikindian » Tue Nov 20, 2018 5:32 am

Very, Very sorry KrazyColin but i'm forced to correct my question which is " i am shutting down the plane with the fuel selectors in OFF red position. When restarting in “Cold and Dark” the selectors are in ON blu position.
Mikindian

Krazycolin
Site Admin
Posts: 1728
Joined: Mon Sep 08, 2008 4:18 pm
Re: Fuel Selectors

Post by Krazycolin » Tue Nov 20, 2018 10:43 am

What is your default saved flight?

JonathanBleeker
Posts: 3446
Joined: Sat Mar 13, 2010 7:38 pm
Re: Fuel Selectors

Post by JonathanBleeker » Tue Nov 20, 2018 1:08 pm

The default flight is irrelevant. The cold and dark is not setting the fuel selectors. Likely hasn't been coded to.

mikindian
Posts: 12
Joined: Mon Feb 12, 2018 8:52 pm
Re: Fuel Selectors

Post by mikindian » Tue Nov 20, 2018 3:52 pm

I suppose that you are not waiting for my answer.

JonathanBleeker
Posts: 3446
Joined: Sat Mar 13, 2010 7:38 pm
Re: Fuel Selectors

Post by JonathanBleeker » Tue Nov 20, 2018 4:19 pm

Your answer isn't needed :) . Given how the cold and dark code works, it is on our side, no question.

mikindian
Posts: 12
Joined: Mon Feb 12, 2018 8:52 pm
Re: Fuel Selectors

Post by mikindian » Tue Nov 20, 2018 4:29 pm

have a god day, guys

Krazycolin
Site Admin
Posts: 1728
Joined: Mon Sep 08, 2008 4:18 pm
Re: Fuel Selectors

Post by Krazycolin » Tue Nov 20, 2018 7:41 pm

it's not likely to be fixed at this point though... Sorry.

mikindian
Posts: 12
Joined: Mon Feb 12, 2018 8:52 pm
Re: Fuel Selectors

Post by mikindian » Tue Nov 20, 2018 8:54 pm

Surprised, shocked, disappointed but confident.
Scarlett O'hara docet: "After all... tomorrow is another day!"
Mikindian
.

N4GIX
Posts: 1023
Joined: Mon Sep 06, 2010 3:47 pm
Re: Fuel Selectors

Post by N4GIX » Wed Nov 21, 2018 12:11 am

JonathanBleeker wrote:
Tue Nov 20, 2018 1:08 pm
The default flight is irrelevant. The cold and dark is not setting the fuel selectors. Likely hasn't been coded to.
Um, yes it is scripted. When C&D is set as the default for first load, the following take place:

Code: Select all

    0 (>K:FUEL_SELECTOR_SET)
    0 (>L:FuelSelectLeft, enum)
    0 (>K:FUEL_SELECTOR_2_SET)
    0 (>L:FuelSelectRight, enum)
    (>K:ENGINE_AUTO_SHUTDOWN)
First the default sim selectors are set to OFF
Next the aircraft's two visual selectors are set to OFF

JonathanBleeker
Posts: 3446
Joined: Sat Mar 13, 2010 7:38 pm
Re: Fuel Selectors

Post by JonathanBleeker » Wed Nov 21, 2018 6:44 am

Need to double check if it is getting hit though.

User avatar
ThomasAH
Posts: 90
Joined: Wed Dec 20, 2017 4:45 pm
Re: Fuel Selectors

Post by ThomasAH » Wed Nov 21, 2018 7:11 am

Mikindian, are 1. you using the "load as Cold&Dark" feature of the AMS panel, or 2. saving and reloading your aircraft in a cold&dark state after manual shutdown?

I assume the code mentioned above is only run for 1.

For 2. the aircraft might need some code similar to the following, which I wrote for the C337 and added to a custom gauge script:

Code: Select all

    (L:ControlInit,bool) 1 != if{
        1 (>L:ControlInit,bool) <!-- only once -->

        <!-- set VC front fuel tank selector -->
        (A:FUEL TANK SELECTOR 1,enum)
        d 0 != if{ d 1 != if{ p -1 } }
        (>L:KNOB_FUEL_SELECTOR_F,number)

        <!-- set VC rear fuel tank selector -->
        (A:FUEL TANK SELECTOR 2,enum)
        d 0 != if{ d 1 != if{ p -1 } }
        (>L:KNOB_FUEL_SELECTOR_R,number)
    }
I haven't checked how the C310 behaves here.

User avatar
ThomasAH
Posts: 90
Joined: Wed Dec 20, 2017 4:45 pm
Re: Fuel Selectors

Post by ThomasAH » Wed Nov 21, 2018 7:12 pm

Short notice: I can reproduce that problem by creating a Cold&Dark save file and loading it in the sim if Cold&Dark is disabled in the AMS.


Locked

Return to “310 Redux Support Forum”