On Mon, 21 Sep 2009, cullam Bruce-Lockhart wrote:

> Simple question: what commands to I use to have two computers on my 
> local network flying in multiplayer? Everything I've found on-line has 
> been to log into a server, using something along the lines of 
> --multiplay=in,20,192.168.1.101,5500 , and then a similar command for 
> output. But I just want to be able to fly my two machines locally. I've 
> gotten them to work together before with a slave and a master, using one 
> to drive both flight dynamic models. But now I want to fly them 
> independently, but being able to see each other (this is for UAV 
> research, as opposed to leisure flight). Anyone know what command line 
> arguments I need to use on the two machines? Thanks!

You just need to set the proper option in the multiplay commands.
Here is what you need to run two FlightGear instances on your LAN:

Instance 1 on box A:
fgfs --multiplay=out,10,hostB,5501 --multiplay=in,10,,5501

Instance 2 on box B:
fgfs --multiplay=out,10,hostA,5501 --multiplay=in,10,,5501

You could also send to your LAN segment's broadcast address, that way you 
can have more than two interconnected instances. No need for fgms in this 
setting.

Cheers,

Anders
-- 
---------------------------------------------------------------------------
Anders Gidenstam
WWW: http://www.gidenstam.org/FlightGear/

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Flightgear-users mailing list
Flightgear-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-users

Reply via email to