Neil,
IIRC AIShips don't recognize flightplans. They probably should, but it's not
been implemented yet. You will have to make your ferry a slow, low flying
aircraft. That is, unless someone knows a better way to do it.
Vivian
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Neil
Smith
Sent: 02 February 2007 01:11
To: [email protected]
Subject: [Flightgear-users] Ship Flightplan
Hello Group
I've been trying for the past week to put a ferry boat route from Port
Angeles, WA to Victoria, BC scenario in FlightGear, with zero results. What
has been done:
----------------------------------------------------------------
Changed Preferences.xml to read:
<ai>
<enabled type="bool">true</enabled>
<scenario>nimitz_demo</scenario>
<scenario>aircraft_demo</scenario>
<scenario>ship_demo</scenario>
<scenario>ferryboat1_demo</scenario>
</ai>
------------------------------------------------------------------
ferryboat1_demo.xml reads:
<PropertyList>
<scenario>
<entry>
<type>ship</type>
<model>Models/fgfsdb/Models/fgfsdb/FerryBoat1.xml</model>
<flightplan>PA_Victoria.xml</flightplan>
</entry>
</scenario>
</PropertyList>
------------------------------------------------------------------
FerryBoat1.xml reads:
<PropertyList>
<path>FerryBoat1.ac</path>
</PropertyList>
------------------------------------------------------------------
PA_Victoria.xml reads:
<PropertyList>
<flightplan>
<wpt>
<name>PA</name>
<latitude>48.1225</latitude>
<longitude>-123.44398</longitude>
<alt>0.0</alt>
<speed>10</speed>
</wpt>
<wpt>
<name>edizhook</name>
<latitude>48.1337</latitude>
<longitude>-123.3991</longitude>
<alt>0.0</alt>
<speed>18</speed>
</wpt>
<wpt>
<name>victoria</name>
<latitude>48.405913</latitude>
<longitude>-123.397767</longitude>
<alt>0.0</alt>
<speed>18</speed>
</wpt>
<wpt>
<name>edizhook</name>
<latitude>48.1367</latitude>
<longitude>-123.3981</longitude>
<alt>0.0</alt>
<speed>10</speed>
</wpt>
<wpt>
<name>END</name>
<latitude>48.1225</latitude>
<longitude>-123.44398</longitude>
<alt>0.0</alt>
<speed>0</speed>
</wpt>
</flightplan>
</PropertyList>
------------------------------------------------------------------
The following scenario is the only one that works, but does not include the
flightplan to allow for the turn that is needed.
<PropertyList>
<scenario>
<entry>
<type>ship</type>
<model>Models/fgfsdb/Models/fgfsdb/FerryBoat1.xml</model>
<latitude>48.1225</latitude>
<longitude>-123.44398</longitude>
<speed>6.0</speed>
<heading>70.0</heading>
</entry>
</scenario>
</PropertyList>
--------------------------------------------------------------------
Any other scenario variations that include "flightplan", don't move the
model, or the model doesn't even appear.
I tried to substitute my latitudes and longitudes in existing scenarios and
flightplans, and get error message "unknown exception in the main loop.
Aborting...".
There's obviously something I don't understand about flightplans. I was
begining to think a flightplan for a ship couldn't be done - then while
going through the maillist archives found where Dene had placed ferryboats
on routes.
Where am I going wrong?
Cheers, Neil
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Flightgear-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-users