Howto:Make an aircraft: Difference between revisions

Jump to navigation Jump to search
m
Switch to the {{forum url}} and {{forum link}} templates for all forum links.
(Removing the merge template for now)
m (Switch to the {{forum url}} and {{forum link}} templates for all forum links.)
Line 26: Line 26:
<br/>
<br/>
We come in all different ages here.  Some of us are very old and some are very young and many are somewhere in between.  It does not matter.  We can all learn new things and if we try we can all contribute something.  What matters is your attitude and aptitude and you appear to be on the right track with both..
We come in all different ages here.  Some of us are very old and some are very young and many are somewhere in between.  It does not matter.  We can all learn new things and if we try we can all contribute something.  What matters is your attitude and aptitude and you appear to be on the right track with both..
   |{{cite web |url=http://forum.flightgear.org/viewtopic.php?p=213634#p213634
   |{{cite web |url={{forum url|p=213634}}
     |title=<nowiki>Re: Idea: Ace Combat Fictional Aircraft Set</nowiki>
     |title=<nowiki>Re: Idea: Ace Combat Fictional Aircraft Set</nowiki>
     |author=<nowiki>hvengel</nowiki>
     |author=<nowiki>hvengel</nowiki>
Line 45: Line 45:
Probably the easiest way to get a new aircraft going is to find another (similar) JSBSim/YaSim aircraft that is similar to yours and look at how it is setup. Even easier would be to copy that models configuration and then start making modifications to suit your aircraft. JSBSim can be complex depending on how advanced your aircraft is but using the copy and modify approach will allow you to get started and give you a platform to learn new stuff as you make modifications to the configuration.
Probably the easiest way to get a new aircraft going is to find another (similar) JSBSim/YaSim aircraft that is similar to yours and look at how it is setup. Even easier would be to copy that models configuration and then start making modifications to suit your aircraft. JSBSim can be complex depending on how advanced your aircraft is but using the copy and modify approach will allow you to get started and give you a platform to learn new stuff as you make modifications to the configuration.


Additional information is available in a [http://www.flightgear.org/forums/viewtopic.php?f=4&t=6030 special forum topic].
Additional information is available in a {{forum link|t=6030|text=special forum topic}}.


== Before you start ==
== Before you start ==
Line 94: Line 94:
* '''Hint for Developers:''' You can pre-test all your .xml files without having to load FlightGear by opening them with Internet Explorer or Mozilla Firefox. These web browsers will parse XML documents and let you know if you made a mistake coding them.
* '''Hint for Developers:''' You can pre-test all your .xml files without having to load FlightGear by opening them with Internet Explorer or Mozilla Firefox. These web browsers will parse XML documents and let you know if you made a mistake coding them.


It's worth noting that FlightGear doesn't expect any particular structure of folders or files, i.e. you could theoretically put things ANYWHERE, as long as you properly reference all files and paths in the top-level aircraft-set.xml file. However, it makes sense to follow some existing conventions (look at other well-maintained aircraft). Some more tips can be found here: [[Standard aircraft structure]] (needs to be updated as of 05/2012). A more recent discussion covering the pros & cons of the various approaches is to be found [http://flightgear.org/forums/viewtopic.php?f=4&t=12903&p=156902#p156902 on the forum].
It's worth noting that FlightGear doesn't expect any particular structure of folders or files, i.e. you could theoretically put things ANYWHERE, as long as you properly reference all files and paths in the top-level aircraft-set.xml file. However, it makes sense to follow some existing conventions (look at other well-maintained aircraft). Some more tips can be found here: [[Standard aircraft structure]] (needs to be updated as of 05/2012). A more recent discussion covering the pros & cons of the various approaches is to be found {{forum link|p=156902|text=on the forum}}.


=== Root directory ===
=== Root directory ===

Navigation menu