Jump to content
Sign in to follow this  
badderjet

Writing text in a message window like ATIS does

Recommended Posts

Guest

Is it possible to write text in the FS window anywhere similarly to how ATIS scrolls on the messagebar at the top?I am seeking a way to give feedback to the user. For example, if the flaps are down and the airplane is going faster than 100 kias, i would want it to write on the screen "flaps limiting speed exceeded". How do I check those FS variables such as speed, then write to the screen depending on what I want to say?Thanks!Enrique

Share this post


Link to post
Share on other sites

I think the way to do this is to create an "adventure" using the ABL (Adventure Basic Language) SDK. You create an adventure that would have this bit of script in it and then the user would have to load up that adventure to make it work.I'm pretty sure that there is no way to program this into the aircraft model at all - ABL is the way to go.- Martin

Share this post


Link to post
Share on other sites
Guest

Unfortuately I can't use adventures. I would need it built into a gauge. I was just wondering if XML had the capability, or if it could be incorporated with a C++ gauge. Although my current understanding is that a C++ gauge requires a screen area to be defined, making it not possible to write outside of the gauge's visual area.ThanksEnrique

Share this post


Link to post
Share on other sites

I've seen it on one of the aircraft in my hangar. I'm wondering if you might just be able to add it to the contact points section for the landing gear. I think if you put the speeds in, it will report that the speed is excessive and will not allow the gear to extend.This may also extend to the flaps sections also.

Share this post


Link to post
Share on other sites
Guest

This did exactly what I was looking for!Many thanksEnrique

Share this post


Link to post
Share on other sites

Ahh well no idea about XML but with C gauges it should work. Either using DirectX (?) or FSUPIC (also '?').Well but I don't have too much programming experience in C so I won't be able to help you any further. :-rollGood luck anyways! :-)Etienne :-wave

Share this post


Link to post
Share on other sites
Guest

hehe ;-)Dear Enrique,what you are asking for is a complex system of functions and goes deep into the Flightsimulator's programming.Of course, via XML it is not possible, but via C++ it is. You even have the choice between two different types:1.) Manually creating a child Window with the API CreateWindowEx in the Flightsimulator, set the flags to transparency ... and display a text via SetWindowText API.2.) More difficult, but also more professional: Create a function basic type, create a pointer out of this type and set this pointer to the appropriate address of the Fligthsimulator's function. Of course, you need a lot of experience and background knowledge for this (debugging, reverse engineering) but it works!I am sorry I cannot give you more details because those possibilities are something like a captital for a firm.Regards,Marcel Burrchief progamming departmentbluesky software developmentwww.bluesky-net.desoon: www.bluecommerce.net

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