69
edits
(→Directories and files: Hint for developers) |
(→Before you start: Tools of the Trade) |
||
Line 16: | Line 16: | ||
* Please note that we use spaces in our codes, some developers use rather tabs, to make our code easy(er) to read. Every line that starts a new tag, we press the space key once, so you get a kind of stairs. It does not really matter what method you use, as long as you use it consistently throughout all of your files. | * Please note that we use spaces in our codes, some developers use rather tabs, to make our code easy(er) to read. Every line that starts a new tag, we press the space key once, so you get a kind of stairs. It does not really matter what method you use, as long as you use it consistently throughout all of your files. | ||
* Filenames and directories are case-sensitive on most OS's. Windows is not case-sensitive, so when you are developing on a Windows machine, you won't notice any problems. On other OS's, there is a difference between 'Boeing' and 'boeing'. Since FlightGear is used on multiple platforms, make sure your code makes correct usage of capitals. | * Filenames and directories are case-sensitive on most OS's. Windows is not case-sensitive, so when you are developing on a Windows machine, you won't notice any problems. On other OS's, there is a difference between 'Boeing' and 'boeing'. Since FlightGear is used on multiple platforms, make sure your code makes correct usage of capitals. | ||
===Tools of the Trade=== | |||
If you realize this is harder than you expect, don't worry. For the first-timer, the FDM(aircraft.xml), aircraft-set.xml, and the engine.xml files are the easiest. Modeling will require considerable time and practice. You want to have the tools for the job, so here are some tools to help: | |||
* Aeromatic (works only for JSBSim, gives you entire engine file and FDM (aircraft.xml) file. | |||
* JSBSim Commander (Only JSBSim, helps with the multitude of tags, try this on your aircraft BEFORE you release it and AFTER you are finished with all the xmls) | |||
* This wiki | |||
* Flightgear Forum | |||
* Design plans and specifications of your aircraft, including: | |||
** Three-View Plan (shows front view, top view, side view) | |||
** Technical Specifications (from Wikipedia, Boeing, or Airbus) | |||
** '''NOTE:''' Implement the specifications into the xmls | |||
* A friend, and/or another developer, let's say you only want to do the FDM and XMLs. You'll need another person (a modeller) to model. Don't worry, the <author> tag has enough room. ;) | |||
* 6 days for xmls + 2 weeks for modeling | |||
* your patience | |||
==Directories and files== | ==Directories and files== |
edits