Howto:Carrier: Difference between revisions

Jump to navigation Jump to search
→‎What to do first: Mention that editing preferences.xml is no longer necessary
(→‎What to do first: Mention that editing preferences.xml is no longer necessary)
Line 15: Line 15:


==What to do first==
==What to do first==
Note: as of version 1.0, the default preferences has the Nimitz enabled, so you don't need to do the editing described below. Also, there is a command line option --ai-scenario you can use instead of editing.
To enable the carrier, you must edit your <tt>preferences.xml</tt> file. This lives in your FlightGear data directory, the one under which your Aircraft, Scenery etc directories reside. Open this file in a text editor (such as notepad on Windows, or TextEdit on OSX - Linux users are probably familiar with such software... try kedit or gedit if not.)
To enable the carrier, you must edit your <tt>preferences.xml</tt> file. This lives in your FlightGear data directory, the one under which your Aircraft, Scenery etc directories reside. Open this file in a text editor (such as notepad on Windows, or TextEdit on OSX - Linux users are probably familiar with such software... try kedit or gedit if not.)


Line 37: Line 39:
If you are using the Windows or OSX launcher to run FG, you should find a text entry box in the gui that allows you to specify command line options, add the above options there. Linux or Cygwin users can just add them to their usual startup command; ``fgfs --carrier=Nimitz --aircraft=seahawk'. Please note the uppercase ``N' in ``Nimitz'.
If you are using the Windows or OSX launcher to run FG, you should find a text entry box in the gui that allows you to specify command line options, add the above options there. Linux or Cygwin users can just add them to their usual startup command; ``fgfs --carrier=Nimitz --aircraft=seahawk'. Please note the uppercase ``N' in ``Nimitz'.


In the [[FlightGear Wizard]]: go to Advanced... > Propeties and make a new property with  
In the [[FlightGear Wizard]]: go to Advanced... > Properties and make a new property with  
  sim/ai/scenario[0]=nimitz_demo --carrier=Nimitz
  sim/ai/scenario[0]=nimitz_demo --carrier=Nimitz


26

edits

Navigation menu