Jump to content
Sign in to follow this  
Guest Patrick_Waugh

Is there an .air file dependency?

Recommended Posts

Guest Patrick_Waugh

I notice that when I trigger certain key events like: trigger_key_event(KEY_TOGGLE_MASTER_BATTERY_ALTERNATOR, 0);that in addtion to toggling the battery, it toggles the generator switch (in engine type=3 at least).I am wondering if anyone else has noticed this sort of thing.Patrick

Share this post


Link to post
Share on other sites

Er, what else would you expect it to do? After all, you are explicitly toggling both the battery and the alternator! ;)If you want to control 'em separately, then use these instead:KEY_TOGGLE_MASTER_BATTERYKEY_TOGGLE_MASTER_ALTERNATOR


Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator

Share this post


Link to post
Share on other sites
Guest Patrick_Waugh

Well it seems with engine type=3 KEY_TOGGLE_MASTER_BATTERY does nothing (but maybe I'm wrong), and only KEY_TOGGLE_MASTER_ALTERNATOR worked to turn on the battery.Another reason for my confusion is that an alternator is not a generator, haha. But I see now how foolish of me to reify reality in a simulator. =)Patrick

Share this post


Link to post
Share on other sites
Guest Patrick_Waugh

Sorry, my brain has left me today totally.My real problem is that when I toggle the master battery I also toggle GENERAL_ENGINE1_FUEL_VALVE in the B206 (engine type 3).It seems like they are tied together and while I can then control the fuel valve, any time the battery is touched it flips the fuel valve.Patrick

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...