• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

P3D v4 XML handwriting or using ACE

Messages
274
Country
israel
Just started expanding my knowledge to aircrafts also. What do you recommend ACE or handwriting xml?


Sent from my iPhone using Tapatalk
 
I wouldn't use handwriting, because then you have to go through the trouble of finding an OCR that can detect your the letters of your handwritten code. :duck:

But to be more serious: I think the ACE tool is a good way to get familiar with HOW the XML syntax works, but sooner or later you'll find that you're waaaaay better of writing your own code directly in XML schema.

I use visual studio for everything code related: XML, C++ and AIR file.
 
Well I’m using VSCode for xml and all the “light coding” stuff and Regular vs for heavy (c# and c++ which I’m starting to learn). I rly recommend VSCode (light, you can put it on ssd for blazing fast performance and more). I think I would use ACE first and then start with xml. Of course I would like c++ but that just too difficult...


Sent from my iPhone using Tapatalk
 
It took me 3 years to understand XML and write it properly and I'm still learning stuff daily...
At the other hand it took me perhaps 6 months or something more and I was able to write descent code in C#, based on that I would suggest you put your efforts in learning C. For what I see the future with new sims to come, XML might be of no good any-longer...but lets wait and see the new SDK of MSFS2020 we will know for sure...
 
Yeah it’s true but c++ (for P3d gauges) has many things that I can’t understand and the SDK doesn’t help that much... also if you learn c++ you will have to learn also D2D or GDI+ or D3D11. Which is another complicated step in the process of making gauges in c++.


Sent from my iPhone using Tapatalk
 
+1 for handwriting,

I learning C++/ GDI+ in 2 years along with, SDK, modeling, painting, flight model.
I'm no good with XML, can't build complex xml code, only simple xml function I can.

for gauge development xml have huge source and sample, easier to catch up.
C++ gauge development source sample are just few. but another source that can be use that have basic or similar for gauge dev are many across the internet.
C++ are basic stuff, you can go with 2D graphic interface or 3D graphics interface. no need to go all stuff.

only C++ function it can drive gauge animation,
GDI+ or D2D if you need 2D graphical interface i.e. screen display
Direct3D if you need 3D graphical interface i.e. TAWS
can read/write data from many format i.e. binary data, XML, TXT.

all is up to you, with hardwork. C++ or XML just a way you go through, both can give similar result.
 
The thing is: you can't really get around XML if you want to develop for P3D/FSX, since it's the only way to animate things. So developing an understanding for the awkward syntax is beneficial in that regards.
On the other hand it will become obsolete as more advanced platforms get released. I would be flabbergasted if fs2020 supported the old XML scheme.
 
Back
Top