Hi fellow wiki editors!

To help newly registered users get more familiar with the wiki (and maybe older users too) there is now a {{Welcome to the wiki}} template. Have a look at it and feel free to add it to new users discussion pages (and perhaps your own).

I have tried to keep the template short, but meaningful. /Johan G

Carrier over MP

From FlightGear wiki
Jump to: navigation, search

Carrier over MP is available in FlightGear 2.0.0 and later and makes it possible to command the Nimitz and other aircraft carriers. Other pilots on the multiplayer network can elect to be able to see and land on the carrier controlled by the MP carrier player.

Installation

FlightGear 2.0.0 and later

Download from the MPCarrier aircraft archive from the main FlightGear page. Unpack the archive into the Aircraft subdirectory of the FlightGear data directory.

This can easily be accomplished by using the FlightGear_Qt_launcher directly accessing FGAddon and downloading the MP Carriers.

FlightGear 1.9.1

The download the MPCarrier aircraft archive available here: http://www.gidenstam.org/FlightGear/misc/Carrier_over_MP/

  1. Unpack the archive into data/Aircraft. For windows users, you can use 7zip and apply it twice (one to unzip, one to untar), until you've got the MPCarrier folder. Once MPCarrier in your Aircraft directory, you will find a new "aircraft" called 'nimitz' in your aircraft list.
  2. Make sure that the AI scenario nimitz_demo is active.
  3. To see a mp carrier, set the property: /sim/mp-carriers/nimitz-callsign (see below "important")
  4. Optional: To get a MPCarrier dialog entry in the Network menu. Apply the changes in mpcarrier_menubar.diff to FG_ROOT/gui/menubar.xml. The diff is for FlightGear/CVS. However, the structure of menubar.xml is so simple that I expect almost anyone could figure out how to add the menu entry :)

Commander/Captain of the Carrier

Starting FlightGear

Command the Nimitz:

% fgfs --aircraft=nimitz

Command the Eisenhower:

% fgfs --aircraft=eisenhower

(same for Clemenceau and Vinson).

Command the Nimitz for MP operation:

% fgfs --aircraft=nimitz --callsign='Nimitz7' --multiplay=...

Commanding the Carrier

Here are some principal tips:

  • First see the aircraft help. Press '?'.
  • To change orientation and position of the carrier (apart from using the rudder and speed, but that take a long time to cross ocean :) ), you can use the properties. You need to change the properties of the ai-carrier you are driving, e.g. for the Nimitz,find the /ai/models/carrier[i] that got Nimitz as name. Use the Property_browser to do so:
    • In /ai/models/carrier[i]/position/ you can change lat, and lon to put it where you want (note that specifying lon/lat on the command line or in menu "Location->Position Aircaft in Air" will not have an effect).
    • In /ai/models/carrier[i]/orientation you can make it face wind. Facing wind is important (with real weather fetch) to make the FLOLS green on approach.
  • Set speed using PgUp/PgDown in manual control.
  • To have a better sync between the pilots using the Nimitz, consider keeping a speed of 0 so that there's no drift between pilots.

Pilot Using the Carrier

To enable MP control of a carrier when on the multiplayer network use the MP carrier dialog available from Multiplayer->"MPCarrier selection" to select which MP carrier players you wish to see. Note that the AI scenario for the corresponding carrier MUST be active.

The MPCarrier selection dialog. The user 'Nimitz' is currently selected as the controller of the carrier Nimitz.

It is also possible to select MP carrier players from the command line using the following --prop: argument (change nimitz to the

% fgfs --ai-scenario=nimitz_demo --prop:/sim/mp-carriers/nimitz-callsign=<callsign of the player commanding mp-nimitz>  --multiplay=.....

Important

The MP carrier will not be active unless you specify the callsign of the player on MP running Nimitz with the MP carrier dialog or

--prop:/sim/mp-carriers/nimitz-callsign=<callsign of the mp-nimitz player> 

This ensures that MPCarriers won't interfer with the normal nimitz_demo scenario unless you explicitly ask for that.

Please also note that the AI scenario corresponding to the carrier you want to see must also be active! Many pilots forget this at setup.

And remember, have fun :) .