Jump to content
Sign in to follow this  
Guest

basic programming?

Recommended Posts

Guest

Hi all,Could someone help me out here? How would I write a really basic program for FS2002? What I want to do is have an alarm sound when the master caution/warning light comes on on a particular aircraft. I have a .wav file, how would I get the file to replay continuously in a loop whenever the light came on?Thanks

Share this post


Link to post
Share on other sites

First of all, what kind of 'program' do you mean? An external program seems very uneconomic, a much better way are gauges.But: It's kinda difficult to manage, since there's no Master Warning/Caution variable which could be checked. That's all dependent on the aircraft's own gauges. Let's compare the Mooney and the 744 - They both have those lights, but they illuminate under completely different circumstances.Next point is that you can just edit gauges in "XML" style. For real gauges (which are DLLs) you cannot decompile them, you had to rewrite them on your own.Best,EtienneProud to be in thehttp://hifi.avsim.net/activesky/images/wxrebeta.jpg

Share this post


Link to post
Share on other sites
Guest

Thanks,I was wanting to have an alarm go off when the MW light on captainsims 727 illuminated (I know that their is no such thing in real life...)Would it not be a case of the program 'knowing' the light was on and then playing the .wav file in a loop, rather than having the induvidual gauges setting it off? Would I have to modify the way the the 727 MW gauge so that as well as illuminating in played the .wav file? Anyway, thanks for your help,how would I go about the above?Thanks

Share this post


Link to post
Share on other sites
Guest

>Next point is that you can just edit gauges in "XML" style. >For real gauges (which are DLLs) you cannot decompile them, >you had to rewrite them on your own. Er... that's not quite correct, sir. You can create entirely NEW gauges with XML, you are not limited to 'just edit(ing)' them!For that matter, XML gauges are every bit as "real" as the compiled C++ gauges!

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...