- Messages
- 371
- Country

Hi,
I don't understand why some instructions of my code don't work when I am in 2D cockpit (F10) then they work in virtual cockpit with the 2D panel displayed.
I have a xml gauge, without bitmap, which mnage the aircraft fuel system.
I have created in this gauge a header which set the aircraft in cold & dard situation at start of the fly.
So i have write the code for a real engine startup procedure; all work fine in when I am in virtual cokpit, but when I am in 2D cockpit (F10) some instructions are not executed.
in exemple, When the engine is started, I want to turn on the hydraulic pump and the engine geneartor.
I have wrote thses lines :
That's work good in VC but when I am in 2D cockpit, the hydraulic pump buttons and the generator switches don't turn on !
What is the possible reason of this bug ?
Thank you for your help.
Note : the aircraft that I modify is the Project Airbus A321
I don't understand why some instructions of my code don't work when I am in 2D cockpit (F10) then they work in virtual cockpit with the 2D panel displayed.
I have a xml gauge, without bitmap, which mnage the aircraft fuel system.
I have created in this gauge a header which set the aircraft in cold & dard situation at start of the fly.
So i have write the code for a real engine startup procedure; all work fine in when I am in virtual cokpit, but when I am in 2D cockpit (F10) some instructions are not executed.
in exemple, When the engine is started, I want to turn on the hydraulic pump and the engine geneartor.
I have wrote thses lines :
20 25 (A:Turb Eng1 N2,percent) rng (A:Hydraulic Switch:1, bool) 1 != and if{ 1 (>K:HYDRAULIC_SWITCH_TOGGLE) }
20 25 (A:Turb Eng2 N2,percent) rng (A:Hydraulic Switch:2, bool) 1 != and if{ 2 (>K:HYDRAULIC_SWITCH_TOGGLE) }
2400 2500 (A:Eng hydraulic pressure:1,psi) rng (A:General Eng1 Generator Switch, bool) 1 != and if{ 1 (>K:TOGGLE_ALTERNATOR1) }
2400 2500 (A:Eng hydraulic pressure:2,psi) rng (A:General Eng2 Generator Switch, bool) 1 != and if{ 1 (>K:TOGGLE_ALTERNATOR2) }
That's work good in VC but when I am in 2D cockpit, the hydraulic pump buttons and the generator switches don't turn on !
What is the possible reason of this bug ?
Thank you for your help.
Note : the aircraft that I modify is the Project Airbus A321
Last edited:


