Page 1 of 1

BAC 1-11, can't start the engines...

PostPosted: Sun May 18, 2008 10:37 am
by Daube
Hi all,

I have installed the BAC 1-11 from dmflightsim.com, a pure beauty.
However, I have troubles starting the engines in manual mode following the check-list.

(Engines DO start properly when using CTRL+E, though)

The Checklist basically says to set the battery ON, APU control OFF, APU manual, and then start APU. The APU then switch to START status, but never switch to RUN :-//

I followed the rest of the checklist nevertheless, and when it comes to starting the engines, the RPM never exceeds 20%, and the engin never starts :-X

What did I do wrong ?

FSX SP2, Cold&Dark mod.

Re: BAC 1-11, can't start the engines...

PostPosted: Sun May 18, 2008 2:13 pm
by Gypsy_Baron
Hi all,

I have installed the BAC 1-11 from dmflightsim.com, a pure beauty.
However, I have troubles starting the engines in manual mode following the check-list.

(Engines DO start properly when using CTRL+E, though)

The Checklist basically says to set the battery ON, APU control OFF, APU manual, and then start APU. The APU then switch to START status, but never switch to RUN :-//

I followed the rest of the checklist nevertheless, and when it comes to starting the engines, the RPM never exceeds 20%, and the engin never starts :-X

What did I do wrong ?

FSX SP2, Cold&Dark mod.


You didn't do anything wrong. AIR I had to make some changes to
the XML starter code to get the 1-11 to fire up using the 'normal'
procedure.

Being a FS9 aircraft, the way the starters worked is diferent when
put into FSX. In FS9 you had to continually execute the "K:TOGGLE_STARTER1"
and "K:TOGGLE_STARTER2" code lines to get FS9 aircraft to start.

In FSX ACES 'fixed' that code so that it is a true 'toggle'. This means that
you only need to execute that code line once to activate the starter.
You then need to test the parameters needed to determine that an
engine is started ( RPM, EGT, etc ) and then issue the toggle starter
command again to shut off the starter.

  Paul

Re: BAC 1-11, can't start the engines...

PostPosted: Sun May 18, 2008 3:30 pm
by Daube
Ah I see, thanks for the explanation.
I'm currently having a look into those xml files, starter1 and starter2. I'm a developper myself but never did XML nor FS-oriented XML. Looks fun, trying to understand :)

Re: BAC 1-11, can't start the engines...

PostPosted: Sun May 18, 2008 3:42 pm
by Daube
Wow, this has to be one of the ugliest and unintuitive langages I've ever seen. I've finally understood how it works but I still miss the FS-specific stuff. Not an easy task.

Would you explain me what change did you perform, please ?

Re: BAC 1-11, can't start the engines...

PostPosted: Sun May 18, 2008 3:46 pm
by Gypsy_Baron
Ah I see, thanks for the explanation.
I'm currently having a look into those xml files, starter1 and starter2. I'm a developper myself but never did XML nor FS-oriented XML. Looks fun, trying to understand :)


Here is the modified starter code that I am using for engine 1.
For engine 2, just replace "1" with "2" in the appropriate places.

I did a number of other mods as well. but I think the starter1 and 2 code
is all that was needed to fire them up.


 
     
 


 
     
        Starter 1
       
        (A:General eng1 starter, bool) !
                if{ 1 (>K:TOGGLE_STARTER1) } (L:DM STARTER 1,number) 0 > (A:General eng1 starter, bool) ||
               
                  if{ 0 (>L:DM STARTER 1,number) (A:General eng1 starter, bool)
                   
                    if{ 0 (>K:TOGGLE_STARTER1) } }
                      els{ (L:DM STARTER 1,number) -1 ==

                      if{ 0 (>L:DM STARTER 1,number) (A:General eng1 starter, bool) 0 ==
                        if{ 0 (>K:TOGGLE_STARTER1) } }
                          els{ (L:DM STARTER MASTER,number) 0 >

               if{ 5 (>L:DM STARTER 1,number) 0 (>K:MIXTURE1_RICH) } } }

     
     
        Relight 1
       
        -1 (>L:DM STARTER 1,number)
     
 


Re: BAC 1-11, can't start the engines...

PostPosted: Sun May 18, 2008 3:53 pm
by Daube
Thanks a lot, will try that !

Sorry for the little-bit off-topic, but there's something that I don't understand in this code. This is generally post-fixed language, excepted with those
Code: Select all
{ 1 (>K:TOGGLE_STARTER1) }


How does this K works ? If I understodd right, the > is normally used like this: A B > will get true if A is greater than B, right ?

Re: BAC 1-11, can't start the engines...

PostPosted: Sun May 18, 2008 4:08 pm
by Gypsy_Baron
Thanks a lot, will try that !

Sorry for the little-bit off-topic, but there's something that I don't understand in this code. This is generally post-fixed language, excepted with those
Code: Select all
{ 1 (>K:TOGGLE_STARTER1) }


How does this K works ? If I understodd right, the > is normally used like this: A B > will get true if A is greater than B, right ?


In that type of statement it means to load the variable with 1 or 'send'
a '1' to the event ID, in this case "Toggle_Starter1".
I think in the case of Event_ID's, the actual value, 1 or 0 , is irrelevant
but needed for the syntax to be correct.

There are some XML tutorials available. You might have a look around
over at www.fsdeveloper.com/forums/

  Paul

Re: BAC 1-11, can't start the engines...

PostPosted: Sun May 18, 2008 4:31 pm
by Daube
Thanks a lot Paul :)