2,733
edits
Red Leader (talk | contribs) mNo edit summary |
Red Leader (talk | contribs) No edit summary |
||
Line 35: | Line 35: | ||
# In the <tt>Multiplayer Options</tt> area … | # In the <tt>Multiplayer Options</tt> area … | ||
#* Type your desired callsign into the box. | #* Type your desired callsign into the box. | ||
#* Set the | #* Set the parameters for the two other boxes; see below for correct syntax. | ||
#* Click {{button|OK}}, then run FlightGear. | #* Click {{button|OK}}, then run FlightGear. | ||
{{-}} | {{-}} | ||
=== Using multiplayer from the command line === | === Using multiplayer from the command line === | ||
{{ | {{WIP}} | ||
When running FlightGear from the [[command line]], you can specify multiplayer settings. The two arguments are as follows: | When running FlightGear from the [[command line]], you can specify multiplayer settings. The two arguments are as follows: | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
Line 47: | Line 47: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
<code>--multiplay</code> | Obviously, <code>--callsign</code> can be anything you wish, although it is limited to seven characters. There are four arguments to <code>--multiplay</code>: | ||
; direction | |||
: Either <code>in</code> or <code>out</code>. <code>in</code> tells FlightGear to listen to packets of data coming in through the specified '''port'''. <code>out</code> tells FlightGear to send data out through the '''port'''. | |||
; ip.address | |||
: IP address of network interface being used by FlightGear. If left blank, FlightGear will listen to all network intefaces. If '''direction''' is set to <code>in</code>, FlightGear will listen to ''only'' this IP address. | |||
; port | |||
: Port that data is either being sent or received through. Usually set to <code>5000</code> and above. | |||
< | |||
</ | |||
{{tip|For a local setup between two fgfs instances without any [[Fgms|fgms/multiplayer server]] being involved, you merely need to map each I/O port to the corresponding port of the other instance: | {{tip|For a local setup between two fgfs instances without any [[Fgms|fgms/multiplayer server]] being involved, you merely need to map each I/O port to the corresponding port of the other instance: | ||
Line 73: | Line 69: | ||
}} | }} | ||
{{Note|FGRun expects you to enter a valid IP address or hostname for the local network interface.}} | |||
Check [http://fgfs.i-net.hu/modules/fgtracker/ this page] to see whether your callsign is already in use or not. Do not pick a callsign that is already used, as that will create problems! | Check [http://fgfs.i-net.hu/modules/fgtracker/ this page] to see whether your callsign is already in use or not. Do not pick a callsign that is already used, as that will create problems! |