PDA

View Full Version : How hard is XML?


Piglet
September 27th, 2005, 01:36
My EasyGauge 2.0 just went belly up on me again, and I hate having to email the makers for new code key everytime:violent: , so I was looking into XML gauges. Also hated that needed file GaugSound.dll, that nobody ever installs, since they don't read readme's.:violent:
I read the other threads, and got some of the stuff mentioned, and I did fiddle with XML on the Hiller OH-23G. Copied and renamed the R-22.cab, then mostly swapping out textures and leaving the rest as is.
Just seeing if I'm getting in too deep:greenf:

Silver Fox
September 27th, 2005, 12:13
I'm playing with it now Tim and trying to get it to do what I want...not that hard to wrap your head around.

Good resources at the usual places (avsim and FFDS), plus check out http://www.fs2x.com/ for the XML tutorials. You probably already have that stuff...but maybe it'll help somebody else reading this. :)

Fr.Bill (N4Gix) at FFDS is a great help to those learning XML. He tries to answer just about any question that crops up.

Moparmike
September 27th, 2005, 14:15
I'm the wrong person to ask about XML...I rather dislike the language myself and I just have a hard time getting my head to think XML instead of C/C++. I think the language itself is no more difficult to learn the basics than any other language.

In addition to Fr. Bill, Arne Bartels' posts in the design forum over at avsim.com are a good source of tips and tricks for building XML gauges.

Sorry to hear that EasyGauge went Tango Uniform on ya again Tim...for it's time it sure was a helpful little program for folks who didn't want to get into C/C++ for building gauges (Still the best way IMBO).

BTW, check out my Get the Good Stuff thread, I do have a few links to XML gauge building goodies. And if ya find something interesting elsewhere feel free to add a link to that thread.

Piglet
September 27th, 2005, 23:53
Thanks, guys!

EG2 Is a good app, and usually works great for people like me, who want custom gauges, but don't want/can't take time to learn new computer stuff(just plane making takes alot of time!) I just hate having to email Bluesky everytime I need to reload EG2. Kinda low-blow IYAM:mad: They sometimes take days, and even then it
can be dicey. Oh well...

Elias
September 28th, 2005, 05:07
Oh, and something else:
XML (with gmax) open the world of unlimited custom animations/effects and super smooth VC gauges. As i am trying to learn this stuff, I realise that although it sometimes can be very tricky there is always a way to do what you want. You may use a less complex or non "proffesional" way but the end result is that it works. You dont have to be an XML expert, a few basic things are enough to do almost everything, at least for vintage aircraft. If you want to make the B747 FMS is another story I suppose... :violent:

Elias

Piglet
September 29th, 2005, 23:11
I'm kinda getting the hang of this:icon29: !

Made a copy of the Baron .cab and started going thru the gauges, adding new tex's, moving axis around, etc. Just made a radar altimeter, by modding code from and airspeed indicator. I like how just editing text can produce an entirely new gauge. And one doesn't have to always convert feet to meters, rads, or cubits. In EG2, I would have to convert feet to meters for the radar alt. In XML, I just wrote FEET instead of METERS, and it works!
Still gotta figure out sliders, and all those "if" "and" "or" type logic commands.