Howto:Multiplayer: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
mNo edit summary
mNo edit summary
Line 4: Line 4:


== Connecting to Multiplayer ==
== Connecting to Multiplayer ==
=== In-sim Dialog ===
=== In-sim dialog ===
[[File:Multiplayer settings dialog.jpg|thumb|Multiplayer settings dialog]]
[[File:Multiplayer settings dialog.jpg|thumb|Multiplayer settings dialog]]
The easiest way to get online is to use the in-sim Multiplayer dialog. All you need to do is enter a callsign and select a server from the menu. Press Connect to go online.
The easiest way to get online is to use the in-sim Multiplayer dialog. All you need to do is enter a callsign and select a server from the menu. Press Connect to go online.
Line 10: Line 10:
{{Note|Before starting tests, you might want to check the [[#Problems associated with specific Internet Service Providers|Problems associated with specific Internet Service Providers]] section.}}
{{Note|Before starting tests, you might want to check the [[#Problems associated with specific Internet Service Providers|Problems associated with specific Internet Service Providers]] section.}}


=== Using the launcher / FGRun ===
=== Using FGRun ===
[[File:Multiplayer.jpg|thumb|Multiplayer settings in [[FGRun]]]]
[[File:Multiplayer.jpg|thumb|Multiplayer settings in [[FGRun]]]]
# Select your [[aircraft]] and starting airport as normal in [[FGRun]].
# Select your [[aircraft]] and starting airport as normal in [[FGRun]].
Line 20: Line 20:
# Click {{button|Run}} and you'll soon be flying with other pilots!
# Click {{button|Run}} and you'll soon be flying with other pilots!


To confirm that it's working, you can go to the multiplayer map at http://mpmap02.flightgear.org/ (in Hong Kong). Once FlightGear has started, you will notice chat messages that say "Hello" indicating pilots that are online.  They will also pop up when a pilot jions the MP network.  You can change this message by editing the <code><chat type="string">Hello</chat></code> line in <tt>''[http://sourceforge.net/p/flightgear/fgdata/ci/next/tree/preferences.xml $FG_ROOT/preferences.xml]''</tt>. You may wish to use a different server, especially one closer to you.  
To confirm that it's working, you can go to the multiplayer map at http://mpmap02.flightgear.org/ (in Hong Kong). Once FlightGear has started, you will notice chat messages that say "Hello" indicating pilots that are online.  They will also pop up when a pilot joins the MP network.  You can change this message by editing this line in <tt>''[http://sourceforge.net/p/flightgear/fgdata/ci/next/tree/preferences.xml#l763 $FG_ROOT/preferences.xml]''</tt>:
<syntaxhighlight lang="xml">
<chat type="string" preserve="y">Hello</chat></code>
</syntaxhighlight>
You may wish to use a different server, especially one closer to you.
[[File:FGRun Advanced dialog - Network.png|thumb|The <tt>Network</tt> tab of the <tt>Advanced</tt> dialog in [[FGRun]] (in [[Changelog 3.2|FlightGear 3.2.0]]).]]
For more advanced settings, the {{Button|Advanced}} > <code>Network</code> tab in FGRun can be opened.


For more advanced settings, the <code>Advanced > Network</code> tab in FGRun can be opened.
=== Using multiplayer from the command line ===
 
=== Using fgfs from the command line ===
First, for those who are very impatient and have a vague idea about what they're doing, the basic arguments to pass to fgfs for multiplayer are these;
First, for those who are very impatient and have a vague idea about what they're doing, the basic arguments to pass to fgfs for multiplayer are these;


Navigation menu