Hi Neil

Neil Smith wrote:
> To start with, I'd like to express my appretiation to Dene and Vivian for 
> taking time to help me work through this problem.  Right now I'm starting to 
> wonder what it is that scenarios with flight plans work other places, but 
> not when they're placed where I am.  Latest results inserted in following...
>   
No prob as far as I'm concerned.... just so frustrating that a relative 
newbie (me) can get one to run, but not you
>   
>> From: Dene >
>> 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
>>     
>
> Tried that Dene, with no luck.  At this time I have Nimitz_demo and 
> ship_demo cruising the waters off Washington's Olympic Peninsula at the same 
> time, so that works.  I tried to move aircraft_demo from San Franscico toPort 
> Angeles, but received the error message.
>
>   
ok ... what does "no luck" mean? error messages?

does the Picton ferry scenario work? (in Wellington Picton run?)
suggestion ... comment out all other scenarios with <!-- ......--> to 
isolate error ...if you can get more than one scenario at a time working 
then that's a variation to my FG (098a) and should be eliminated if i'm 
to be much help...

>>     
>>> ------------------------------------------------------------------
>>> 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>
>>     
use lat, lon ktas ...  they work for me
>> ..........
>>
>>
>>     
>>> 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
>>     
Don't use ship ...use aircraft.... ship has some acknowledged problems
>>
>
> Thanks Dene.  I downloaded them (I already have NZ scenery files - tried to 
> find the barrage balloon over Wellington, but no luck).  I hacked your 
> flightplan - the only changes I made were to replace your variables with 
> mine.  As before I received this:
>      "Error reading AI flight plan: C:/Program 
> Files/FlightGear910/data/AI/FlightPlans
>      /PA_Victoria
>      Reading xml electrical system model from C:/Program 
> Files/FlightGear910/data/Air
>      craft/Generic/generic-electrical.xml
>      Unknown exception in the main loop. Aborting...
>      Possible cause: Domain error"
>   

what variables?
if you mean the waypoints see my comments above....I can't understand 
why it's trying to load generic-electrical.xml either

>>> 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
>>>
>>>       
As above this is what I found too
>>> Thanks Vivian :( - I had tried to substitute the ship for the airplane
>>> model
>>> in aircraft_demo, with my coordinates, without success.  Then just
>>> substituted my coordinates in aircraft_demo, and still received the error
>>> message.  So, I've been unable to even make it a slow, low flying
>>> aricraft.
>>> Oh well...
>>> Cheers, Neil
>>>       
use the ferry model by all means ...hell ... use the Eiffel Tower model 
if it'll make it easier to see...just don't use <type>ship</type> in 
your scenario!!
>>>> Neil,
>>
>> Neil
>> I've posted the ferry scenario zip file I use;
>> http://denemaxwell.dnsdojo.net/users/downloads/Miscellaneous/
>> Feel free to hack this or even download the New Zealand scenery and see
>> it work ;-)
>>
>> This works on 098a/Win98se.
>>
>>     
ooops that was supposed to be 98Me ..but that PC suffered HD crash and 
am having to rebuild.... bugger!!!

Overall Neil start simple...
my first step was to shift the Nimitz into wellington harbour and give 
it different starting points, then I played with getting a tanker to 
circle around NZWN....

check the syntax....IIRC the AI scenario and the flight plan use 
different syntax's for lat, long and speed....DO NOT MIX THEM...

summary;
DO NOT use <type>ship</type> in your scenario
DO check the syntax of the lat/long/KTAS parameters in your FP

Cheers
Dene
NZWN

-------------------------------------------------------------------------
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

Reply via email to