Sign in to follow this  
Guest

Is it possible.....?

Recommended Posts

Is it possible to write a gauge in XML that has a changing bitmap, depending on outside air temperature? I am working on a Tomahawk panel, and, if this is possible, I have a special suprise in mind!Also, if this is possible, could you please send me the required code? I am new to XML, and the only experience I have of it is looking at existing gauges.Happy Holidays! CheersMalcolm

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

Not sure what you mean by "changing bitmap". There are many ways to "change" it. I don't think animated images can be used, so I think you're stuck with a system, as seen in many of the default switches type of gauges.The section can be as complex as you desire, but if it grows *really* complex, you should consider ading a tag so that FS2002 gets power enough to "draw it's frames" - terrain textures is the first to go on my system, giving a good indication.I would need more info on what you are trying to achieve, to give better help :)

Share this post


Link to post
Share on other sites

What I mean is to have one bitmap below a certain temperature, and, when a certain temperature is reached, a different bitmap is displayed.What I am thinking of is a bit like the Captain Sim 727. The first officer wears sunglasses during the day, but 'takes them off' at night. I am after achieving a similar sort of thing, but with OAT.CheersMalcolm

Share this post


Link to post
Share on other sites

The above will work for a gauge-type bitmap display. To parallell with the 727 (never tried it or seen it though), mapping a pilots face with a gauge seems odd, to say the least :)Another method is using an invisible gauge to set an animatable parameter - i.e. tail hook, waterrudder or whatever, and animate the two states of the sunglasses based on the parameter set by the gauge.

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