SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH5 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 12-21-10, 06:42 AM   #1
Jaeger
Chief
 
Join Date: Jul 2005
Posts: 316
Downloads: 28
Uploads: 0
Default

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.
Jaeger is offline   Reply With Quote
Old 12-21-10, 09:12 AM   #2
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Vanilla View Post
Man you're quick! I think you code faster than I type! I wonder if you ever sleep at all. 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;
I wan't sure so I took the integer value of the division calculation. Now I first round it before taking the integer value of that calculation

Quote:
Originally Posted by Antar View Post
Is it impossible to change 18'42" to 18°42' ?
mark ° = ALT + 248 (NumLock on)
Done

Quote:
Originally Posted by Jaeger View Post
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.

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)

btw, the nav fix by sextant is too slow (which navigator needs 30 minutes??? i think 8 to 10 should be enough...)

edit: 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...
I took your time consideration into account and changed the code. Now it looks at the time difference from when last fix was taken and the current time. It calculates a % error based on: 24.0 / time difference in hours. So if the time difference was >= 24 hours the full error will be incurred (whatever the random value of error was). If time difference < 24 hours then the % error factor is applied to the error amount thus only adding a % of the total error to the current fix (this applies to dead-reckoning fixes only). Note: if the % error factor calculated is 0 then a very small error factor will be applied of 0.025 to account for charting errors and drawing errors by the Navigator.

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
TheDarkWraith is offline   Reply With Quote
Old 12-21-10, 10:46 AM   #3
PL_Andrev
Grey Wolf
 
Join Date: Feb 2009
Posts: 995
Downloads: 91
Uploads: 0
Default

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

PL_Andrev is offline   Reply With Quote
Reply

Tags
dbrn, favorite, new ui

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 12:29 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Copyright © 1995- 2026 Subsim®
"Subsim" is a registered trademark, all rights reserved.