December 24, 200223 yr 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
December 24, 200223 yr 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 :)
December 24, 200223 yr 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
December 24, 200223 yr Hi,Try this and you can vary indefinitely:(A:Total air temperature, celsius, celsius) 15 < (A:Total air temperature, celsius, celsius) 15 >=http://community.webshots.com/storage/1/v4...75aouncN_th.jpg Jan "Beatus ille qui procul negotiis..."
December 27, 200223 yr 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.
Create an account or sign in to comment