Difference between revisions of "Carrier over MP"

From FlightGear wiki
Jump to: navigation, search
(Pilot Using the Carrier)
(Pilot Using the Carrier)
(One intermediate revision by the same user not shown)
Line 40: Line 40:
  
 
== Pilot Using the Carrier ==
 
== 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.
+
NB: You need to know which callsign and which carrier model to use.  
  
[[File:MPCarrier-dialog.png|thumb|center|The MPCarrier selection dialog. The user 'Nimitz' is currently selected as the controller of the carrier Nimitz.]]
+
Make sure to enable the AI scenario for the corresponding carrier (e.g. nimitz_demo if the model is the Nimitz).
  
It is also possible to select MP carrier players from the command line using the following --prop: argument (change nimitz to the carrier actually in use)
+
The easiest way to configure your FlightGear session for an MP carrier is to use the Launcher like in the picture (the model is the Vinson and the callsign is OPFOR21 in the example). [[File:MP carrier settings in launcher.png|thumb|In the "Settings" tab under "Additional Settings" provide the necessary command-line arguments]]
 +
 
 +
---
 +
It is also possible to select MP carrier players from the command line using the following --prop: argument (change "nimitz" in 2 places to the carrier actually in use):
 
  % fgfs --ai-scenario=nimitz_demo --prop:/sim/mp-carriers/nimitz-callsign=<callsign of the player commanding mp-nimitz>  --multiplay=.....
 
  % fgfs --ai-scenario=nimitz_demo --prop:/sim/mp-carriers/nimitz-callsign=<callsign of the player commanding mp-nimitz>  --multiplay=.....
  
Line 50: Line 53:
 
  % fgfs --ai-scenario=vinson_demo --prop:/sim/mp-carriers/vinson-callsign=MP-029X  --multiplay=.....
 
  % fgfs --ai-scenario=vinson_demo --prop:/sim/mp-carriers/vinson-callsign=MP-029X  --multiplay=.....
  
If you are using the qt-launcher, you just need to add the --prop... stuff to Settings. Then you set your multiplayer settings as usual and in the AI dialog in the running FlightGear you make sure that nimitz-demo and vinson-demo are active. There is no need that the callsign reflects the TACAN setting - it is just a possible pattern do make it easier for others to use.
+
There is no need that the callsign reflects the TACAN setting - it is just a possible pattern do make it easier for others to use.
 +
 
 +
---
 +
An alternative way 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.
 +
 
 +
[[File:MPCarrier-dialog.png|thumb|center|The MPCarrier selection dialog. The user 'Nimitz' is currently selected as the controller of the carrier Nimitz.]]
 +
 
  
 
=== Important ===
 
=== Important ===
  
 
As a pilot you have to run by the books:
 
As a pilot you have to run by the books:
* Have the MPCarrier downloaded (the fact that you see the carrier when running AI scenarios is not enough proof that you actually have the MPCarrier. Try to find it in the aircraft dialog. If it is there, then you are good).
+
* Have the MPCarrier downloaded (The fact that you see the carrier when running AI scenarios is not enough proof that you actually have the MPCarrier. Try to find it in the aircraft dialog. If it is there, then you are good).
* You need to set the --prop:/... stuff. This ensures that MPCarriers won't interfer with the normal nimitz-demo/vinson-demo... scenarios.
+
* You need to set the --prop:/... correct (note the carrier model name in the string before "-callsign"). This ensures that MPCarriers won't interfer with the normal AI scenarios.
 
* You need to have the corresponding AI scenario activated.
 
* You need to have the corresponding AI scenario activated.
 
* In the AI scenarios you can find the carrier from 30+ nm with TACAN. In MP you might find it only from ca. 15+nm (as of 2020.1 version).
 
* In the AI scenarios you can find the carrier from 30+ nm with TACAN. In MP you might find it only from ca. 15+nm (as of 2020.1 version).
  
 
[[Category:Multiplayer]]
 
[[Category:Multiplayer]]

Revision as of 05:57, 23 May 2020

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

NB: It is not enough that you can see carriers in AI mode. You have to have MPCarrier in your aircraft path.

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

Alternatively: Download from the FGAddon archive in [1].

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

NB: You need to know which callsign and which carrier model to use.

Make sure to enable the AI scenario for the corresponding carrier (e.g. nimitz_demo if the model is the Nimitz).

The easiest way to configure your FlightGear session for an MP carrier is to use the Launcher like in the picture (the model is the Vinson and the callsign is OPFOR21 in the example).
In the "Settings" tab under "Additional Settings" provide the necessary command-line arguments

--- It is also possible to select MP carrier players from the command line using the following --prop: argument (change "nimitz" in 2 places to the carrier actually in use):

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

For the Vinson it could e.g. be:

% fgfs --ai-scenario=vinson_demo --prop:/sim/mp-carriers/vinson-callsign=MP-029X  --multiplay=.....

There is no need that the callsign reflects the TACAN setting - it is just a possible pattern do make it easier for others to use.

--- An alternative way 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.

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


Important

As a pilot you have to run by the books:

  • Have the MPCarrier downloaded (The fact that you see the carrier when running AI scenarios is not enough proof that you actually have the MPCarrier. Try to find it in the aircraft dialog. If it is there, then you are good).
  • You need to set the --prop:/... correct (note the carrier model name in the string before "-callsign"). This ensures that MPCarriers won't interfer with the normal AI scenarios.
  • You need to have the corresponding AI scenario activated.
  • In the AI scenarios you can find the carrier from 30+ nm with TACAN. In MP you might find it only from ca. 15+nm (as of 2020.1 version).