FS programming - XML

Post Reply
GaryG
Posts: 880
Joined: 19 Jul 2009, 10:32

FS programming - XML

Post by GaryG » 30 Jun 2011, 17:34

Hi all,

Yesterday thought of an idea in order to "promote" programming in our community. As some of you might know, I do XML and even though sometimes it can get boring or drives you crazy, the result after programming can be quite rewarding. So what's my idea?

Well, what I thought of was to do sort of a weekly challenge for those who have absolutely no experience yet they wish give this kind of programming a try. I will provide help during the week for the challenge that I pose as well as links to some useful sites that made me relatively fluent in the language.

Obviously, your interest is important to drive this idea and indeed that is why I posted today in order to give people the chance to see the post till next week.

If there is enough interest, I will pose an easy challenge next monday for the whole week and I'll give help to all those who'll show interest.

Programming will be done in FS9, however, FSX accepts that format and there are indeed good tutorials around.

Those who are interested, please do post below.


Thanks for reading this and hope we'll see many of you.

Regards

User avatar
AirNewZealand_A320
Posts: 235
Joined: 27 Jan 2010, 11:22

Re: FS programming - XML

Post by AirNewZealand_A320 » 01 Jul 2011, 04:55

Im interested to learn, whether i have the time is a different thing.

Ghostmaster
Posts: 122
Joined: 04 Dec 2010, 13:36

Re: FS programming - XML

Post by Ghostmaster » 01 Jul 2011, 08:47

Quite intersting.. Maybe i can try?

bang_amin
Posts: 40
Joined: 05 Dec 2009, 08:09

Re: FS programming - XML

Post by bang_amin » 01 Jul 2011, 10:25

Sign me in as your first student, Gary... For 2 years i have read the FS2X.com's tutorials, and no gauge that i've made working... Really want to understand how to.

GaryG
Posts: 880
Joined: 19 Jul 2009, 10:32

Re: FS programming - XML

Post by GaryG » 01 Jul 2011, 11:47

This is so awesome, yes, anybody can try. Hope that more will join us.

Regards

A321flyer
Posts: 152
Joined: 04 Feb 2010, 02:45

Re: FS programming - XML

Post by A321flyer » 02 Jul 2011, 01:51

I know this is little off topic but I know C#, can it be used for anything in FS ?

GaryG
Posts: 880
Joined: 19 Jul 2009, 10:32

Re: FS programming - XML

Post by GaryG » 02 Jul 2011, 04:23

A321flyer wrote:I know this is little off topic but I know C#, can it be used for anything in FS ?
Yes, however, I'm sure it can be used for fsx with simconnect. Not sure about fs9 though.

inbetween
Posts: 31
Joined: 28 Mar 2011, 14:06

Re: FS programming - XML

Post by inbetween » 02 Jul 2011, 11:58

I'd be very interested in this too.

Goozer
Posts: 24
Joined: 22 Apr 2011, 21:23

Re: FS programming - XML

Post by Goozer » 03 Jul 2011, 10:00

I would be very intested in this, but I've never programmed with XML. Is this something that can be done starting from scratch?

GaryG
Posts: 880
Joined: 19 Jul 2009, 10:32

Re: FS programming - XML

Post by GaryG » 03 Jul 2011, 10:14

I'll try to cater for everyone. As long as there is enthusiasm, anything is possible.

regards

GaryG
Posts: 880
Joined: 19 Jul 2009, 10:32

Re: FS programming - XML

Post by GaryG » 04 Jul 2011, 06:02

Hello people, first of all, thanks for joining this, it shows that people want to contribute, in a way or another. Secondly, I was thinking of starting from a very simple gauge. It will be showing the engine RPM. For this, you need to do 2 bmps. One will be the needle and the other will be the background. Some things I recommend are:

1) Get microsoft visual C++ 2010 express edition ! This is a good start, you can edit XML in it and will prove to be useful later on.
2) Visit the following sites:

www.fs2x.com - very useful. I got my basics covered from there. See the tutorials section and the sample gauges. Those were done by people like you !
www.fsdeveloper.com - Pretty much about every developing field in fs.
http://msdn.microsoft.com/en-us/library/cc526953.aspx - This is targeted for fsx but it still is useful since it explains some major XML properties.

That is all for now. Will give you some time to officially begin the Engine RPM gauge.

Regards

User avatar
AirNewZealand_A320
Posts: 235
Joined: 27 Jan 2010, 11:22

Re: FS programming - XML

Post by AirNewZealand_A320 » 04 Jul 2011, 07:00

I dont know about others but im having trouble with finding where to start even with the links.

GaryG
Posts: 880
Joined: 19 Jul 2009, 10:32

Re: FS programming - XML

Post by GaryG » 04 Jul 2011, 11:03

Just a note: Those links were given in order to familiarise a bit yourself with XML, for now, don't worry about the gauge.

regards

GaryG
Posts: 880
Joined: 19 Jul 2009, 10:32

Re: FS programming - XML

Post by GaryG » 10 Jul 2011, 22:34

Hi guys, I know that I will sound ridiculous about this but please - Bare with me. I got instantly busy and just can't keep with the gauges and this at the same time. I promise though, will return as soon as I have some time. If you are really interested and want to learn, follow the tutorials on the given site and I will surely be able to help anything you won't understand. Problem is that I can't organise this at the moment.

Sorry people. Regards,

Gary

User avatar
AirNewZealand_A320
Posts: 235
Joined: 27 Jan 2010, 11:22

Re: FS programming - XML

Post by AirNewZealand_A320 » 11 Jul 2011, 03:33

take your time :)

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests