Hi Neil
Didn't see your original post 'til after i'd commented on a later one...
hope the comments and xml snippets below help
> 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>
> -----------------------------------------------------------------
Only the top scenario works ie shift ferryboat1_demo to the top of the
scenario list
> 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>
<PropertyList>
<scenario>
<entry>
<type>aircraft</type>
<model>Models/NZWorking/FerryBoat1.xml</model>
<flightplan>Arahunga-Picton-Wellington.xml</flightplan>
</entry>
<entry>
<type>aircraft</type>
<model>Models/NZWorking/FerryBoat1.xml</model>
<flightplan>Arahunga-Wellington-Picton.xml</flightplan>
</entry>
...
etc
> ------------------------------------------------------------------
> FerryBoat1.xml reads:
> <PropertyList>
>
> <path>FerryBoat1.ac</path>
>
> </PropertyList>
I think thats about what mine says too
>
> ------------------------------------------------------------------
> 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>
>
try something like....
<PropertyList>
<flightplan>
<wpt>
<name>Picton</name>
<lat>-41.2934805555556</lat>
<lon>174.006775</lon>
<alt>0.0</alt>
<ktas>15</ktas>
<on-ground>true</on-ground>
</wpt>
..........
> 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>
<type>ship</type> has some problems
> --------------------------------------------------------------------
> 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?
I'll zip them up and stick them on my download page when I get a minute
today...they'll only look any good if you download the scenery...but
we're a small country so that wonn't take long ;)
>
> Cheers, Neil
>
>
>
Cheers
Dene
http://denemaxwell.dnsdojo.net
-------------------------------------------------------------------------
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