• There seems to be an uptick in Political comments in recent months. Those of us who are long time members of the site know that Political and Religious content has been banned for years. Nothing has changed. Please leave all political and religious comments out of the forums.

    If you recently joined the forums you were not presented with this restriction in the terms of service. This was due to a conversion error when we went from vBulletin to Xenforo. We have updated our terms of service to reflect these corrections.

    Please note any post refering to a politician will be considered political even if it is intended to be humor. Our experience is these topics have a way of dividing the forums and causing deep resentment among members. It is a poison to the community. We appreciate compliance with the rules.

    The Staff of SOH

  • Server side Maintenance is done. We still have an update to the forum software to run but that one will have to wait for a better time.

FSX XML Gauges and Ace.exe

PRB

Administrator
Staff member
I'm using Ace.exe to build an XML gauge for an FSX plane. The SDK tutorial on this suggests there is a preview mode, which you can switch to by pressing F6. They even have a screen shot of it in the manual, but I can't get it to work. I can put the gauge in the panel of a plane and see it, and it works, but preview mode does nothing. I even tried opening a gauge from another plane, and preview mode does nothing with that gauge either.

The manual does tend to leave important details out. For example, I tried for hours to even see the background bitmap, or anything at all for that matter, and it was not until I gave the gauge a size larger than 0,0 that I could see it (duh). But the manual writer forgot to mention that tiny detail. So, maybe they forgot something required to get preview mode to work?

Thanks!

P.S., FSX gauge makers: Do you all use Ace.exe or something else?
 
Sorry I missed this one...my answer won't be of much help anyway.
I still do my XML the old fashioned way, using a text editor and checking in the sim.
I've looked at the Ace.exe tool, but haven't really used it much yet.
 
FSX gauge makers: Do you all use Ace.exe or something else?...

I use XML Notepad 2007 and avoid Ace.exe like the plague! (I struggled with it forever)
The ACE scripting is way too wordy and nowhere near as forgiving as simply using the SDK Variables and Events docs and even with some trial and error it's faster for me.

I learned a ton just opening up default gauges and looking at how things look when they work...Don
 
I guess I can revive my own old thread... :) One useful thing Ace does is check for errors. I use Notepad++ to do the XML work, then, before testing the gauge in the sim, I open it in Ace, which does a pretty good job at finding errors in your XML. DO NOT, however, save the file while it's opened in Ace, as Ace will reformat the whole file, removing comments and "vertical white space". I put extra lines between elements, for readability, and Ace strips them away when it saves your file. I did that only once...
 
Back
Top