![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
![]() |
#46 | |
Black Magic
![]() |
![]() Quote:
Thinking ahead I'm going to make another change to the Navigate_from_file command. I'm going to include a TITLE header in the files. This will let you define the name of the navigation script and the description will be just that - a description of what it does. This is for looking into the future of what I can do with this. Thus patch 3 will be releasing here soon. EDIT: I'm going to try something and send it to you for testing to see if it works or not. It deals with precision navigation or not....give me a little while to code it... Last edited by TheDarkWraith; 09-24-10 at 01:25 PM. |
|
![]() |
![]() |
![]() |
#47 |
Navy Seal
![]() |
![]()
Sure TDW will do
|
![]() |
![]() |
![]() |
#48 |
Black Magic
![]() |
![]()
ok was able to code in a non-precision navigation. No matter whether you're using non-precision or precision navigation at just a little over the half way point to the next waypoint a course change command will be issued to ensure the sub is on course to the next waypoint. If using non-precision navigation that's the only course change you'll see until the next waypoint. If using precision navigation then if the course error between sub's course and waypoint is > 2 degrees then a course change will be issued. If using non-precision navigation then at 100m before the waypoint the next course change command will be issued. If using precision navigation then at 50m before the next waypoint the next couse change command will be given.
You define precision or non-precision navigation in the waypoints (parameter 7) and the message for that waypoint has moved to parameter 8 Patch 3 will be available here very soon.... |
![]() |
![]() |
![]() |
#49 |
Navy Seal
![]() |
![]()
Thats perfect. Exactly what was needed
![]() Last edited by Trevally.; 09-24-10 at 03:11 PM. Reason: bad spelling |
![]() |
![]() |
![]() |
#50 |
Black Magic
![]() |
![]()
patch 3 released. See my UIs thread to download.
I'm very curious to see how the non-precision navigation works in rough seas and/or long distances ![]() |
![]() |
![]() |
![]() |
#51 |
Navy Seal
![]() |
![]()
Just finished the first test on non-precision.
It was bremen harbour. Tested before patch 3 and work well. Tested after adding non-procesion and noticed the following:- Heading over short distance worked well. Reduce heading checks worked well. Response to next heading caused boat to overshoot. (basically the boat had to perform a u turn. The boat ended in the correct direction, but the u was wider than it should have been.) All that showed me is that I should have used precision for the narrow areas of the harbour. (I should have done this anyway) I did end the u turn at the correct heading. I need to do more tests using precision and non-precision in the right conditions. |
![]() |
![]() |
![]() |
#52 |
Navy Seal
![]() |
![]()
Tested again with precision and Bremen worked.
Tested Brest with non precision, worked. Tested Bergen with non precision, worked until long leg (over 25km). Boat missed waypoint. I need to add extra waypoints midway or use precision for long ones. All other tests failed to start:- Kiel_Canal La_Pallace La_Spezia St_Nazaire Not sure why these failed (all have _) any suggestions? I will check for errors in nav file. |
![]() |
![]() |
![]() |
#53 | |
Black Magic
![]() |
![]() Quote:
|
|
![]() |
![]() |
![]() |
#54 |
Black Magic
![]() |
![]()
what did you see in the messagebox when you tried to 'play' these? Did you see the title + stopped? If so, there's problems with your nav file.
|
![]() |
![]() |
![]() |
#55 |
Navy Seal
![]() |
![]()
Yes I got messae started then a few seconds later stopped.
This is the nav file for kiel:- [TITLE] Keil Harbour & Canal Pilot Outbound [TITLE_END] [DESCRIPTION] Keil Pilot will take you out of the harbour and through the canal You may adjust speed and TC [DESCRIPTION_END] [PRECONDITION] 0,0,0 [PRECONDITION_END] 1217296,6519393,-1,1,0,13,1,None 1217492,6522331,-1,9999,9999,9999,1,Beware shipping 1215642,6525437,-1,9999,9999,9999,1,None 1214560,6525407,-1,9999,9999,9999,1,None 1210739,6524863,-1,9999,9999,9999,1,None 1207299,6522652,-1,9999,9999,9999,1,None 1203949,6521318,-1,9999,9999,9999,-1,None 1202073,6518866,-1,9999,9999,9999,1,None 1199720,6518008,-1,9999,9999,9999,-1,None 1196367,6518266,-1,9999,9999,9999,-1,None 1191664,6520565,-1,9999,9999,9999,1,None 1189264,6522032,-1,9999,9999,9999,-1,None 1183621,6521750,-1,9999,9999,9999,1,None 1180503,6519766,-1,9999,9999,9999,-1,Click postpone as you pass harbour 1176697,6515888,-1,9999,9999,9999,1,None 1175849,6512433,-1,9999,9999,9999,-1,None 1174579,6510787,-1,9999,9999,9999,1,None 1171741,6509756,-1,9999,9999,9999,-1,None 1168756,6505472,-1,9999,9999,9999,1,None 1163923,6503171,-1,9999,9999,9999,-1,None 1160271,6502760,-1,9999,9999,9999,-1,None 1151378,6500289,-1,9999,9999,9999,1,None 1147814,6499882,-1,9999,9999,9999,-1,None 1143029,6499952,-1,9999,9999,9999,1,None 1140377,6498626,-1,9999,9999,9999,-1,None 1135524,6495105,-1,9999,9999,9999,-1,None 1133211,6493867,-1,9999,9999,9999,1,None 1125810,6485977,-1,9999,9999,9999,-1,Beware shipping 1116119,6480658,-1,9999,9999,9999,1,None 1110153,6475466,-1,9999,9999,9999,-1,Beware shipping 1101946,6470002,-1,9999,9999,9999,-1,Click postpone as you pass harbour 1093454,6465764,-1,9999,9999,9999,1,Beware shipping 1092064,6464208,-1,9999,9999,9999,-1,None 1063491,6466791,-1,9999,9999,9999,1,Beware shipping Spot anything? |
![]() |
![]() |
![]() |
#56 |
Navy Seal
![]() |
![]()
and this is the automation file:-
[AS] Kiel Harbour & Canal Outbound [CATEGORY] Harbour Pilot [COMMANDS] Print_message,0,0,Harbour Pilot onboard,0,0,0,5 Navigate_from_file,0,0,KielCanalOutbound,0,0,0,10 Print_message,0,0,Harbour Pilot is off your boat,0,0,0,5 Print_message,0,0,Good Hunting,0,0,0,5 [COMMANDS_END] [DESCRIPTION] Start pilot in bunker Feel free to adjust speed and TC after you start script [DESCRIPTION_END] |
![]() |
![]() |
![]() |
#57 | |
Navy Seal
![]() |
![]() Quote:
|
|
![]() |
![]() |
![]() |
#58 | |
Black Magic
![]() |
![]() Quote:
Have buddy coming over tonight. Will look into this and adding the additional distance checks tomorrow. Last edited by TheDarkWraith; 09-24-10 at 06:47 PM. |
|
![]() |
![]() |
![]() |
#59 | |
Navy Seal
![]() |
![]()
It stopped right after it started.
Print message worked then it stopped. I just redid it with copy and paste to new shn file and it worked. I made it 90% through before I lost a long waypiont leg. ![]() I will try the same with the others Quote:
|
|
![]() |
![]() |
![]() |
#60 |
The Old Man
![]() Join Date: Dec 2007
Location: Stink Drunk in Trinidad
Posts: 1,572
Downloads: 138
Uploads: 0
|
![]()
Get this mod working I'm tired eyeballing that harbour wall...
![]()
__________________
"Silence means death. Stand on your feet. Inner fear your worst enemy."- Sepultura. ![]() My Silent Hunter 5 mantra is this......"Torpedo missed, sir!" ![]() A P-400 is a P-40 with a Zero after it. ![]() A proud member of the Wikipedia Haters Club |
![]() |
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|