![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
12-20-10, 04:03 PM
|
#5536 |
|
XO
![]() Join Date: Jan 2010
Location: Penzance
Posts: 401
Downloads: 272
Uploads: 0
|
Using the sextant tool is more complicated than it seems at first. for a start, the original image is scaled wrong for the current camera angular value (field of view) so it needs to be updated with a new one. I have sent TDW a PM about this. the actual angular distance from top to bottom of the screen is 65.84 degrees or as close as dammit. the angular distance from side to size depends on your screen ratio. (But no matter what, for whatever ratio, the screen display from left right or top bottom the angular size of your display will never = 75 degrees as is set in cameras.cam)
The tricky bit is this - angular degrees on a flat screen are not the same size. They are smaller toward the centre of the display and larger towards the edges. The sextant image is designed with this in mind if you look carefully the marks at the top and bottom are spaced further apart than they are in the centre. This is great but it means 1 thing - You must NOT move the sextant image. If you move it up or down from its pop up position the curving scale will give an error which increases the further it moves from its origin. This also applies to left or right, If you pan your view around slowly you will notice the sky objects do not float by at a perfect altitude. So, leave the sextant where it is. the advatage of this is that you don't have to touch the horizon with the bottom of the sextant (already touching the bottom of your screen), you can move the view till the horizon is at 10 degrees say, then just take 10 degrees off the final measurement. Objects must also be measured as close to the centre line of the sextant also, to minimise any errors due to what was mentioned previously. ATM though you'll have to add a few degrees to that measurement as the scale is wrong, 0-60 degrees spread over 65.84 degrees. Just remember, move the view not the sextant. |
|
|
12-20-10, 04:50 PM
|
#5537 |
|
Chief
![]() Join Date: Jul 2005
Posts: 316
Downloads: 28
Uploads: 0
|
hi tdw,
i am not using the sextant atm. i asked the naigator to check my position. he does it, but doesnt report last result. he only reports the first position fix made when game starts. he should report last calculated fix on map, not the first one. f. ex. i start a mission and plan my course (painting a line with my direction on map and painting an "x" on the point where i want to be in x hours with current speed). after x hours, i take another position fix and want to see it on the map, but the navigator gives me the first fix taken when mission starts... i need the last fix to see where i am. atm, i have to search this position on map, which is very hard to find...
__________________
Everything comes to him who waits |
|
|
12-20-10, 05:41 PM
|
#5538 | |
|
Black Magic
![]() |
Quote:
Can you send me the ship's journal of this?
|
|
|
|
12-20-10, 06:34 PM
|
#5539 | |||
|
Lieutenant
![]() Join Date: Nov 2006
Location: St. Petersburg, Russia
Posts: 264
Downloads: 73
Uploads: 0
|
Quote:
0. Bernard-the-navigator does his woodoo dance with sextant and dead-reckoning stuff at 12:00PM (and some other times during the day and night) 1. Although reluctantly we accept this coords from him: 53°31′0″N 28°8′0″E 2. From those we need only 28° and E. 3. 28 / 15 = 1.87, round it (round half away from zero: -1.5 = -2; 1.5 = 2), you get 2. 4. Since we are to E - then we add (subtract if W) - so it is +2 5. Your local time is GMT+2. 6. If different from previous zone - note new nautical time zone in the journal (GMT+2) Noting zone letter ("B") as well would be a nice touch of realism. 7. Every midnight note current zone in the journal again. Two more examples 28°27′20″N 80°31′40″W -> round(80/15) = 5 -> 5 * (E) ? 1 : -1 -> is GMT-5 35°42′2″N 139°42′54″E is GMT+9 Quote:
The only thing I would like to add is error accumulation. If you continue dead reckoning from a fix with an error it should give greater error next time. So it should work this way: If it is a proper fix - then just standart error calculation (dependent on the navigator's skill, condition, morale, weather, waves etc.). If it is a dead-reckoning fix - you take the error of the previous fix (say - 500m error from usual fix) and add dead reckoning error to it (2km + 0.5km = 2.5km error). So the longer you continue with dead reckoning - the greater the error will be (2.5km + 2km = 4.5km error next time). Quote:
Last edited by Vanilla; 12-20-10 at 06:46 PM. |
|||
|
|
12-20-10, 08:04 PM
|
#5540 |
|
Black Magic
![]() |
ok, wow, some heavy changes and coding
![]() I've implemented the nautical time zones for real navigation. As I'm one for realism I've taken Vanilla's advice/comments and applied them. Here is our new updated digital clock: Notice that is says 'Naut'. This means we are displaying time in nautical time zones. If you click the time anywhere in the black part of it it will toggle to display GMT time. Notice that I updated the tooltip for this also. And now for the real big changes: At game start the current nautical time zone will be displayed in the messagebox. Anytime the day changes (midnight) or you cross another nautical time zone (15 degrees longitude) another entry in the messagebox (and thus ship's journal) will be recorded denoting the current nautical timezone. Navigator will now calculate current position using dead-reckoning if weather is a factor or you are submerged. There is error thrown into his dead-reckoning calculation every time he calculates it. This error can be anywhere from +- 500m in longitude and lattitude (a random function picks a value between -500 and 500 for each). He also takes time to calculate the dead-reckoning position. The time can take anywhere from 30 seconds to 2 minutes. Regardless of user option settings the Navigator will always tell you the current calculated position in the messagebox. If the user option NavShowPositionOnMapsAfterCalc is enabled (True) then he will also plot a new navigation fix on the navigation map. If that user option is not enabled then it's up to you to plot the position. There is one caveat to this: the Navigator knows where your last calculated position is whether it's dead-reckoning or plotted so if you ask him to show last position he will show you at any time. As you can see from the screenshot above I was submerged and moving due North. I asked the Navigator for our current position and he plotted it via a new navigation fix (N2). Notice too that error was incurred and the new navigation fix was not exactly due North of N1. I'll be releasing a test version of v5.9.0 here soon so those of you using real navigation can test this out and give me some feedback on it
Last edited by TheDarkWraith; 12-20-10 at 09:41 PM. |
|
|
12-20-10, 08:27 PM
|
#5541 |
|
Black Magic
![]() |
Test version of v5.9.0 available at post #1. Feedback greatly appreciated
|
|
|
12-20-10, 10:35 PM
|
#5542 |
|
Watch
![]() Join Date: Dec 2010
Posts: 21
Downloads: 14
Uploads: 0
|
Newbie question! I've heard that the stadimeter in the unmodded SH5 doesn't give the correct range/you have to measure from different points. Is the stadimeter completely fixed in this mod?
And on that note, how exactly do I use the stadimeter? I know I'm supposed to put the bottom of the reflected image on the top of the real image, but what's considered the "bottom" and what's considered the "top"?
|
|
|
12-21-10, 02:58 AM
|
#5543 |
|
Watch
![]() Join Date: Nov 2010
Posts: 28
Downloads: 13
Uploads: 0
|
hello tdw
i send you the menu.txt french v5.8.0, may be too last to prepare your v5.9.0 Last edited by pfeillant; 12-21-10 at 04:41 AM. |
|
|
12-21-10, 04:46 AM
|
#5544 | |
|
Lieutenant
![]() Join Date: Nov 2006
Location: St. Petersburg, Russia
Posts: 264
Downloads: 73
Uploads: 0
|
Quote:
Incredible and thank you!I've noticed an error in naut time calculation though. On the screenshot coords are 72deg W - that is -5 GMT, not -4 GMT: 72/15 = 4.8; round(4.8) = 5. Probably the script just cuts the fractional part so it rounds down the number (int() function?). It should however round the number 'half away from zero' (0.5-0.9 rounded to 1, 0.1-0.4 rounded to 0 - that is round() function in python as I remember). It is my fault, shame on me. I am so sorry for not making it clear enough! ![]() Here is the formula again just to check: tz_raw = 'number of degrees of long' / 15; tz = round(tz_raw); if (long is Western) then tz = (-1) * tz; |
|
|
|
12-21-10, 05:22 AM
|
#5545 |
|
Grey Wolf
![]() Join Date: Feb 2009
Posts: 995
Downloads: 91
Uploads: 0
|
Is it impossible to change 18'42" to 18°42' ?
mark ° = ALT + 248 (NumLock on)
__________________
![]() |
|
|
12-21-10, 06:42 AM
|
#5546 |
|
Chief
![]() Join Date: Jul 2005
Posts: 316
Downloads: 28
Uploads: 0
|
Hi TDW,
my first observation with 5.9.0 (nothing else activated in jsgme): the error when using dead reckoning seems to be far too high. it should depend on the time passed since last fix. if the navigator knows f.ex. that you didnt change course and speed the last two hours and you are running 90 degree, he must be able to determine the actual position very accurate. if the last fix was 24 hours before, a big error should occur because of wind etc. the previous problem reported by me is gone (nav officer didnt report last fix correctly) new problem: some ctd when adding supermarks and second: when opening the gibraltar historical mission, my boat is turning strangly (unplayable situation, boat turns headover) in historical missions where waypoints are set in, your (gps) position is known. you cant delete the waypoints because of the missing waypoint tool... so real nav is not really there... TDW, it gets better and better, very nice work. real navigation brings a whole new feature to the game and brings much realism. my next step will be: making the nav fix myself. btw, the nav fix by sextant is too slow (which navigator needs 30 minutes??? i think 8 to 10 should be enough...) edit: found the time button in the option file, my nav officer can do in 8 minutes now! edit2: another important point: would it be possible to save the drawings on map when game is saved? with real navigation on, it would be a nice feature if i had my course drawings after loading a game...
__________________
Everything comes to him who waits Last edited by Jaeger; 12-21-10 at 09:04 AM. |
|
|
12-21-10, 08:36 AM
|
#5547 |
|
Watch
![]() Join Date: Nov 2010
Posts: 28
Downloads: 13
Uploads: 0
|
hello,
today i made an historical shooting . I sank 27 boats with 6 torpedos. here the journal in the editor, i can't made a screen shooting. http://www.cijoint.fr/cjlink.php?fil...cijqLV9V9U.png In fact, i made a salve (1-4) shoot on a aircraft carrier, and i miss him. Then i sink it with two single torpedos. and in the journal i have 27 boats sink !!! a circle bug |
|
|
12-21-10, 09:12 AM
|
#5548 | |||
|
Black Magic
![]() |
Quote:
Quote:
Quote:
The CTDs I'm very interested in. When do they happen? What errors (if any) are displayed (app crash?)? Can you elaborate more on the Gibraltar mission? Navigator calcuting fix by sextant time can be adjusted in user options file. You're looking for these options: # the base time it takes the Navigator to calculate the current position (fix) # below is in seconds NavCalcFixBaseTime = 2700.0 # the modifier for the min time the navigator can calculate fix. This will be the min value of a random function # below is an Uint32 value only! (i.e. 75 will equal 0.75 in game) NavCalcFixBaseTimeMinModifier = 75 # the modifier for the max time the navigator can calculate fix. This will be the max value of a random function # below is an UInt32 value only! (i.e. 125 will equal 1.25 in game) NavCalcFixBaseTimeMaxModifier = 125 As far as saving the navigation fixes and supermarks at game end, yes it's possible. I can serialize that into the journal file. But before I do that I want to get everything else working 100% first ![]() New test version of v5.9.0 released. See post #1 for details
|
|||
|
|
12-21-10, 10:46 AM
|
#5549 |
|
Grey Wolf
![]() Join Date: Feb 2009
Posts: 995
Downloads: 91
Uploads: 0
|
Is possible to do something with "send contact" and "send messages" buttons?
I think about cooperation with BdU, but I don't know that is possible.
__________________
![]() |
|
|
12-21-10, 10:46 AM
|
#5550 |
|
Seaman
![]() Join Date: Apr 2007
Posts: 31
Downloads: 98
Uploads: 0
|
Until this week I had not played SH5 since the summer.
I have been keeping an eye on this mod and reading all the stuff about 'Real Navigation' meant I could not resist giving it a go. The whole mod is an amzing piece of work. My only request would be: Even if it was just the Nav Marks, can GMT time be included as well. e.g 14/10/1941 10:45 (08:45 GMT). Thanks for all you effort. Can't wait for your mega mod (I do wonder how much stuff I have activated that conflicts or is surplus to requirments) |
|
|
![]() |
| Tags |
| dbrn, favorite, new ui |
|
|
