Fuel Selectors
-
- Posts: 12
- Joined: Mon Feb 12, 2018 8:52 pm
Fuel Selectors
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
Mikindian
-
- Site Admin
- Posts: 1728
- Joined: Mon Sep 08, 2008 4:18 pm
Re: Fuel Selectors
does your default aircraft have them on?
-
- Posts: 12
- Joined: Mon Feb 12, 2018 8:52 pm
Re: Fuel Selectors
Yes. I have tried them directly and with SHIFT+2.
Ciao, Michael
Ciao, Michael
-
- Posts: 12
- Joined: Mon Feb 12, 2018 8:52 pm
Re: Fuel Selectors
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
Mikindian
-
- Site Admin
- Posts: 1728
- Joined: Mon Sep 08, 2008 4:18 pm
Re: Fuel Selectors
What is your default saved flight?
-
- Posts: 3446
- Joined: Sat Mar 13, 2010 7:38 pm
Re: Fuel Selectors
The default flight is irrelevant. The cold and dark is not setting the fuel selectors. Likely hasn't been coded to.
-
- Posts: 12
- Joined: Mon Feb 12, 2018 8:52 pm
Re: Fuel Selectors
I suppose that you are not waiting for my answer.
-
- Posts: 3446
- Joined: Sat Mar 13, 2010 7:38 pm
Re: Fuel Selectors
Your answer isn't needed . Given how the cold and dark code works, it is on our side, no question.
-
- Site Admin
- Posts: 1728
- Joined: Mon Sep 08, 2008 4:18 pm
Re: Fuel Selectors
it's not likely to be fixed at this point though... Sorry.
-
- Posts: 12
- Joined: Mon Feb 12, 2018 8:52 pm
Re: Fuel Selectors
Surprised, shocked, disappointed but confident.
Scarlett O'hara docet: "After all... tomorrow is another day!"
Mikindian
.
Scarlett O'hara docet: "After all... tomorrow is another day!"
Mikindian
.
-
- Posts: 1023
- Joined: Mon Sep 06, 2010 3:47 pm
Re: Fuel Selectors
Um, yes it is scripted. When C&D is set as the default for first load, the following take place:JonathanBleeker wrote: ↑Tue Nov 20, 2018 1:08 pmThe default flight is irrelevant. The cold and dark is not setting the fuel selectors. Likely hasn't been coded to.
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)
Next the aircraft's two visual selectors are set to OFF
-
- Posts: 3446
- Joined: Sat Mar 13, 2010 7:38 pm
Re: Fuel Selectors
Need to double check if it is getting hit though.
- ThomasAH
- Posts: 90
- Joined: Wed Dec 20, 2017 4:45 pm
Re: Fuel Selectors
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:
I haven't checked how the C310 behaves here.
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)
}
- ThomasAH
- Posts: 90
- Joined: Wed Dec 20, 2017 4:45 pm
Re: Fuel Selectors
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.