Carrier over MP: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
'''Carrier over MP''' is available in [[FlightGear]] 2.0.0 and later and makes it possible to command the [[Howto: Carrier|Nimitz]] and other [[aircraft carrier]]s. Other pilots on the [[Howto: Multiplayer|multiplayer network]] can ''elect'' to be able to see and land on the carrier controlled by the MP carrier player.
'''Carrier over MP''' is available in [[FlightGear]] 2.0.0 and later and makes it possible to command the [[Howto: Carrier|Nimitz]] and other [[aircraft carrier]]s. Other pilots on the [[Howto: Multiplayer|multiplayer network]] can ''elect'' to be able to see and land on the carrier controlled by the MP carrier player.


== Usage examples ==
== Installation ==
===FlightGear 2.0.0 and later===
 
Download from the MPCarrier aircraft archive from [http://www.flightgear.org/Downloads/ 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 [http://www.gidenstam.org/FlightGear/misc/Carrier_over_MP/MPCarrier_fgfs1.9.1.tar.gz MPCarrier aircraft archive] available here: [http://www.gidenstam.org/FlightGear/misc/Carrier_over_MP/ http://www.gidenstam.org/FlightGear/misc/Carrier_over_MP/]
 
# Unpack the archive into <tt>data/Aircraft</tt>. 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.
# Make sure that the AI scenario nimitz_demo is active.
# To see a mp carrier, set the property: /sim/mp-carriers/nimitz-callsign (see below "important")
# 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 ===
== Commander/Captain of the Carrier ==
=== Starting FlightGear ===
Command the Nimitz:
Command the Nimitz:
  % fgfs --aircraft=nimitz
  % fgfs --aircraft=nimitz
Command the Eisenhower:
Command the Eisenhower:
  % fgfs --aircraft=eisenhower
  % fgfs --aircraft=eisenhower
(same for Clemenceau and Vinson).


Command the Nimitz for MP operation:
Command the Nimitz for MP operation:
  % fgfs --aircraft=nimitz --callsign='Nimitz7' --multiplay=...
  % fgfs --aircraft=nimitz --callsign='Nimitz7' --multiplay=...


=== Pilot ===
=== 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.
** 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.
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.


Line 20: Line 46:
  % 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=.....


== Important ==
=== 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
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
Line 30: Line 56:
And remember, have fun :) .
And remember, have fun :) .


=== For the carrier captain ===
I sometimes get questions about driving the carriers, so here are the principal tips:
First see the aircraft help. Press '?'.
If you don't know how 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.
The tip is that 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.
In /ai/models/carrier[i]/position/ you can change lat, lon, and elevation to put it where you want, and 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, i prefer to keep a speed of 0 so that there's no drift between pilots.
== Installation ==
===FlightGear 2.0.0 and later===
Download from the MPCarrier aircraft archive from [http://www.flightgear.org/Downloads/ the main FlightGear page].
Unpack the archive into the Aircraft subdirectory of the FlightGear data directory.
=== FlightGear 1.9.1 ===
The download the [http://www.gidenstam.org/FlightGear/misc/Carrier_over_MP/MPCarrier_fgfs1.9.1.tar.gz MPCarrier aircraft archive] available here: [http://www.gidenstam.org/FlightGear/misc/Carrier_over_MP/ http://www.gidenstam.org/FlightGear/misc/Carrier_over_MP/]
# Unpack the archive into <tt>data/Aircraft</tt>. 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.
# Make sure that the AI scenario nimitz_demo is active.
# To see a mp carrier, set the property: /sim/mp-carriers/nimitz-callsign (see below "important")
# 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 :)


[[Category:Multiplayer]]
[[Category:Multiplayer]]

Revision as of 15:48, 24 June 2018

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.
    • 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 :) .